mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-136355: Deprecate -b and -bb CLI flags in 3.15 (#136363)
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This commit is contained in:
parent
8b5ce31c2b
commit
1c984ba953
6 changed files with 34 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ static const char usage_help[] = "\
|
|||
Options (and corresponding environment variables):\n\
|
||||
-b : issue warnings about converting bytes/bytearray to str and comparing\n\
|
||||
bytes/bytearray with str or bytes with int. (-bb: issue errors)\n\
|
||||
deprecated since 3.15 and will become no-op in 3.17.\n\
|
||||
-B : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x\n\
|
||||
-c cmd : program passed in as string (terminates option list)\n\
|
||||
-d : turn on parser debugging output (for experts only, only works on\n\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue