-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The --compile
option is only useful for Python 2.7
#1939
Labels
Comments
This was referenced Oct 6, 2022
Closed
Closed
This was referenced Nov 21, 2022
Closed
Closed
Closed
This was referenced Feb 25, 2023
Closed
Closed
Closed
This was referenced Mar 7, 2023
Closed
Closed
Closed
This was referenced Apr 17, 2023
Closed
Closed
Closed
This was referenced Jul 21, 2023
Closed
Closed
Closed
This was referenced Nov 2, 2023
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See here:
https://github.com/pantsbuild/pex/blob/322ab32c83b861ce1ca9c8372246635e7b7b58b4/pex/compiler.py#L24-L42
That's the old way of naming / placing pyc files. Python 3 will be looking under
__pycache__
and miss: https://peps.python.org/pep-3147/As such, for all but Python 2.7, PEXs built with
--compile
actually run slightly slower since there is just more dead weight to extract from the PEX.The text was updated successfully, but these errors were encountered: