New submission from Vinay Sajip:

"""
This string contains DOMAIN\username, which is talking about Windows
and is a valid string in Python 2.x but not in 3.x. However, 2to3 passes
this string through unchanged, and it causes a SyntaxError when
interpreted by Python 3.x, because it contains what looks like a
truncated Unicode escape.
"""

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 189837
nosy: benjamin.peterson, vinay.sajip
priority: normal
severity: normal
status: open
title: 2to3 passes through string literal which causes SyntaxError in 3.x
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18037>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to