[issue29995] re.escape() escapes too much

2019-01-31 Thread Salvo Tomaselli
Salvo Tomaselli added the comment: Aaaand this broke my unit tests when moving from 3.6 to 3.7! -- nosy: +LtWorf ___ Python tracker ___

[issue29995] re.escape() escapes too much

2017-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, please nosy me when you change idlelib files. -- versions: +Python 3.6 ___ Python tracker ___

[issue29995] re.escape() escapes too much

2017-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a895f91a46c65a6076e8c6a28af0df1a07ed60a2 by terryjreedy in branch '3.6': [3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114) https://github.com/python/cpython/commit/a895f91a46c65a6076e8c6a28af0df1a07ed60a2 --

[issue29995] re.escape() escapes too much

2017-06-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2167 ___ Python tracker ___ ___

[issue29995] re.escape() escapes too much

2017-04-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29995] re.escape() escapes too much

2017-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5908300e4b0891fc5ab8bd24fba8fac72012eaa7 by Serhiy Storchaka in branch 'master': bpo-29995: re.escape() now escapes only special characters. (#1007) https://github.com/python/cpython/commit/5908300e4b0891fc5ab8bd24fba8fac72012eaa7 --

[issue29995] re.escape() escapes too much

2017-04-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka dependencies: +Add examples for re.escape() ___ Python tracker

[issue29995] re.escape() escapes too much

2017-04-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1175 ___ Python tracker ___ ___

[issue29995] re.escape() escapes too much

2017-04-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: re.escape() escapes all the characters except ASCII letters, numbers and '_'. This is too excessive, makes escaping and compiling slower and makes the pattern less human-readable. Characters "!\"%&\',/:;<=>@_`~" as well as non-ASCII characters are always