[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
Roundup Robot added the comment: New changeset 0dbdb85fd141 by Ned Deily in branch '2.7': Issue #14958: backport to 2.7.x from 3.3 (patch by Roger Serwy) http://hg.python.org/cpython/rev/0dbdb85fd141 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
Roger Serwy roger.se...@gmail.com added the comment: Attached is a backport to 2.7. -- keywords: +patch versions: +Python 2.7 Added file: http://bugs.python.org/file25778/issue14958_27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
Ned Deily n...@acm.org added the comment: It turns out that the previous and current versions of IDLE syntax highlighting did not recognize literals with valid two-character prefixes, like ur or br. Besides restoring ur, 3.3 also added rb to the existing br prefixes. The applied patch explicitly matches any of the prefixes documented in the 3.3 language reference: http://docs.python.org/dev/reference/lexical_analysis.html#string-and-bytes-literals -- nosy: +ned.deily resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
Changes by Ned Deily n...@acm.org: -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
Roger Serwy roger.se...@gmail.com added the comment: Should the patch be partially back-ported to 2.7 as well given that IDLE 2 doesn't highlight two-character prefixes? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
Ned Deily n...@acm.org added the comment: It could be. But perhaps its absence will be another incentive to move to Python 3.3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
New submission from Roger Serwy roger.se...@gmail.com: Issue8641 addressed the problem of not highlighting byte literals, but dropped Unicode literals, as it should have. This happened months before the acceptance of PEP414. IDLE 3 should now highlight u as well as b, as well as valid combinations with r. -- components: IDLE keywords: easy messages: 161921 nosy: serwy priority: low severity: normal stage: needs patch status: open title: IDLE 3 and PEP414 - highlighting unicode literals type: behavior versions: Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14958] IDLE 3 and PEP414 - highlighting unicode literals
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 94a5bf416e50 by Ned Deily in branch 'default': Issue #14958: Change IDLE systax highlighting to recognize all string and http://hg.python.org/cpython/rev/94a5bf416e50 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14958 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com