This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: unittest2 could enable regex debugging for more information
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, ezio.melotti, iElectric, michael.foord, r.david.murray
Priority: normal Keywords:

Created on 2011-06-01 13:03 by iElectric, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg137432 - (view) Author: Domen Kožar (iElectric) Date: 2011-06-01 13:03
When using self.assertRegexpMatches, it would be useful to see where did the matching stop. Maybe using re module debugging flag?
msg137526 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-03 15:36
This sounds non-trivial to implement.  Do you have any concrete ideas or a proof of concept?
msg137630 - (view) Author: Domen Kožar (iElectric) Date: 2011-06-04 09:26
I see, currently re module does not support debugging for matching a string. Even the upcoming new regex implementation does not support it.
msg137727 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011-06-06 02:42
I'm closing this as invalid.  If someone wants to work on this feature, they'll first have to add debugging to re....
History
Date User Action Args
2022-04-11 14:57:18adminsetgithub: 56443
2011-06-06 02:42:10r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg137727

resolution: not a bug
stage: resolved
2011-06-04 09:26:57iElectricsetmessages: + msg137630
2011-06-03 15:36:04eric.araujosetnosy: + eric.araujo, ezio.melotti, michael.foord

messages: + msg137526
versions: + Python 3.3, - Python 2.7
2011-06-01 13:03:24iElectriccreate