Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2988)

#15096: Drop support for the "ur" string prefix

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 months, 1 week ago by ncoghlan
Modified:
11 months ago
Reviewers:
storchaka
CC:
Georg, Vinay Sajip, Nick Coghlan, christian.heimes, armin.ronacher_active-4.com, ezio.melotti, Arfrever.FTA_GMail.Com, flox, devnull_psf.upfronthosting.co.za, storchaka
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Doc/reference/lexical_analysis.rst View 1 2 chunks +4 lines, -2 lines 1 comment Download
Lib/test/test_strlit.py View 1 1 chunk +9 lines, -0 lines 0 comments Download
Lib/test/test_tokenize.py View 1 3 chunks +13 lines, -15 lines 1 comment Download
Lib/tokenize.py View 1 4 chunks +3 lines, -9 lines 0 comments Download
Misc/NEWS View 1 1 chunk +3 lines, -0 lines 0 comments Download
Parser/tokenizer.c View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 2
storchaka
http://bugs.python.org/review/15096/diff/5155/Lib/test/test_strlit.py File Lib/test/test_strlit.py (right): http://bugs.python.org/review/15096/diff/5155/Lib/test/test_strlit.py#newcode131 Lib/test/test_strlit.py:131: self.assertRaises(SyntaxError, eval, """ ru'' """) Are ub'' and bu'' ...
11 months, 1 week ago #1
storchaka
11 months ago #2
All other is look good for me.

http://bugs.python.org/review/15096/diff/5163/Doc/reference/lexical_analysis.rst
File Doc/reference/lexical_analysis.rst (right):

http://bugs.python.org/review/15096/diff/5163/Doc/reference/lexical_analysis....
Doc/reference/lexical_analysis.rst:459: Support for the unicode legacy literal
(``u'value'``) and other
"other versions" is not true now.

http://bugs.python.org/review/15096/diff/5163/Lib/test/test_tokenize.py
File Lib/test/test_tokenize.py (right):

http://bugs.python.org/review/15096/diff/5163/Lib/test/test_tokenize.py#newco...
Lib/test/test_tokenize.py:303: # NOTE: ur"" syntax isn't supported. This checks
that tokenize
May be just to drop this doctest? I don't see any other test which tests illegal
sequences.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7