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.
History
Date User Action Args
2017-04-13 21:14:50serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti, mrabarnett, python-dev
2017-04-13 21:14:50serhiy.storchakasetmessageid: <1492118090.9.0.999250620635.issue28765@psf.upfronthosting.co.za>
2017-04-13 21:14:50serhiy.storchakalinkissue28765 messages
2017-04-13 21:14:50serhiy.storchakacreate