STINNER Victor added the comment:
Python 2.7 is close to it's end of life, Python 3 doesn't have execfile(), and
this issue has no activity since 2014. I close the issue.
--
nosy: +vstinner
resolution: -> out of date
stage: -> resolved
status: open -> closed
Robert Snoeberger added the comment:
I created a patch to add a check for NULL globals or locals. The file
execfile.patch is attached. A system error is set with the message globals and
locals cannot be NULL if either is NULL.
An open question I have is how should I create tests for this
New submission from Robert Snoeberger:
While embedding the Python 2.7 interpreter in an application, I have
encountered a crash when the built-in function 'execfile' is invoked with one
argument.
A file is attached, execfile_invoke.c, that reproduces the crash. The
reproduction steps on my