-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-136355: Deprecate -b and -bb CLI flags in 3.15
#136363
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be added to pending-removal-in-3.17.rst?
Also, -bb is not documented and must be unliked/escaped (I don't know what to call: !) to stop errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the wording changes, this LGTM.
|
When you're done making the requested changes, leave the comment: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the PR to not emit a deprecation warning and not schedule the flag removal?
Can you also deprecate PyConfig.bytes_warning member in the doc? https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.bytes_warning
|
Done! I addressed all feedback: now we no longer plan to remove Please, take another look :) |
Misc/NEWS.d/next/Core_and_Builtins/2025-07-07-12-24-00.gh-issue-136355.MTcA8j.rst
Outdated
Show resolved
Hide resolved
|
I don't think we should remove these options anytime soon. Why possibly break code that's using them ? Instead, we could simply remove the documentation and make them no-ops, but still accept them on the command line. |
fc4cda4 to
37efb67
Compare
Misc/NEWS.d/next/Core_and_Builtins/2025-07-07-12-24-00.gh-issue-136355.MTcA8j.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
FYI bedevere is still waiting for changes: #136363 (comment) |
|
I have made the requested changes; please review again. To please the bot :) |
|
Thanks for making the requested changes! @malemburg: please review the changes made to this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
When you're done making the requested changes, leave the comment: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I didn't see the original, just the suggestion. All good now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks everyone! 👍 |
-band-bbCLI flags #136355📚 Documentation preview 📚: https://cpython-previews--136363.org.readthedocs.build/