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

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13473 ___ ___ Python-bugs-list

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

2012-04-25 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

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

2012-01-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Nick, would you have a bit of time to read my OP and reply? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13473 ___

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

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See http://bugs.python.org/issue12119#msg146943 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13473 ___

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

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: What exactly do you consider to backport to distutils? -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13473

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

2011-11-24 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: 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

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

2011-11-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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