I'm trying to understand how CPython implements closure variable capture
and there is one minor point I can't understand.
When a local is captured it gets allocated in co_cellvars and is accessed
with (LOAD|STORE)_DEREF, and this is clear.
However when a local is coming from a parameter it gets AL
2013/7/2 Andrea Griffini
> I'm trying to understand how CPython implements closure variable capture
> and there is one minor point I can't understand.
>
> When a local is captured it gets allocated in co_cellvars and is accessed
> with (LOAD|STORE)_DEREF, and this is clear.
> However when a local
Hi,
Below is a very preliminary draft PEP for adding a special method that can be
used to hook into the attribute resolution process of the super object.
The primary usecase for using this special method are classes that perform
custom logic in their __getattribute__ method, where the default b
I'm not sure how my change broke the buildbots, but apparently it did. I
need to run to a meeting now, but I can roll this back in the next few
hours.
If someone else wants to roll it back before I get to it, feel free.
Sorry about the problem. I tested it locally, I'm not sure how the
buildbots
On Tue, 02 Jul 2013 09:52:56 -0400, "Eric V. Smith" wrote:
> I'm not sure how my change broke the buildbots, but apparently it did. I
> need to run to a meeting now, but I can roll this back in the next few
> hours.
>
> If someone else wants to roll it back before I get to it, feel free.
>
> Sor
On 07/02/2013 10:33 AM, R. David Murray wrote:
> On Tue, 02 Jul 2013 09:52:56 -0400, "Eric V. Smith"
> wrote:
>> I'm not sure how my change broke the buildbots, but apparently it did. I
>> need to run to a meeting now, but I can roll this back in the next few
>> hours.
>>
>> If someone else wants
Hello everyone,
I'd like to bring your attention to this issue, since it touches the
fundamentals of python's import workflow:
http://bugs.python.org/issue17716
/I've tried to post it on the python-import ML for weeks, but it must
still be blocked somewhere in a moderation queue, so here I co
On Tue, 02 Jul 2013 20:31:48 +0200, Pascal Chambon wrote:
> I agree that a module loading should be, as much as possible, "side
> effects free", and thus shouldn't have temporary errors. But well, in
> practice, module loading is typically the time where process-wide
> initialization are done (
On 3 Jul 2013 05:44, "R. David Murray" wrote:
>
> On Tue, 02 Jul 2013 20:31:48 +0200, Pascal Chambon
wrote:
> > I agree that a module loading should be, as much as possible, "side
> > effects free", and thus shouldn't have temporary errors. But well, in
> > practice, module loading is typically t
On 3 Jul 2013 04:34, "Pascal Chambon" wrote:
>
> Hello everyone,
>
> I'd like to bring your attention to this issue, since it touches the
fundamentals of python's import workflow:
> http://bugs.python.org/issue17716
>
> I've tried to post it on the python-import ML for weeks, but it must
still be
No time to read the PEP in detail but the motivation sound reasonable.
--Guido van Rossum (sent from Android phone)
On Jul 2, 2013 4:53 AM, "Ronald Oussoren" wrote:
> Hi,
>
> Below is a very preliminary draft PEP for adding a special method that can
> be used to hook into the attribute resolutio
"Eric V. Smith" writes:
>> http://buildbot.python.org/all/builders/x86%20Tiger%202.7/builds/2030
>> http://buildbot.python.org/all/builders/x86%20Tiger%203.3/builds/742
>> http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/6522
>> http://buildbot.python.org/all/builders/bolen-dmg-3.
12 matches
Mail list logo