Message244047
> Should dictobject.h get a bit more changes? In particular, should the following be expanded?
>
> #define PyDictKeys_Check(op) (Py_TYPE(op) == &PyDictKeys_Type)
> #define PyDictItems_Check(op) (Py_TYPE(op) == &PyDictItems_Type)
> #define PyDictValues_Check(op) (Py_TYPE(op) == &PyDictValues_Type)
> /* This excludes Values, since they are not sets. */
> # define PyDictViewSet_Check(op) \
> (PyDictKeys_Check(op) || PyDictItems_Check(op))
I'm missing some context here. I'm not sure how this relates to OrderedDict. |
|
Date |
User |
Action |
Args |
2015-05-25 18:53:53 | eric.snow | set | recipients:
+ eric.snow, rhettinger, gregory.p.smith, ncoghlan, pitrou, scoder, eric.smith, benjamin.peterson, ned.deily, ezio.melotti, eric.araujo, mrabarnett, Arfrever, alex, asvetlov, flox, Mark.Shannon, Jim.Jewett, serhiy.storchaka, yselivanov, westurner, refi64, josh.r, tonn81, introom |
2015-05-25 18:53:53 | eric.snow | link | issue16991 messages |
2015-05-25 18:53:53 | eric.snow | create | |
|