[issue15096] Drop support for the "ur" string prefix

2012-06-20 Thread Christian Heimes
Christian Heimes added the comment: Thanks for you review, Serhiy. I removed the last remains from test_tokenize and even found another missing sentence in the docs. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _

[issue15096] Drop support for the "ur" string prefix

2012-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8e47e9af826e by Christian Heimes in branch 'default': Issue #15096: Drop support for the ur string prefix http://hg.python.org/cpython/rev/8e47e9af826e -- nosy: +python-dev ___ Python tracker

[issue15096] Drop support for the "ur" string prefix

2012-06-19 Thread Christian Heimes
Christian Heimes added the comment: New patch: * corrected comment in Parser/tokenizer.c * added test for ub"" and bu"" raising SyntaxError * removed handling of ur"" from tokenize module Serhiy, could you please review my changed to the tokenize module? I think I found all relevant places

[issue15096] Drop support for the "ur" string prefix

2012-06-19 Thread Christian Heimes
Christian Heimes added the comment: I'll submit an updated patch tomorrow. -- assignee: -> christian.heimes ___ Python tracker ___ _

[issue15096] Drop support for the "ur" string prefix

2012-06-19 Thread Georg Brandl
Georg Brandl added the comment: If you commit this, please do so before beta1. -- nosy: +georg.brandl ___ Python tracker ___ ___ Pyth

[issue15096] Drop support for the "ur" string prefix

2012-06-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I've created a patch that disabled ur'' syntax, updates the docs and adds > some tests for u'' syntax. Don't forget tokenize module (see issue15054). -- ___ Python tracker

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +aronacher, flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Christian Heimes
Christian Heimes added the comment: +1 Raw unicode strings are rarely used and it's easy to overcome the limitation. I've created a patch that disabled ur'' syntax, updates the docs and adds some tests for u'' syntax. I couldn't find any tests for the syntax ... shame on you! :) --

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Nick Coghlan
Changes by Nick Coghlan : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Nick Coghlan
New submission from Nick Coghlan : When PEP 414 restored support for explicit Unicode literals in Python 3, the "ur" string prefix was deemed to be a synonym for the "r" prefix. However, "ur" in 2.x was only kinda-sorta-raw, since it still supported Unicode escapes: $ python Python 2.7.3 (def