Message177277
| Author |
lemburg |
| Recipients |
Robin.Schreiber, asvetlov, belopolsky, lemburg, loewis, pitrou |
| Date |
2012年12月10日.11:48:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<50C5CC16.3080306@egenix.com> |
| In-reply-to |
<1355135970.92.0.137553812426.issue15390@psf.upfronthosting.co.za> |
| Content |
On 10.12.2012 11:39, Robin Schreiber wrote:
>
> Robin Schreiber added the comment:
>
> I have updated the patch to work again with the current version of the _datetimemodule.
Please use "_Py_" prefixes for private symbols you put in the header
files, e.g. _datetimemodulestate and the macros.
Question: What happens if PyModule_GetState() or PyState_FindModule()
raise an exception and return NULL ?
The current code will segfault in such a situation.
Thanks,
--
Marc-Andre Lemburg
eGenix.com |
|