-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Remove option "-J" from cmdline docs #133336
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
Comments
I support this idea. |
Should we not deprecate it (similarly to this), it currently serves no purpose and 3.X is not supported by Jython? Jython3 seems to have halted (8 months of inactivity). |
Current message already looks like a deprecation for me: C:\Python3_14a7\python.exe -J
-J is reserved for Jython
usage: C:\Python3_14a7\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information. Also both default message @jeff5 do you have plans to use command line option |
It does not seem to be deprecated currently, it is also not on the pending deprecation list. I think hard depreciation for 3.16 (too late for 3.15 now) would be good, it can always be added back. |
For context, it is often used to provide sizing information when starting the JVM, to set options (Java properties) read by libraries, or to configure the debugging hook. Of necessity then,
Ping: @Stewori |
…pythonGH-133821) (cherry picked from commit dc191d248456855d228b09f0e0206e0b656f113c) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Documentation
File
Doc/using/cmdline.rst
mentions Options you shouldn’t use:Option
-J
was added in Python 2.6. Since all Jython related things are being removed, I'd suggest to remove reference to this option from the docs as well.Linked PRs
-J
flag for Jython #133444initconfig.c
#133821initconfig.c
(GH-133821) #133855The text was updated successfully, but these errors were encountered: