summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_py_compile.py
Commit message (Collapse)AuthorAgeFilesLines
* Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-5/+3
|\
| * Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-5/+3
| |
* | Issue #23822: Fix test_py_compile to not fail under -O.Brett Cannon2015-04-131-0/+1
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-0/+4
|/ | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* Fix the test to use an os.sep agnostic test. Hopefully this will fix theBarry Warsaw2014-12-021-2/+6
| | | | Windows buildbots. Found by Jeremy Kloth.
* Make this change a little more robust for up-merging.Barry Warsaw2014-12-011-1/+2
|
* - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile isBarry Warsaw2014-12-011-0/+16
| | | | | asked to compile a source file containing multiple dots in the source file name.
* Remove unused imports.Berker Peksag2014-09-011-2/+2
|
* Issue #19447: Suppress output of py_compile.compile().Berker Peksag2014-09-011-1/+2
|
* Issue #19447: Use importlib.util.cache_from_source() instead of ``bad_coding ↵Berker Peksag2014-08-221-1/+2
| | | | | | + 'c'``. Thanks to Arfrever Frehtes Taifersar Arahesis.
* Issue #19447: Add a test case to py_compile.compile() to make sureBerker Peksag2014-08-221-0/+4
| | | | | | it don't raise an exception if doraise is False. Patch by Bohuslav "Slavek" Kabrda.
* Issue 19384: Fix test_py_compile for root user, patch by Claudiu Popa.Christian Heimes2013-10-251-0/+3
|
* Issue #17177: Stop using imp with py_compileBrett Cannon2013-06-151-2/+2
|
* make test more robust under WindowsBrett Cannon2013-06-151-1/+1
|
* Issue #17222: Raise FileExistsError when py_compile.compile wouldBrett Cannon2013-06-141-0/+20
| | | | overwrite a symlink or non-regular file with a regular file.
* Issue #17244: Windows doesn't let you set permissions on directories.Brett Cannon2013-04-241-0/+2
|
* add a newlineBrett Cannon2013-04-141-1/+1
|
* Issue #17244: Don't mask exceptions raised during the creation ofBrett Cannon2013-04-141-3/+14
| | | | | | bytecode files in py_compile. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug report.
* Issue #12618: py_compile cannot create files in current directoryMeador Inge2011-11-281-0/+9
| | | | Initial patch by Sjoerd de Vries.
* Issue #12618: fix py_compile unit tests to handle different drives on WindowsMeador Inge2011-11-261-0/+10
|
* Issue #12618: create unit tests for the py_compile moduleMeador Inge2011-11-261-0/+42