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 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
History
Date User Action Args
2012-12-10 11:48:41lemburgsetrecipients: + lemburg, loewis, belopolsky, pitrou, asvetlov, Robin.Schreiber
2012-12-10 11:48:41lemburglinkissue15390 messages
2012-12-10 11:48:41lemburgcreate