Message281547
sre-concrete.patch is wrong: if groupindex is a subtype of dict, you should use PyObject_GetItem.
I like the idea of using PyDict_GetItem, you should just implement stricter checks in _sre.compile(). Maybe using PyDict_CheckExact?
Since it's a private module, we don't have to support all types. It's ok to implement further optimizations. |
|
Date |
User |
Action |
Args |
2016-11-23 09:21:43 | vstinner | set | recipients:
+ vstinner, ezio.melotti, mrabarnett, python-dev, serhiy.storchaka |
2016-11-23 09:21:43 | vstinner | set | messageid: <1479892903.12.0.078578682957.issue28765@psf.upfronthosting.co.za> |
2016-11-23 09:21:43 | vstinner | link | issue28765 messages |
2016-11-23 09:21:42 | vstinner | create | |
|