2.6 and sys.exit()
rt8396 at gmail.com
Fri Nov 13 05:22:38 CET 2009
On Nov 12, 10:07 pm, hetchkay <hetch... at gmail.com> wrote:
> I have the following in exit.py:
> import sys
> I now try 'python -i exit.py':
> In 2.5, the script exits as I would expect.
> In 2.6, the following error is printed:
> Traceback (most recent call last):
> File "exit.py", line 2, in <module>
> SystemExit: 0
> I couldn't find anything related to this in "What's new in 2.6".
Look here ;-)
More information about the Python-list