- 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 | rhettinger |
|---|---|
| Recipients | barry, rhettinger |
| Date | 2017-09-26.02:39:48 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1506393588.79.0.168204074265.issue31580@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
ISTM, the whole point is to compile in advance. When I worked during high frequency trading, that was essential to news trading where you *really* didn't want to pay the compilation cost at the time the regex was used. This proposal takes away the user's only control over when the regex is compiled. FWIW, if a user doesn't explicitly invoke re.compile() and instead uses a straight call to re.search(pattern, s), then the pattern is compiled on first-use and cached for future use. In other words, we already have a simple and clear way to auto-compile on first use. I recommend against taking away the only option to specify otherwise. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-09-26 02:39:48 | rhettinger | set | recipients: + rhettinger, barry |
| 2017-09-26 02:39:48 | rhettinger | set | messageid: <1506393588.79.0.168204074265.issue31580@psf.upfronthosting.co.za> |
| 2017-09-26 02:39:48 | rhettinger | link | issue31580 messages |
| 2017-09-26 02:39:48 | rhettinger | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
