Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-81548: Deprecate octal sequences with value larger than 0o377#91668
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-81548: Deprecate octal sequences with value larger than 0o377#91668
Uh oh!
There was an error while loading.Please reload this page.
Conversation
gvanrossum commentedApr 18, 2022
I'm glad you're doing this! |
serhiy-storchaka commentedApr 18, 2022
Interesting, you posted your comment just between two commits which I have pushed with one |
slateny commentedApr 30, 2022
disconnect3d commentedFeb 22, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
If possible, I would suggest extending the information about this deprecation warning as it is not obvious for people reading this why is this made and when does the deprecation warning fires off.
$ cat a.pyprint("\407", b"\407")$ python3.11 a.pyć b'\x07'$ python3.11 -W default a.py//a.py:1: DeprecationWarning: invalid octal escape sequence'\407' print("\407", b"\407")//a.py:1: DeprecationWarning: invalid octal escape sequence'\407' print("\407", b"\407")ć b'\x07' I believe this comes from thedefault warning filter. Idk if we really want it described there, but imho it never hurts to provide more information. |
pablogsal commentedFeb 22, 2023
Will give this a go soon 👍 |
arhadthedev commentedApr 1, 2023
|
Closes#81548.