Skip to content
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

Introduce \u for codepoints in Strings #3284

Closed
josevalim opened this issue Apr 20, 2015 · 1 comment
Closed

Introduce \u for codepoints in Strings #3284

josevalim opened this issue Apr 20, 2015 · 1 comment

Comments

@josevalim
Copy link
Member

We should remove \x in the long term because in most languages it represents a byte and making it a codepoint is source of confusion. The warning should only be applied for codepoints greater than 127 which will eventually become an error.

We also can remove ?\xFF because that is the same as 0xFF.

@fishcakez
Copy link
Member

At somepoint before or at the same time \x is removed it would be nice to warn about invalid escapes.

@josevalim josevalim added this to the v1.1.0 milestone Aug 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants