Re: [Python-Dev] [Python-checkins] cpython: Add reference implementation for PEP 443

2013-06-07 Thread PJ Eby
On Fri, Jun 7, 2013 at 5:16 PM, Łukasz Langa wrote: > On 7 cze 2013, at 22:50, PJ Eby wrote: > >> On Fri, Jun 7, 2013 at 10:27 AM, Thomas Wouters wrote: >>> This isn't a new bug, but it's exposed by always importing weakref and >>> atexit during interpreter startup. I'm wondering if that's reall

Re: [Python-Dev] [Python-checkins] cpython: Add reference implementation for PEP 443

2013-06-07 Thread Łukasz Langa
On 7 cze 2013, at 22:50, PJ Eby wrote: > On Fri, Jun 7, 2013 at 10:27 AM, Thomas Wouters wrote: >> This isn't a new bug, but it's exposed by always importing weakref and >> atexit during interpreter startup. I'm wondering if that's really necessary >> :) > > In short, the overall answer right n

Re: [Python-Dev] [Python-checkins] cpython: Add reference implementation for PEP 443

2013-06-07 Thread PJ Eby
On Fri, Jun 7, 2013 at 10:27 AM, Thomas Wouters wrote: > This isn't a new bug, but it's exposed by always importing weakref and > atexit during interpreter startup. I'm wondering if that's really necessary > :) Importing it during startup isn't necessary per se; imports needed only by the generic

Re: [Python-Dev] [Python-checkins] cpython: Add reference implementation for PEP 443

2013-06-07 Thread Łukasz Langa
On 7 cze 2013, at 16:27, Thomas Wouters wrote: > > On Wed, Jun 5, 2013 at 3:20 AM, lukasz.langa > wrote: > +from weakref import WeakKeyDictionary > > This isn't a new bug, but it's exposed by always importing weakref and atexit > during interpreter startup. I'm wondering if that's really ne

Re: [Python-Dev] [Python-checkins] cpython: Add reference implementation for PEP 443

2013-06-07 Thread Brett Cannon
On Fri, Jun 7, 2013 at 10:27 AM, Thomas Wouters wrote: > > On Wed, Jun 5, 2013 at 3:20 AM, lukasz.langa > wrote: > >> +from weakref import WeakKeyDictionary >> > > FYI, this change exposes a bug in the atexit module involving > subinterpreters, causing the refleaks reported by Antoine's daily re

Re: [Python-Dev] [Python-checkins] cpython: Add reference implementation for PEP 443

2013-06-07 Thread Thomas Wouters
On Wed, Jun 5, 2013 at 3:20 AM, lukasz.langa wrote: > +from weakref import WeakKeyDictionary > FYI, this change exposes a bug in the atexit module involving subinterpreters, causing the refleaks reported by Antoine's daily report: interpreter startup now always imports weakref, which imports atex

Re: [Python-Dev] [Python-checkins] cpython: Add reference implementation for PEP 443

2013-06-05 Thread Łukasz Langa
Dnia 5 cze 2013 o godz. 16:31 Brett Cannon napisał(a): > Any chance you could move your definitions for "generic function" and "single > dispatch" to the glossary and just link to them here? Sure thing. -- Ł ___ Python-Dev mailing list Python-Dev@py