History for Lib/py_compile.py - python/cpython · GitHub

github.com

Tin mới

gh-118158: Fix missing newline in py_compile CLI error output (#149008)

gh-118158: Fix missing newline in py_compile CLI error output (#149008)

gh-142389: Add backticks to stdlib argparse help to display in colour (#149384)

gh-142389: Add backticks to stdlib argparse help to display in colour (#149384)

gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293)

gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293)

gh-141081: Revert "Add a `.gitignore` file to `__pycache__` folders (#141162)" (#142758)

gh-141081: Revert "Add a `.gitignore` file to `__pycache__` folders (#141162)" (#142758)

gh-141081: Add a `.gitignore` file to `__pycache__` folders (#141162)

gh-141081: Add a `.gitignore` file to `__pycache__` folders (#141162)

gh-130645: Add color to stdlib argparse CLIs (gh-133380)

gh-130645: Add color to stdlib argparse CLIs (gh-133380)

bpo-45428: Fix reading filenames from stdin in py_compile (GH-28848)

bpo-45428: Fix reading filenames from stdin in py_compile (GH-28848)

bpo-38731: Add --quiet option to py_compile CLI (GH-17134)

bpo-38731: Add --quiet option to py_compile CLI (GH-17134)

bpo-22640: Add silent mode to py_compile.compile() (GH-12976)

bpo-22640: Add silent mode to py_compile.compile() (GH-12976)

bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)

bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)

bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200)

bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200)

closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)

closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)

Issue #23911: Move path-based bootstrap code to a separate frozen module.

Issue #23911: Move path-based bootstrap code to a separate frozen module.

Issue #23811: Add missing newline to the PyCompileError error message.

Issue #23811: Add missing newline to the PyCompileError error message.

Issue #23811: Add missing newline to the PyCompileError error message.

Issue #23811: Add missing newline to the PyCompileError error message.

Issue #23731: Implement PEP 488.

Issue #23731: Implement PEP 488.

Issue #17222: fix a mix-up in some exception messages.

Issue #17222: fix a mix-up in some exception messages.

Issue #17177: Stop using imp with py_compile

Issue #17177: Stop using imp with py_compile

Issue #17222: Raise FileExistsError when py_compile.compile would

Issue #17222: Raise FileExistsError when py_compile.compile would

Issue #17244: Don't mask exceptions raised during the creation of

Issue #17244: Don't mask exceptions raised during the creation of

Port py_compile over to importlib

Port py_compile over to importlib

Replace IOError with OSError (#16715)

Replace IOError with OSError (#16715)

Issue #13645: pyc files now contain the size of the corresponding source

Issue #13645: pyc files now contain the size of the corresponding source

Issue #12618: py_compile cannot create files in current directory

Issue #12618: py_compile cannot create files in current directory

Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.

Issue #10335: Add tokenize.open(), detect the file encoding using

Create __pycache__ dir when the pyc path is explicitly given

Merged revisions 80274 via svnmerge from

- Issue #8233: When run as a script, py_compile.py optionally takes a single

Merged revisions 79070 via svnmerge from

kill py_compile's homemade encoding detection in favor of tokenize.detect_encoding() (see #8168)

Merged revisions 78971-78972 via svnmerge from

#2834: Change re module semantics, so that str and bytes mixing is forbidden,

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-…