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 vstinner
Recipients christian.heimes, vstinner
Date 2013-10-11.23:49:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381535351.94.0.0685942795619.issue19229@psf.upfronthosting.co.za>
In-reply-to
Content
To speedup Python startup, it may be interesting to not create useless many functions and classes in operator.py: "from _operator import *" will remove them a few line later.

What do you think of moving the Python implementation of the operator module inside in the else block of "try/except ImportError" section?

See attached operator.py for an example.

It adds an ugly level of indentation, but it's for performances!

Another option is to add a _pyoperator module.
History
Date User Action Args
2013-10-11 23:49:11vstinnersetrecipients: + vstinner, christian.heimes
2013-10-11 23:49:11vstinnersetmessageid: <1381535351.94.0.0685942795619.issue19229@psf.upfronthosting.co.za>
2013-10-11 23:49:11vstinnerlinkissue19229 messages
2013-10-11 23:49:11vstinnercreate