This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kbk
Recipients
Date 2004-12-20.00:20:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=149084

From compileall.py:155 :

if __name__ == '__main__':
    exit_status = not main()
    sys.exit(exit_status)

IDLE traps the sys.exit() because quitting IDLE is 
usually not what the user wants to do when it's
encountered in the user's program.  

compileall.py is exiting with a False status, equivalent
to the conventional UNIX success return of zero.  You
could take it up with the compileall.py maintainer, but
to me it's no biggie.  In any case, IDLE is working as
designed.

You can actually run this by 
$ idle -r compileall.py

It will end up in the IDLE shell when finished, just close
the shell  :-)

Works on Windows, too, but the pathnames are more
complicated because IDLE isn't currently installed
correctly.
History
Date User Action Args
2007-08-23 14:27:39adminlinkissue1069409 messages
2007-08-23 14:27:39admincreate