Message192854
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:33 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, christian.heimes, python-dev, Padowan |
2013-07-11 09:32:32 | amaury.forgeotdarc | set | messageid: <1373535153.0.0.840256567927.issue18426@psf.upfronthosting.co.za> |
2013-07-11 09:32:32 | amaury.forgeotdarc | link | issue18426 messages |
2013-07-11 09:32:32 | amaury.forgeotdarc | create | |
|