[issue16046] python -O does not find *.pyo files
Roundup Robot added the comment: New changeset ff50579241cd by Benjamin Peterson in branch 'default': don't depend on __debug__ because it's baked in at freeze time (issue #16046) http://hg.python.org/cpython/rev/ff50579241cd -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
STINNER Victor added the comment: It would be nice to have a test. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
New submission from Marco Buttu: $ echo print(__file__) foo.py $ python3.3 -O -m foo /home/marco/temp/foo.py $ ls foo.py __pycache__ $ rm foo.py $ mv __pycache__/foo.cpython-33.pyo foo.pyo $ rm __pycache__ -r $ ls foo.pyo # The following works in Python3.2, but not in Python 3.3.0rc3 $ python3.3 -O -m foo /usr/local/bin/python3.3: No module named foo -- components: Interpreter Core messages: 171276 nosy: mbuttu priority: normal severity: normal status: open title: python -O does not find *.pyo files versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
Changes by Marco Buttu marco.bu...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +3.3regression nosy: +brett.cannon, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
Benjamin Peterson added the comment: Georg, do you want to take this for 3.3, final? -- assignee: - georg.brandl nosy: +georg.brandl priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
Georg Brandl added the comment: Looks serious enough, yes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
Roundup Robot added the comment: New changeset 4de5e4ec3cff by Benjamin Peterson in branch 'default': don't depend on __debug__ because it's baked in at freeze time (issue #16046) http://hg.python.org/cpython/rev/4de5e4ec3cff -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
Benjamin Peterson added the comment: This tested in the sense if you run test_import with -O, it fails. We ought to have a buildbot running with -O. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16046] python -O does not find *.pyo files
Georg Brandl added the comment: Transplanted to ff50579241cd. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com