+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 necessary :)

We can easily move the import inside singledispatch but I would much rather try fixing the actual bug. What do you think?

-- 
Best regards,
Łukasz Langa

WWW: http://lukasz.langa.pl/
Twitter: @llanga
IRC: ambv on #python-dev
">

(original) (raw)


On 7 cze 2013, at 16:27, Thomas Wouters <thomas@python.org> wrote:


On Wed, Jun 5, 2013 at 3:20 AM, lukasz.langa <python-checkins@python.org> 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 necessary :)

We can easily move the import inside singledispatch but I would much rather try fixing the actual bug. What do you think?

--
Best regards,
Łukasz Langa

WWW: http://lukasz.langa.pl/
Twitter: @llanga
IRC: ambv on #python-dev