[Python-Dev] PYC filename and optimization (original) (raw)
Barry Warsaw barry at python.org
Thu Nov 5 10:40:40 EST 2015
- Previous message (by thread): [Python-Dev] PYC filename and optimization
- Next message (by thread): [Python-Dev] PYC filename and optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Nov 05, 2015, at 11:33 AM, Victor Stinner wrote:
- Lib/pycache/os.cpython-36.pyc: default mode - Lib/pycache/os.cpython-36.fat-0.pyc: FAT mode
With -O: - Lib/pycache/os.cpython-36.opt-1.pyc: default mode - Lib/pycache/os.cpython-36.fat-1.pyc: FAT mode
With -OO: - Lib/pycache/os.cpython-36.opt-2.pyc: default mode - Lib/pycache/os.cpython-36.fat-2.pyc: FAT mode Is it the "correct" way to name .pyc files? I had to modify unit tests which expected an exact filename.
I think this is the logical extension of PEP 488 for your use case.
Cheers, -Barry
- Previous message (by thread): [Python-Dev] PYC filename and optimization
- Next message (by thread): [Python-Dev] PYC filename and optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]