Skip to content

Conversation

sentience
Copy link

“Unicode Raw” strings are no longer supported in Python 3.3, and cause a syntax error. See http://bugs.python.org/issue15096.

I understand that the source distribution of Pystache is not intended to by Python 3 compatible out of the box, but this syntax error seems unnecessary. With this change, the code is functionally equivalent, and the syntax is compatible with all Python versions.

“Unicode Raw” strings are no longer supported in Python 3.3, and cause a syntax error. See http://bugs.python.org/issue15096. Without this fix, Pystache gives a syntax error when used in a Python 3.3 environment.
@cjerdonek
Copy link
Collaborator

Thanks. Looks harmless. 😄

cjerdonek added a commit to cjerdonek/pystache that referenced this pull request Sep 15, 2013
This commit is more a matter of style since the Python 3 code generated
by 2to3 is valid under Python 3.3.  This merges remote-tracking branch
'sentience/development' into development and closes issue defunkt#152.
@cjerdonek cjerdonek merged commit 76c509e into defunkt:development Sep 15, 2013
@cjerdonek
Copy link
Collaborator

Merged into development.

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

Successfully merging this pull request may close these issues.

2 participants