- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | barry, r.david.murray, rhettinger, serhiy.storchaka |
| Date | 2017-09-26.05:07:04 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1506402424.97.0.704719570214.issue31580@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
lru_cache() is not used for reasons. The patch makes using cached patterns slower by adding an overhead of 4 additional checks. It makes resolving attributes of a deferred patterns slower. All this slows down a straight call to re.search(pattern, s). Errors in regular expression now raised only on first use of the pattern. This is a drawback from educational and debugging points of view. The patch also breaks warnings emitted during compiling regular expressions. Now they report wrong source line and use wrong line for caching in case of -Wonce. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-09-26 05:07:05 | serhiy.storchaka | set | recipients: + serhiy.storchaka, barry, rhettinger, r.david.murray |
| 2017-09-26 05:07:04 | serhiy.storchaka | set | messageid: <1506402424.97.0.704719570214.issue31580@psf.upfronthosting.co.za> |
| 2017-09-26 05:07:04 | serhiy.storchaka | link | issue31580 messages |
| 2017-09-26 05:07:04 | serhiy.storchaka | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
