[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Fangyi Zhou for your report and fix. Changes are trivial and didn't require to sign CLA. -- ___ Python tracker ___ __

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- priority: critical -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5df5286abda57a0b3865d4fc3e25aaf1a820ef49 by Serhiy Storchaka (Zhou Fangyi) in branch 'master': bpo-30688: Import unicodedata only when needed. (GH-5606) https://github.com/python/cpython/commit/5df5286abda57a0b3865d4fc3e25aaf1a820ef49 ---

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Ned Deily
Ned Deily added the comment: The buidbots are broken by this. Please fix or revert. -- nosy: +ned.deily priority: normal -> critical ___ Python tracker ___ ___

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Fangyi Zhou
Change by Fangyi Zhou : -- pull_requests: +5417 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread fangyizhou
fangyizhou added the comment: Hello This leads to build failures due to circular dependency At generate-posix-vars stage, unicodedata is imported (due to import pprint)but it has not been built due to it being a C module. However, building C modules happen after generate-posix-vars. See ful

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Jonathan! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a445feb72902e4a3c5ae712f0c289309e1580d52 by Serhiy Storchaka in branch 'master': bpo-30688: Support \N{name} escapes in re patterns. (GH-5588) https://github.com/python/cpython/commit/a445feb72902e4a3c5ae712f0c289309e1580d52 -- _

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5405 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue30688] support named Unicode escapes (\N{name}) in re

2017-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Regular Expressions nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mail

[issue30688] support named Unicode escapes (\N{name}) in re

2017-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +mrabarnett, serhiy.storchaka stage: -> patch review ___ Python tracker ___ ___

[issue30688] support named Unicode escapes (\N{name}) in re

2017-06-17 Thread Jonathan Eunice
Changes by Jonathan Eunice : -- pull_requests: +2311 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30688] support named Unicode escapes (\N{name}) in re

2017-06-17 Thread Jonathan Eunice
New submission from Jonathan Eunice: The re module specially handles Unicode escapes (\u and \U) so that even raw strings (r'...') have symbolic Unicode characters. But it has not supported named Unicode escapes such as r'\N{EM DASH}', making the escapes for string literals and the