Message283406
After further analysis I conclude that instance dict can be only NULL or a dict. Therefore PyDict_Size() is correctly used in typeobject.c and _datetimemodule.c. It never fails, and additional PyDict_Check() is not needed.
Committed changes don't include switching a dict structure to PyVarObject. Separate issue28988 is opened for this.
Thanks Raymond, Inada and Victor for your reviews. |
|
Date |
User |
Action |
Args |
2016-12-16 15:09:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, vstinner, methane, python-dev |
2016-12-16 15:09:04 | serhiy.storchaka | set | messageid: <1481900944.03.0.10199351524.issue28959@psf.upfronthosting.co.za> |
2016-12-16 15:09:04 | serhiy.storchaka | link | issue28959 messages |
2016-12-16 15:09:03 | serhiy.storchaka | create | |
|