[issue38294] Documentation on 3.6->3.7 re.escape no longer escaping "/" or ":" should be obvious

2019-10-08 Thread Ricardo Bánffy
Change by Ricardo Bánffy : -- pull_requests: +16230 pull_request: https://github.com/python/cpython/pull/16647 ___ Python tracker <https://bugs.python.org/issue38

[issue38294] Documentation on 3.6->3.7 re.escape no longer escaping "/" or ":" should be obvious

2019-10-01 Thread Ricardo Bánffy
Change by Ricardo Bánffy : -- title: re.escape no longer escapes "/" or ":" -> Documentation on 3.6->3.7 re.escape no longer escaping "/" or ":" should be obvious ___ Pytho

[issue38294] re.escape no longer escapes "/" or ":"

2019-09-30 Thread Ricardo Bánffy
Change by Ricardo Bánffy : -- components: +Regular Expressions versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue38294> ___ ___ Python-bug

[issue38294] re.escape no longer escapes "/" or ":"

2019-09-27 Thread Ricardo Bánffy
Change by Ricardo Bánffy : -- assignee: -> docs@python components: +Documentation -Regular Expressions nosy: +docs@python type: behavior -> enhancement ___ Python tracker <https://bugs.python.org/i

[issue38294] re.escape no longer escapes "/" or ":"

2019-09-27 Thread Ricardo Bánffy
Ricardo Bánffy added the comment: Indeed. It was easy to miss because of the joining and sorting. Being explicit on the 3.7 changes, that '!', '"', '%', "'", ',', '/', ':', ';', '<', '=', '>', '@', '`' were up to 3.6 but are no longer escaped sin

[issue38294] re.escape no longer escapes "/" or ":"

2019-09-27 Thread Ricardo Bánffy
Ricardo Bánffy added the comment: Thanks for the clarification, Serhiy. Should we update the 3.7 docs to warn others about it? -- ___ Python tracker <https://bugs.python.org/issue38

[issue38294] re.escape no longer escapes "/" or ":"

2019-09-27 Thread Ricardo Bánffy
Change by Ricardo Bánffy : -- title: re.escape seems to miss some importante regex characters -> re.escape no longer escapes "/" or ":" ___ Python tracker <https://

[issue38294] re.escape seems to miss some importante regex characters

2019-09-27 Thread Ricardo Bánffy
New submission from Ricardo Bánffy : Under Python 3.6, re.escape escapes "/" In [1]: import re In [2]: re.escape('http://workday.com') Out[2]: 'http\\:\\/\\/workday\\.com' Under 3.7 and 3.8, "/" is not escaped. In [1]: import re In [2]: re.escape('http://workday