Message281379
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. |
|
Date |
User |
Action |
Args |
2016-11-21 16:35:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner |
2016-11-21 16:35:56 | serhiy.storchaka | set | messageid: <1479746156.55.0.606982130161.issue28765@psf.upfronthosting.co.za> |
2016-11-21 16:35:56 | serhiy.storchaka | link | issue28765 messages |
2016-11-21 16:35:56 | serhiy.storchaka | create | |
|