Roger Serwy added the comment:

Terry, I agree that the original patch introduces a buggy fileno and it "knows" 
too much about the internals of site.py which could change.

The attached patch modifies site.py, similar to how Nick Coghlan split the two 
function calls in a single try/except block into two separate try/except 
blocks. I tried to keep the change as small as possible to avoid introducing 
any unintended regressions. The change does pass the test suite on 3.4 on Linux.

----------
Added file: http://bugs.python.org/file29620/issue17585.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17585>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to