Source

cpython / Lib / py_compile.py

Author Commit Message Labels Comments Date
Eric Snow
Issue #23911: Move path-based bootstrap code to a separate frozen module.
Berker Peksag
Issue #23811: Add missing newline to the PyCompileError error message. Patch by Alex Shkop.
Branches
2.7
Berker Peksag
Issue #23811: Add missing newline to the PyCompileError error message. Patch by Alex Shkop.
Berker Peksag
Issue #23811: Add missing newline to the PyCompileError error message. Patch by Alex Shkop.
Branches
3.4
Brett Cannon
Issue #23731: Implement PEP 488. 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.
Brett Cannon
Issue #17222: fix a mix-up in some exception messages. Reported by Arfrever Frehtes Taifersar Arahesis.
Brett Cannon
Issue #17177: Stop using imp with py_compile
Brett Cannon
Issue #17222: Raise FileExistsError when py_compile.compile would overwrite a symlink or non-regular file with a regular file.
Brett Cannon
Issue #17244: Don't mask exceptions raised during the creation of bytecode files in py_compile. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug report.
R David Murray
#7842: backport fix for py_compile.compile syntax error message handling.
Branches
2.7
Brett Cannon
Port py_compile over to importlib
Andrew Svetlov
Replace IOError with OSError (#16715)
Antoine Pitrou
Issue #13645: pyc files now contain the size of the corresponding source code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode.
Meador Inge
Issue #12618: py_compile cannot create files in current directory Initial patch by Sjoerd de Vries.
Branches
3.2
Georg Brandl
Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.
Victor Stinner
Issue #10335: Add tokenize.open(), detect the file encoding using tokenize.detect_encoding() and open it in read only mode.
Benjamin Peterson
Create __pycache__ dir when the pyc path is explicitly given Patch from Arfrever Frehtes Taifersar Arahesis.
Matthias Klose
Merged revisions 80274 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80274 | matthias.klose | 2010-04-20 21:45:34 +0200 (Di, 20 Apr 2010) | 2 lines fix typo in r79533, introduced by the fix for issue #8233 ........
Matthias Klose
fix typo in r79533, introduced by the fix for issue #8233
Branches
legacy-trunk
Barry Warsaw
PEP 3147
Barry Warsaw
- Issue #8233: When run as a script, py_compile.py optionally takes a single argument `-` which tells it to read files to compile from stdin. Each line is read on demand and the named file is compiled immediately. (Original patch by Piotr Ożarowski).
Barry Warsaw
- Issue #8233: When run as a script, py_compile.py optionally takes a single argument `-` which tells it to read files to compile from stdin. Each line is read on demand and the named file is compiled immediately. (Original patch by Piotr Ożarowski).
Branches
legacy-trunk
Benjamin Peterson
Merged revisions 79070 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79070 | benjamin.peterson | 2010-03-18 17:44:54 -0500 (Thu, 18 Mar 2010) | 1 line these lines can now be dispensed with ........
Benjamin Peterson
these lines can now be dispensed with
Branches
legacy-trunk
Benjamin Peterson
kill py_compile's homemade encoding detection in favor of tokenize.detect_encoding() (see #8168)
Benjamin Peterson
Merged revisions 78971-78972 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78971 | benjamin.peterson | 2010-03-14 22:00:35 -0500 (Sun, 14 Mar 2010) | 1 line remove mac 9 code ........ r78972 | benjamin.peterson | 2010-03-14 22:02:37 -0500 (Sun, 14 Mar 2010) | 1 line clean up files correctly ........
Benjamin Peterson
clean up files correctly
Branches
legacy-trunk
Benjamin Peterson
remove mac 9 code
Branches
legacy-trunk
Antoine Pitrou
#2834: Change re module semantics, so that str and bytes mixing is forbidden, and str (unicode) patterns get full unicode matching by default. The re.ASCII flag is also introduced to ask for ASCII matching instead.
Christian Heimes
Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,61285-61286,61288-61290,61298,61303-61305,61312-61314,61317,61329,61332,61344,61350-61351,61363-61376,61378-61379,61382-61383,61387-61388,61392,61395-61396,61402-61403 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r61239 | andrew.kuchling | 2008-03-05 01:44:41 +0100 (Wed, 05 Mar 2008) | 1 line Add more items; add fragmentary notes ........ r61240 | amaury.forgeotdarc | 2008-03-05 02:50:33 +0100 (Wed, 05 Mar 2008) | 13 lines Issue#2238: some syntax errors from *args or **kwargs expressions would give bogus error messages, because of untested exceptions:: >>> f(**g(1=2)) XXX …
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next