[issue19218] Use of MutableMapping in os module slows down interpreter startup

Eric Snow report at bugs.python.org
Thu Oct 10 20:35:14 CEST 2013


Eric Snow added the comment:

Here is a patch for an alternate approach.  It does not require re-implementing MutableMapping (could get out of sync) and does not require rearranging collections.abc.  Instead it uses a metaclass to resolve the import issue lazily.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file32036/os-lazy-collections.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19218>
_______________________________________


More information about the Python-bugs-list mailing list