add note that this PEP is not about file-level or directory-level control of
bytecode file writes.
This commit is contained in:
parent
1a2be3bbe4
commit
0bc2b6d21e
10
pep-0304.txt
10
pep-0304.txt
|
@ -18,8 +18,9 @@ location of compiled Python bytecode files. This idea originally
|
|||
arose as a patch request [1]_ and evolved into a discussion thread on
|
||||
the python-dev mailing list [2]_. The introduction of an environment
|
||||
variable will allow people installing Python or Python-based
|
||||
third-party packages to control whether or not bytecode files
|
||||
should be generated, and if so, where they should be written.
|
||||
third-party packages to control whether or not bytecode files should
|
||||
be generated at installation time, and if so, where they should be
|
||||
written.
|
||||
|
||||
|
||||
Proposal
|
||||
|
@ -49,6 +50,10 @@ After startup, all runtime references are to sys.bytecodebase,
|
|||
not the PYTHONBYTECODEBASE environment variable. sys.path is not
|
||||
modified.
|
||||
|
||||
Note that this PEP is explicitly *not* about providing
|
||||
module-by-module or directory-by-directory control over the
|
||||
disposition of bytecode files.
|
||||
|
||||
|
||||
Glossary
|
||||
--------
|
||||
|
@ -106,6 +111,7 @@ augmented directory is thus derived as ::
|
|||
if base[0] == "\\": base = base[1:]
|
||||
augdir = os.path.join(pcb, drive, base)
|
||||
|
||||
|
||||
Fixing the location of the bytecode base
|
||||
----------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue