Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2016-11-21.16:35:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479746156.55.0.606982130161.issue28765@psf.upfronthosting.co.za>
In-reply-to
Content
If make groupindex and indexgroup a dict and a tuple, we could use concrete dict and tuple API instead of generic mapping and sequence APIs.

Note that groups, groupindex and indexgroup are not independent. Actually indexgroup is derived from groups and groupindex (in Python code), but groups and groupindex could be derived from indexgroup. groups could be derived from code. The interface of _sre.compile() can be simplified by passing only groupindex or indexgroup. Current interface is only for backward compatibility. I don't know whether this still is needed.
History
Date User Action Args
2016-11-21 16:35:56serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2016-11-21 16:35:56serhiy.storchakasetmessageid: <1479746156.55.0.606982130161.issue28765@psf.upfronthosting.co.za>
2016-11-21 16:35:56serhiy.storchakalinkissue28765 messages
2016-11-21 16:35:56serhiy.storchakacreate