[Python-Dev] PEP 3147: PYC Repository Directories
Eric Smith
eric at trueblade.com
Thu Feb 4 23:28:25 CET 2010
Glenn Linderman wrote:
> On approximately 1/30/2010 4:00 PM, came the following characters from
> the keyboard of Barry Warsaw:
>> When the Python executable is given a `-R` flag, or the environment
>> variable `$PYTHONPYR` is set, then Python will create a `foo.pyr`
>> directory and write a `pyc` file to that directory with the hexlified
>> magic number as the base name.
>>
>
> After the discussion so far, my opinion is that if the source directory
> contains an appropriate python repositiory directory [1], and the
> version of Python implements PEP 3147, that there should be no need for
> -R or $PYTHONPYR to exist, but that such versions of Python would
> simply, and always look in the python repository directory for binaries.
How would the python repository directory ever get created?
More information about the Python-Dev
mailing list