[issue14593] PyErr_SetFromImportErrorWithNameAndPath lacks error checking

2012-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> duplicate status: open -> closed superseder: -> Change ImportError reference handling, naming ___ Python tracker ___ _

[issue14593] PyErr_SetFromImportErrorWithNameAndPath lacks error checking

2012-04-16 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14593] PyErr_SetFromImportErrorWithNameAndPath lacks error checking

2012-04-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : The PyErr_SetFromImportErrorWithNameAndPath implementation never checks for the various results returned by the C API functions it invokes. (also, it needs documenting, see python-dev) As for PyErr_SetExcWithArgsKwargs, there's a potential refleak when args