Message194949
| Author |
pitrou |
| Recipients |
eli.bendersky, loewis, ncoghlan, pitrou |
| Date |
2013年08月12日.12:40:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1376311241.36.0.528101018546.issue18710@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attached patch adds PyState_GetModuleAttr() and converts the _csv module to use it (as an example).
As you can see, the _csv module grows a little but it now has proper error handling (previously, it didn't check for PyState_FindModule() returning NULL).
(A few lines would be removed if we added PyErr_FormatV as well...) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年08月12日 12:40:41 | pitrou | set | recipients:
+ pitrou, loewis, ncoghlan, eli.bendersky |
| 2013年08月12日 12:40:41 | pitrou | set | messageid: <1376311241.36.0.528101018546.issue18710@psf.upfronthosting.co.za> |
| 2013年08月12日 12:40:41 | pitrou | link | issue18710 messages |
| 2013年08月12日 12:40:41 | pitrou | create |
|