| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals in 3.8. SyntaxWarning will be emitted in 3.9.
and mention that SyntaxError will happen after SyntaxWarning. we're being non-specific on purpose here as we haven't worked out the plan to make this happen without causing end user pain yet. right now most code owners do not see the DeprecationWarning but when turned into a SyntaxWarning, _users_ of libraries see it more often than owners. So it is a negative experience all around.
|
My only problem with this PR is only that it is being done on the 3.8 branch. We should revert this on the master (future 3.9) branch as well. We clearly aren't ready to commit to doing this in 3.9 either so lets redo this on top of that and apply the "needs backport to 3.8" label. |
Sorry, something went wrong.
There was a problem hiding this comment.
I tend to agree with @gpshead on applying this to master and then backporting to 3.8
Sorry, something went wrong.
|
merged. I'll just reapply an equivalent to master. |
Sorry, something went wrong.
DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6ba to the master branch). (This is #15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
…H-15195) DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6ba to the master branch). (This is python#15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
…H-15195) DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6ba to the master branch). (This is python#15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
…H-15195) DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6ba to the master branch). (This is python#15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
| Back | FazBrowse Home | New Git URL |
DeprecationWarning will continue to be emitted for invalid
escape sequences in string and bytes literals in 3.8.
SyntaxWarning will be emitted in 3.9.
https://bugs.python.org/issue32912