[issue13473] Add tests for files byte-compiled by distutils[2]

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13473] Add tests for files byte-compiled by distutils[2]

2012-04-25 Thread Nick Coghlan
Nick Coghlan added the comment: Your basic approach looks sensible to me. One trick I use in test_cmd_line_script to prevent recreation is to simply delete the source file. If the source is gone, implicit recreation is impossible. Unfortunately, that doesn't work for __pycache__, since the ca

[issue13473] Add tests for files byte-compiled by distutils[2]

2012-01-13 Thread Éric Araujo
Éric Araujo added the comment: Nick, would you have a bit of time to read my OP and reply? -- ___ Python tracker ___ ___ Python-bugs-

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-28 Thread Éric Araujo
Éric Araujo added the comment: See http://bugs.python.org/issue12119#msg146943 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: What exactly do you consider to backport to distutils? -- nosy: +Arfrever ___ Python tracker ___ _

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: (For the reference, the bug I added is this: http://hg.python.org/cpython/rev/c10946a17420#l6.45 p7g.util.byte_compile calls py_compile.compile with a filename ending in .pyc or .pyo as appropriate, but the optimization level in the py_compile.compile function

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-24 Thread Éric Araujo
New submission from Éric Araujo : I recently changed packaging.util.byte_compile, the function used by the build_py and install_lib commands, so that it can create .pyc and/or .pyo files independently of the calling’s Python -O or -B flags (dad02a080bbc), but I think I introduced a bug. To ch