[issue1877] unhelpful error when calling "python <dirname>"
report at bugs.python.org
Fri Feb 22 16:39:08 CET 2008
Alexander Belopolsky added the comment:
I understand the __main__.py issue now, but I still don't like your
approach. Allowing RunMainFromImporter to call exit and never return
does not feel right. (A minor problem is that objects on the C stack do
not get deleted.) Without a check for Py_None return, the comment
"argv0 is usable as an import source" is misleading.
Tracker <report at bugs.python.org>
More information about the Python-bugs-list