Skip to content

Problem with escapes within raw string literals #532

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

Closed
JukkaL opened this issue Dec 18, 2014 · 1 comment
Closed

Problem with escapes within raw string literals #532

JukkaL opened this issue Dec 18, 2014 · 1 comment
Labels
bug mypy got something wrong

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Dec 18, 2014

Escapes are not processed correctly in triple-quoted raw string literals. Mypy complains about $ even though it's within a string literal:

r"""\"""$"""
@JukkaL
Copy link
Collaborator Author

JukkaL commented Dec 21, 2014

Actually \ escapes seem to be broken in all triple-quoted (including non-raw) string literals.

@JukkaL JukkaL closed this as completed in e3dfac1 Feb 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

No branches or pull requests

1 participant