This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients berker.peksag, bethard, christian.heimes, methane, paul.j3, pitrou, rhettinger, serhiy.storchaka, terry.reedy, vstinner, wolma, yan12125
Date 2017-09-25.10:18:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506334687.15.0.448428888012.issue30152@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, the pull request is far larger than I thought!

I doubt that avoiding functools and collections is worth enough, because it is very common.

For example:

* functools is very commonly imported, especially for wraps().

* collections is imported by functools, so it's more commonly imported than functools.

* Old style namespace package (.pth file) imports types module, and types module and types imports functools, collections.  So even `python -c 42` imports them if at least one old-style namespace package is installed.  (e.g. Sphinx)


Instead of avoiding them, I want to make them faster.

* C implementation of ABC will makes collection, weakref and some other modules much faster.
* Recent PEP will allows split functools module into submodules without breaking backward compatibility.
History
Date User Action Args
2017-09-25 10:18:07methanesetrecipients: + methane, rhettinger, terry.reedy, pitrou, bethard, vstinner, christian.heimes, berker.peksag, paul.j3, serhiy.storchaka, wolma, yan12125
2017-09-25 10:18:07methanesetmessageid: <1506334687.15.0.448428888012.issue30152@psf.upfronthosting.co.za>
2017-09-25 10:18:07methanelinkissue30152 messages
2017-09-25 10:18:07methanecreate