Author ssbarnea
Recipients ssbarnea
Date 2010-07-27.12:51:24
SpamBayes Score 0.000175838
Marked as misclassified No
Message-id <>
create a with this content:

run this file from command line by redirecting the output: >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 >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:

@="\"C:\\lib\\Python27\\python.exe\" \"%1\" %*"
Date User Action Args
2010-07-27 12:51:29ssbarneasetrecipients: + ssbarnea
2010-07-27 12:51:29ssbarneasetmessageid: <>
2010-07-27 12:51:25ssbarnealinkissue9390 messages
2010-07-27 12:51:24ssbarneacreate