[issue10077] Python 3.1: site error is not logged

2010-10-23 Thread STINNER Victor
STINNER Victor added the comment: Commited to Python 3.1 (r85802). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue10077] Python 3.1: site error is not logged

2010-10-12 Thread STINNER Victor
New submission from STINNER Victor : If the site module fails, the error is not logged because of a bug in initsite(). The problem is that PyFile_WriteString() does nothing if an error occurred. - Edit Lib/site.py to add "raise Exception('xxx')" at the beginning of main() - Run ./python - (