public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ben de Groot <yngwin@gentoo.org>
To: Mike Gilbert <floppym@gentoo.org>
Cc: "Michał Górny" <mgorny@gentoo.org>, gentoo-python@lists.gentoo.org
Subject: Re: [gentoo-python] [python-r1] Getter functions or 'export' function?
Date: Sat, 27 Oct 2012 09:58:51 +0800	[thread overview]
Message-ID: <CAB9SyzRyaMABBNpYOHxmWMge29=NncXTNWZVW=-0HzV_0WjgDQ@mail.gmail.com> (raw)
In-Reply-To: <CAJ0EP400Fbx7AGjSLXLgOgi7TZq8XAD31yXTE6RvAZc6U2u=pQ@mail.gmail.com>

On 23 October 2012 02:10, Mike Gilbert <floppym@gentoo.org> wrote:
> On Sun, Oct 21, 2012 at 5:16 AM, Michał Górny <mgorny@gentoo.org> wrote:
>> What are your thoughts?
>>
>
> I think creating sub-shells in sections which are not processed in
> global scope is really not a big deal.
>
> I think the getter functions are more intuitive. However, I also like
> the idea of setting variables at the same time, similar to the way
> this is handled in _tc-getPROG. The result is stored in a variable and
> also echoed, leaving it up to the end user to decide how he wants to
> process it.
>
> So, I vote for getters that emulate the toolchain-funcs behavior.
>

+1

-- 
Cheers,

Ben | yngwin
Gentoo developer
Gentoo Qt project lead, Gentoo Wiki admin


  reply	other threads:[~2012-10-27  1:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-21  9:16 [gentoo-python] [python-r1] Getter functions or 'export' function? Michał Górny
2012-10-22 18:10 ` Mike Gilbert
2012-10-27  1:58   ` Ben de Groot [this message]
2012-10-27  2:10   ` Jesus Rivero (Neurogeek)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAB9SyzRyaMABBNpYOHxmWMge29=NncXTNWZVW=-0HzV_0WjgDQ@mail.gmail.com' \
    --to=yngwin@gentoo.org \
    --cc=floppym@gentoo.org \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=mgorny@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox