[issue27030] Remove deprecated re features

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +1021 ___ Python tracker ___ ___

[issue27030] Remove deprecated re features

2016-12-06 Thread Ned Deily
Ned Deily added the comment: Thanks, Serhiy, for reverting the error handling for 3.6.0 (in 3.6.0rc1). I'm going to mark this as closed. Issue28450 is still open at the moment regarding the documentation and possible 3.7 changes. -- priority: release blocker -> resolution: ->

[issue27030] Remove deprecated re features

2016-12-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b162d6e3d01 by Serhiy Storchaka in branch '3.6': Issue #27030: Unknown escapes in re.sub() replacement template are allowed https://hg.python.org/cpython/rev/1b162d6e3d01 New changeset 5904d2ced3d8 by Serhiy Storchaka in branch 'default': Merge

[issue27030] Remove deprecated re features

2016-12-06 Thread Ned Deily
Ned Deily added the comment: It is unfortunate that the deprecation note did not explicitly mention replacement templates as well as regexp patterns. While there are good arguments to be made for either case, I think it makes more sense to treat the replacement template as following the

[issue27030] Remove deprecated re features

2016-12-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that partially reverts changes of issue27030. It allows using unknown escapes in re.sub() replacement template, but they are deprecated and will be errors in 3.7. If this is good to you Barry, and Ned allows, it can be committed in 3.6 only.

[issue27030] Remove deprecated re features

2016-11-22 Thread R. David Murray
R. David Murray added the comment: There is still the argument that we shouldn't break 2.7 compatibility unnecessarily until 2.7 is out of maintenance. That is: warnings are good, removals are bad. (I haven't read through this issue, so I may be off base.) -- nosy: +r.david.murray

[issue27030] Remove deprecated re features

2016-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you insist I could revert converting warnings to errors (only in replacement string or all?) in 3.6. But I think they should left errors in 3.7. The earlier we make undefined escapes the errors, the earlier we can define new special escape sequences

[issue27030] Remove deprecated re features

2016-11-22 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- priority: release blocker -> normal status: open -> closed ___ Python tracker ___

[issue27030] Remove deprecated re features

2016-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This part of the documentation was just overlooked. Issue28450 is opened for this. -- ___ Python tracker ___

[issue27030] Remove deprecated re features

2016-11-22 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +ned.deily priority: normal -> release blocker status: closed -> open ___ Python tracker ___

[issue27030] Remove deprecated re features

2016-11-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 22, 2016, at 04:13 PM, Serhiy Storchaka wrote: >Could Mailman be fixed? Undefined combinations of \ + ASCII emitted warnings >in 3.5. And now they emit warnings even just in string literals >(issue27364). If Mailman use undefined escape combinations, it

[issue27030] Remove deprecated re features

2016-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could Mailman be fixed? Undefined combinations of \ + ASCII emitted warnings in 3.5. And now they emit warnings even just in string literals (issue27364). If Mailman use undefined escape combinations, it could suffer from issue27364 too. --

[issue27030] Remove deprecated re features

2016-11-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue27030] Remove deprecated re features

2016-11-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Specifically, point #2; undefined combinations of \ + ASCII becoming an error. -- ___ Python tracker ___

[issue27030] Remove deprecated re features

2016-11-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: FWIW, this breaks Mailman 3.1 (and probably 2.1) -- nosy: +barry ___ Python tracker ___

[issue27030] Remove deprecated re features

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset a2482e805dff by Martin Panter in branch '3.5': Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030 https://hg.python.org/cpython/rev/a2482e805dff New changeset be193f8dbe4c by Martin Panter in branch 'default': Issue #27030: Merge RE fix

[issue27030] Remove deprecated re features

2016-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ed3880e94e5 by Serhiy Storchaka in branch 'default': Issue #27030: The re.LOCALE flag now can be used only with bytes patterns. https://hg.python.org/cpython/rev/8ed3880e94e5 -- ___ Python tracker

[issue27030] Remove deprecated re features

2016-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Jim for the review. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27030] Remove deprecated re features

2016-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09d1af3fe332 by Serhiy Storchaka in branch 'default': Issue #27030: Unknown escapes consisting of ``'\'`` and ASCII letter in https://hg.python.org/cpython/rev/09d1af3fe332 -- nosy: +python-dev ___

[issue27030] Remove deprecated re features

2016-05-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch removes following deprecated re features: * Three unused not documented functions: isident(), isdigit() and isname(). They were deprecated since Python 3.3 (issue14462). * '\' + ASCII character now is error if this combination is not