Message194957
+PyObject *
+PyState_GetModuleAttr(struct PyModuleDef *def,
+ const char *name,
+ PyObject *restrict_type)
When the char* type is used, the function has usually the suffix String. I prefer the PyIdentifier API because it avoids to create a temporary Python Unicode object.
It's the first type that I see a function getting an attribute which also checks for its type. I don't know if the check should be done in PyState_GetModuleAttr() or in the _csv module. |
|
Date |
User |
Action |
Args |
2013-08-12 13:01:32 | vstinner | set | recipients:
+ vstinner, loewis, ncoghlan, pitrou, christian.heimes, eli.bendersky |
2013-08-12 13:01:31 | vstinner | set | messageid: <1376312491.98.0.263740078555.issue18710@psf.upfronthosting.co.za> |
2013-08-12 13:01:31 | vstinner | link | issue18710 messages |
2013-08-12 13:01:31 | vstinner | create | |
|