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.

Author serhiy.storchaka
Recipients SilentGhost, rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-09-29.04:56:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The re module now depends on the enum module, and the latter already depends on OrderedDict. Thus the patch doesn't introduce new dependency. Python implementation of OrderedDict doesn't override __getitem__ and therefore don't slow down the common case. I considered all this.

In contrary, Python implementation of lru_cache slows down the code (that is why using it was dropped in the past). But I did not object to this because re.sub() is less used than re.match() or and already is much slower.
Date User Action Args
2016-09-29 04:56:26serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, SilentGhost, xiang.zhang
2016-09-29 04:56:26serhiy.storchakasetmessageid: <>
2016-09-29 04:56:25serhiy.storchakalinkissue28293 messages
2016-09-29 04:56:25serhiy.storchakacreate