Message23215
I tried running compileall.py from IDLE with Python 2.4c1
(WinXP, SP1).
I get the following 'error':
....
Listing C:\WINDOWS\System32\python24.zip ...
Can't list C:\WINDOWS\System32\python24.zip
Listing C:\Python24 ...
Listing C:\Python24\DLLs ...
Listing C:\Python24\lib ...
Listing C:\Python24\lib\plat-win ...
Can't list C:\Python24\lib\plat-win
Listing C:\Python24\lib\lib-tk ...
Compiling C:\Python24\lib\lib-tk\Canvas.py ...
Compiling C:\Python24\lib\lib-tk\Dialog.py ...
Compiling C:\Python24\lib\lib-tk\FileDialog.py ...
Compiling C:\Python24\lib\lib-tk\ScrolledText.py ...
Compiling C:\Python24\lib\lib-tk\Tix.py ...
Compiling C:\Python24\lib\lib-tk\Tkdnd.py ...
Compiling C:\Python24\lib\lib-tk\turtle.py ...
Traceback (most recent call last):
File "C:\Python24\Lib\compileall.py", line 157, in
-toplevel-
sys.exit(exit_status)
SystemExit: False
>>>
Shouldn't an integer value (e.g. 0) be returned by
sys.exit?
It's nice that you can see where the script has ended,
but I think it's good to be more elaborate that
everything went OK. I think some users might think it's
strange to get a Traceback when everything is ok. |
|
Date |
User |
Action |
Args |
2007-08-23 14:27:39 | admin | link | issue1069409 messages |
2007-08-23 14:27:39 | admin | create | |
|