New submission from STINNER Victor: 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. ---------- files: operator.py messages: 199525 nosy: christian.heimes, haypo priority: normal severity: normal status: open title: operator.py: move the Python implementation in the else block of try/except ImportError versions: Python 3.4 Added file: http://bugs.python.org/file32053/operator.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19229> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com