mirror of https://github.com/python/cpython
Issue #17222: Document that py_compile now uses importlib for its file
writing and thus its semantics.
This commit is contained in:
parent
3b965a237c
commit
aa73a1c9c9
|
@ -50,6 +50,11 @@ byte-code cache files in the directory containing the source code.
|
|||
default was *file* + ``'c'`` (``'o'`` if optimization was enabled).
|
||||
Also added the *optimize* parameter.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
Changed code to use :mod:`importlib` for the byte-code cache file writing.
|
||||
This means file creation/writing semantics now match what :mod:`importlib`
|
||||
does, e.g. permissions, write-and-move semantics, etc.
|
||||
|
||||
|
||||
.. function:: main(args=None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue