Skip to content

Upper-cased raw strings not supported #1804

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
FichteFoll opened this issue Jul 5, 2016 · 3 comments
Closed

Upper-cased raw strings not supported #1804

FichteFoll opened this issue Jul 5, 2016 · 3 comments

Comments

@FichteFoll
Copy link

var = R"I'm a raw string"
E:\Temp>mypy upper_case_raw.py
upper_case_raw.py:1: error: Unterminated string literal

I believe this will be solved by the updated parser (#1353) but couldn't verify since I was unable to install the typed-ast pypi module on my Windows machine (no binary wheels and couldn't compile).

@gvanrossum
Copy link
Member

Yeah, the new parser fixes this.

@ddfisher
Copy link
Collaborator

ddfisher commented Jul 7, 2016

(And FYI we're working on making typed-ast work on Windows soon.)

@gvanrossum gvanrossum added this to the 0.4.x milestone Jul 14, 2016
@gvanrossum
Copy link
Member

I'm going to close this as a won't fix because the new parser will solve this and we're not going to put any work in the old parser/lexer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants