[issue2713] Py3k warn on unicode escapes in raw strings

2009-06-03 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

Why was this patch rejected?
with python2.6,
 len(ur'\u1234') == 1
with python3.0,
 len( r'\u1234') == 6

This is worth a warning IMO.
See also issue2570.

--
nosy: +amaury.forgeotdarc

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2713
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2713] Py3k warn on unicode escapes in raw strings

2009-04-07 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

I guess it isn't...

--
resolution:  - rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2713
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2713] Py3k warn on unicode escapes in raw strings

2008-04-29 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

This patch changes the raw-unicode-escape code to warn. Marc-Andre, is
this OK?

--
assignee:  - lemburg
nosy: +georg.brandl, lemburg

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2713
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2713] Py3k warn on unicode escapes in raw strings

2008-04-28 Thread Benjamin Peterson

New submission from Benjamin Peterson [EMAIL PROTECTED]:

This patch gives a Py3k warning when a unicode escape occurs in a raw
unicode string.

--
components: Unicode
files: unicode_escape_warn.patch
keywords: patch
messages: 65936
nosy: benjamin.peterson
severity: normal
status: open
title: Py3k warn on unicode escapes in raw strings
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file10134/unicode_escape_warn.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2713
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2713] Py3k warn on unicode escapes in raw strings

2008-04-28 Thread Benjamin Peterson

Changes by Benjamin Peterson [EMAIL PROTECTED]:


Added file: http://bugs.python.org/file10135/unicode_escape_warn2.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2713
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com