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: Get rid of SRE character tables
Type: enhancement Stage: resolved
Components: Extension Modules, Regular Expressions Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: ezio.melotti, mrabarnett, pitrou, python-dev, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2014-10-09 07:43 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sre_tables.patch serhiy.storchaka, 2014-10-09 07:43 review
Messages (3)
msg228836 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-10-09 07:43
Currently the SRE regular expression engine uses internal tables to implement ASCII-only character predicates and converting. Proposed patch get rid of these tables and reuse standard Python macros Py_ISSPACE, Py_TOLOWER, etc.
msg228965 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-10-10 08:16
New changeset 07b7b587837f by Serhiy Storchaka in branch 'default':
Issue #22584: Got rid of character tables in _sre.c and use standard macros
https://hg.python.org/cpython/rev/07b7b587837f
msg228970 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-10-10 08:45
Thank you for your review Antoine.
History
Date User Action Args
2022-04-11 14:58:08adminsetgithub: 66774
2014-10-10 08:45:38serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg228970

stage: patch review -> resolved
2014-10-10 08:16:35python-devsetnosy: + python-dev
messages: + msg228965
2014-10-10 07:51:00serhiy.storchakasetassignee: serhiy.storchaka
2014-10-09 07:50:41serhiy.storchakalinkissue17381 dependencies
2014-10-09 07:43:50serhiy.storchakacreate