[issue15828] imp.load_module doesn't support C_EXTENSION type

Paul Moore report at bugs.python.org
Mon Sep 10 12:43:44 CEST 2012


Paul Moore added the comment:

The applied fix appears to have a regression - the file argument is not allowed to be None. The pywin32 post-install script calls imp.load_module for a C extension with file=None, so presumably this worked in earlier versions.

The regression breaks the postinstall script for pywin32, meaning that the start menu shortcuts do not get installed. I do not know if it has any more serious consequences for pywin32.

----------
nosy: +pmoore

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15828>
_______________________________________


More information about the Python-bugs-list mailing list