Message111695
create a test.py with this content:
print("test")
run this file from command line by redirecting the output:
test.py >out.log
You get:
----
close failed in file object destructor:
Error in sys.excepthook:
Original exception was:
----
This does not happen if you call the script by using "python test.py >out.log"
Also this does not reproduce with Python 3.1 but it does reproduce with latest Python 2.6 and 2.7 under windows.
You can switch the registered python interpreter via registry key:
[HKEY_CLASSES_ROOT\Python.File\shell\open\command]
@="\"C:\\lib\\Python27\\python.exe\" \"%1\" %*" |
|
Date |
User |
Action |
Args |
2010-07-27 12:51:29 | ssbarnea | set | recipients:
+ ssbarnea |
2010-07-27 12:51:29 | ssbarnea | set | messageid: <1280235089.13.0.870066677678.issue9390@psf.upfronthosting.co.za> |
2010-07-27 12:51:25 | ssbarnea | link | issue9390 messages |
2010-07-27 12:51:24 | ssbarnea | create | |
|