homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, eli.bendersky, loewis, ncoghlan, pitrou, vstinner
Date 2013年08月12日.13:01:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376312491.98.0.263740078555.issue18710@psf.upfronthosting.co.za>
In-reply-to
Content
+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.
History
Date User Action Args
2013年08月12日 13:01:32vstinnersetrecipients: + vstinner, loewis, ncoghlan, pitrou, christian.heimes, eli.bendersky
2013年08月12日 13:01:31vstinnersetmessageid: <1376312491.98.0.263740078555.issue18710@psf.upfronthosting.co.za>
2013年08月12日 13:01:31vstinnerlinkissue18710 messages
2013年08月12日 13:01:31vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /