[issue27952] Finish converting fixcid.py from regex to re

2016-09-12 Thread Berker Peksag
Berker Peksag added the comment: Done. I'm going to pretend 2.7 doesn't exist :) -- nosy: +berker.peksag status: open -> closed ___ Python tracker ___ ___

[issue27952] Finish converting fixcid.py from regex to re

2016-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ae3782c4e05 by Berker Peksag in branch '3.5': Issue #27952: Capture stderr in run_script() https://hg.python.org/cpython/rev/5ae3782c4e05 New changeset 33d118a27035 by Berker Peksag in branch '3.6': Issue #27952: Merge from 3.5 https://hg.python.or

[issue27952] Finish converting fixcid.py from regex to re

2016-09-12 Thread Xiang Zhang
Xiang Zhang added the comment: Can we silence the debug output? ./python -m test test_tools Run tests sequentially 0:00:00 [1/1] test_tools *recursedown('@test_20410_tmp') 1 test OK. Total duration: 4 sec Tests result: SUCCESS -- nosy: +xiang.zhang status: closed -> open

[issue27952] Finish converting fixcid.py from regex to re

2016-09-11 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27952] Finish converting fixcid.py from regex to re

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 740e43eb8138 by Martin Panter in branch '2.7': Issue #27952: Get fixcid.py working with the re module https://hg.python.org/cpython/rev/740e43eb8138 New changeset ca68bb597df9 by Martin Panter in branch '3.5': Issue #27952: Get fixcid.py working wit

[issue27952] Finish converting fixcid.py from regex to re

2016-09-09 Thread Martin Panter
Martin Panter added the comment: New patch with more fixes and test cases. Also dropped some of the less useful raw string changes. -- Added file: http://bugs.python.org/file44521/fixcid-re.v2.patch ___ Python tracker

[issue27952] Finish converting fixcid.py from regex to re

2016-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Martin. The patch in general LGTM, but see comments on Rietveld. -- ___ Python tracker ___

[issue27952] Finish converting fixcid.py from regex to re

2016-09-09 Thread Martin Panter
Martin Panter added the comment: It would be nice to fix this so that the tests pass with -Werror. Here is a quick patch: * Fix the deprecated non-escapes * Make all the regular expressions raw strings * Fix bugs with parsing escaped quotes in C strings and char literals * Adapt from old regex

[issue27952] Finish converting fixcid.py from regex to re

2016-09-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Tools/scripts/fixcid.py initially used old regex module. In 4727f260f6f8 it was converted to using new re module, but not all generated regular expressions were converted to new syntax. The script is not working since that time. -- components: Demo