[issue1877] unhelpful error when calling "python <dirname>"
Alexander Belopolsky
report at bugs.python.org
Fri Feb 22 16:39:08 CET 2008
Alexander Belopolsky added the comment:
Nick,
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>
<http://bugs.python.org/issue1877>
__________________________________
More information about the Python-bugs-list
mailing list