Skip to content

Invalid escape sequences raise SyntaxWarning #119458

@Okarin99

Description

@Okarin99

PEP 701 introduced with python version 3.12.3 claims to be backwards compatible.
But in python version 3.12.2 the string "\.00" gives \\.00 and since python version 3.12.3 I get the follwing error:
<stdin>:1: SyntaxWarning: invalid escape sequence '\.'
'\\.00'

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions