thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

sys.exit() doesn't work #377

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A sys.exit() call doesn't stop the current script, e.g.:

import sys

sys.exit()

print "hello"

always prints hello

Original issue reported on code.google.com by mproel...@googlemail.com on 1 Aug 2010 at 12:50

GoogleCodeExporter commented 9 years ago
Cannot reproduce.  With either the internal or the remote engine "hello" is not 
printed.  sys.exit is overwritten with a dummy function only in the RemoteTk 
and RemoteWx engines, but in any case these engines are only recommended for 
running matplotlib in interactive mode.

Original comment by pyscripter on 10 Aug 2010 at 3:22