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: improve re parse error messages for named groups
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: BreamoreBoy, amaury.forgeotdarc, python-dev, rhettinger, techtonik
Priority: normal Keywords: patch

Created on 2010-04-08 08:52 by techtonik, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
lib.re.improve-error-message.diff techtonik, 2010-04-08 08:52
Messages (7)
msg102604 - (view) Author: anatoly techtonik (techtonik) Date: 2010-04-08 08:52
sre_parse has some messages among repeated code sequences, but can be tweaked for user convenience
msg111091 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-07-21 16:59
A small but useful addition, patch looks OK to me
msg221239 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-22 09:35
I understand that the patch cannot be used as the OP refuses to sign the CLA.
msg221323 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2014-06-22 22:49
I'll apply this (with some minor changes).
msg221335 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-06-23 02:33
New changeset 9c7b50a36b42 by Raymond Hettinger in branch '2.7':
Issue #8343: Named group error msgs did not show the group name.
http://hg.python.org/cpython/rev/9c7b50a36b42
msg221336 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-06-23 02:48
New changeset 404dcd29b0a6 by Raymond Hettinger in branch '3.4':
Issue #8343: Named group error msgs did not show the group name.
http://hg.python.org/cpython/rev/404dcd29b0a6
msg221337 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2014-06-23 02:49
Thanks for noticing this.
History
Date User Action Args
2022-04-11 14:56:59adminsetgithub: 52590
2014-06-23 02:49:02rhettingersetstatus: open -> closed
versions: + Python 2.7, Python 3.4, Python 3.5, - Python 3.2
type: behavior
messages: + msg221337

resolution: accepted -> fixed
2014-06-23 02:48:01python-devsetmessages: + msg221336
2014-06-23 02:33:26python-devsetnosy: + python-dev
messages: + msg221335
2014-06-22 22:49:52rhettingersetassignee: rhettinger

messages: + msg221323
nosy: + rhettinger
2014-06-22 09:35:54BreamoreBoysetnosy: + BreamoreBoy
messages: + msg221239
2010-07-21 16:59:15amaury.forgeotdarcsetversions: + Python 3.2, - Python 2.6, Python 2.7
nosy: + amaury.forgeotdarc

messages: + msg111091

resolution: accepted
2010-04-08 08:52:10techtonikcreate