[issue15390] PEP 3121, 384 refactoring applied to datetime module
Marc-Andre Lemburg
report at bugs.python.org
Mon Dec 10 12:48:41 CET 2012
Marc-Andre Lemburg added the comment:
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
----------
nosy: +lemburg
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15390>
_______________________________________
More information about the Python-bugs-list
mailing list