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 ezio.melotti, mrabarnett, python-dev, serhiy.storchaka, vstinner
Date 2016-11-23.13:33:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't like it because it adds a cumbersome code for guarding against a case that doesn't happen in practice. This is just unpythonic. _sre.compile() is a private function and it is called only with exact types. Even if it would called with subtypes, most subtypes don't override __len__ and __getitem__. This restriction is too strong.
Date User Action Args
2016-11-23 13:33:40serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti, mrabarnett, python-dev
2016-11-23 13:33:40serhiy.storchakasetmessageid: <>
2016-11-23 13:33:40serhiy.storchakalinkissue28765 messages
2016-11-23 13:33:39serhiy.storchakacreate