[issue6446] import_spam() in extending python can fail without setting the error.

2009-07-11 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r73938. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue6446] import_spam() in extending python can fail without setting the error.

2009-07-09 Thread Julian Andres Klode
New submission from Julian Andres Klode : The given example function initspam fails if an Based on some experience with my own code, I have found out that the function import_spam() fails when the module is not importable. In this case, it returns 0, although it should return -1 when an error o