COMMITS
/ Lib/py_compile.py February 10, 2026
December 15, 2025
H
gh-141081: Revert "Add a `.gitignore` file to `__pycache__` folders (#141162)" (#142758)
Hugo van Kemenade committed
S
gh-141081: Add a `.gitignore` file to `__pycache__` folders (#141162)
Stan Ulbrych committed
May 5, 2025
H
gh-130645: Add color to stdlib argparse CLIs (gh-133380)
Hugo van Kemenade committed
October 15, 2021
G
bpo-45428: Fix reading filenames from stdin in py_compile (GH-28848)
Graham Inggs committed
July 25, 2020
G
bpo-38731: Add --quiet option to py_compile CLI (GH-17134)
Gregory Schevchenko committed
May 28, 2019
J
bpo-22640: Add silent mode to py_compile.compile() (GH-12976)
Joannah Nanjekye committed
October 10, 2018
E
bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)
Elvis Pranskevichus committed
January 24, 2018
B
bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200)
Bernhard M. Wiedemann committed
December 9, 2017
B
closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)
Benjamin Peterson committed
May 3, 2015
E
Issue #23911: Move path-based bootstrap code to a separate frozen module.
Eric Snow committed
April 14, 2015
B
Issue #23811: Add missing newline to the PyCompileError error message.
Berker Peksag committed
B
Issue #23811: Add missing newline to the PyCompileError error message.
Berker Peksag committed
April 13, 2015
B
Issue #23731: Implement PEP 488.
Brett Cannon committed
June 17, 2013
B
Issue #17222: fix a mix-up in some exception messages.
Brett Cannon committed
June 15, 2013
B
Issue #17177: Stop using imp with py_compile
Brett Cannon committed
June 14, 2013
B
Issue #17222: Raise FileExistsError when py_compile.compile would
Brett Cannon committed
April 14, 2013
B
Issue #17244: Don't mask exceptions raised during the creation of
Brett Cannon committed
January 26, 2013
B
Port py_compile over to importlib
Brett Cannon committed
December 25, 2012
A
Replace IOError with OSError (#16715)
Andrew Svetlov committed
January 13, 2012
A
Issue #13645: pyc files now contain the size of the corresponding source
Antoine Pitrou committed
November 28, 2011
M
Issue #12618: py_compile cannot create files in current directory
Meador Inge committed
December 4, 2010
November 9, 2010
V
Issue #10335: Add tokenize.open(), detect the file encoding using
Victor Stinner committed
May 8, 2010
B
Create __pycache__ dir when the pyc path is explicitly given
Benjamin Peterson committed
April 20, 2010
M
Merged revisions 80274 via svnmerge from
Matthias Klose committed
March 31, 2010
B
- Issue #8233: When run as a script, py_compile.py optionally takes a single
Barry Warsaw committed
March 18, 2010
B
Merged revisions 79070 via svnmerge from
Benjamin Peterson committed
B
kill py_compile's homemade encoding detection in favor of tokenize.detect_encoding() (see #8168)
Benjamin Peterson committed
B
Merged revisions 78971-78972 via svnmerge from
Benjamin Peterson committed
August 19, 2008
A
#2834: Change re module semantics, so that str and bytes mixing is forbidden,
Antoine Pitrou committed
March 16, 2008
December 2, 2007
G
#1535: rename __builtin__ module to builtins.
Georg Brandl committed
November 8, 2007
August 10, 2007
G
A small tweak to avoid calling traceback.format_exception_only() with
Guido van Rossum committed
July 15, 2007
G
Use the encoding specification when reading the source file.
Guido van Rossum committed
May 22, 2007
G
Make test_zipfile pass.
Guido van Rossum committed
January 15, 2007
G
Rip out 'long' and 'L'-suffixed integer literals.
Guido van Rossum committed
January 10, 2007
G
SF patch 1631942 by Collin Winter:
Guido van Rossum committed
June 10, 2005
G
Patch #1171150: add a newline to py_compile error output
Georg Brandl committed
February 27, 2003
J
Getting rid of macfs.
Jack Jansen committed
January 29, 2003
T
Whitespace normalization.
Tim Peters committed
January 15, 2003
M
Patch #661719: Expose compilation errors as exceptions on request.
Martin v. Löwis committed
August 21, 2002
F
Added a main() function and support to run this module as a script.
Fred Drake committed
F
Refactor: Remove some code that was obsoleted when this module was
Fred Drake committed
June 1, 2002
R
Replaced obsolete stat module constants with equivalent attributes
Raymond Hettinger committed
R
Replace boolean test with is None.
Raymond Hettinger committed
April 14, 2002
J
Mass checkin of universal newline support.
Jack Jansen committed
February 12, 2001
S
__all__ for several more modules
Skip Montanaro committed