From: Jonathan M. <jon...@gm...> - 2011-06-27 11:23:20
|
Hi all, Since I last built a release of BPBible with py2exe, I added support for using faulthandler, a library to catch segmentation faults and actually give a decent stack trace for them (see http://pypi.python.org/pypi/faulthandler/). This seemed to work really well and do just what was expected. However, I discovered that it doesn't work with Py2exe (or at least not the version that I have with Python 2.6). The reason why is that faulthandler uses the fileno() method on standard input or standard output, and this doesn't exist in the dummy file handlers installed by py2exe. Has anyone come across this before? Is there an easy solution? Thanks, Jon |