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 amaury.forgeotdarc
Recipients Padowan, amaury.forgeotdarc, christian.heimes, python-dev
Date 2013-07-11.09:32:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm not sure the fix is correct: PyModule_GetDef() can return NULL without setting an error, for example when the init function returns a regular Python module.

I'm OK to require the init function to return a module created with PyModule_Create(), and fail when it's not the case. But an exception should be set.
(and a unit test would help...)
Date User Action Args
2013-07-11 09:32:33amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, christian.heimes, python-dev, Padowan
2013-07-11 09:32:32amaury.forgeotdarcsetmessageid: <>
2013-07-11 09:32:32amaury.forgeotdarclinkissue18426 messages
2013-07-11 09:32:32amaury.forgeotdarccreate