Message291632
| Author |
serhiy.storchaka |
| Recipients |
ezio.melotti, mrabarnett, python-dev, serhiy.storchaka, vstinner |
| Date |
2017年04月13日.21:14:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1492118090.9.0.999250620635.issue28765@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Since _sre.compile is not a public API, and is called only with exact list/dict/tuple types in the stdlib, I prefer to ignore possible differences between base classes and subclasses. This makes the code cleaner.
Searching on GitHub shows that usages of _sre.compile() in third-party code are not compatible with current _sre.compile() since all arguments now are mandatory and indexgroup must be a tuple, not None. |
|