SIGN IN SIGN UP

Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to

pass it the true file.  This is used to set __file__ properly, instead
of believing what the code object carries with it.  (If the pointer
is NULL, the code object's co_filename is still used.)
G
Guido van Rossum committed
e32bf6ead2ae610f5b318c4fbd1c926241fbc3b1
Parent: fccb68e