[issue23566] RFE: faulthandler.register() should support file descriptors
Wei Wu
report at bugs.python.org
Fri Mar 13 04:39:53 CET 2015
Wei Wu added the comment:
Or we could reuse the file created by filename in subprocess?
if filename:
file = open(filename, "wb")
if use_fd:
file = file.fileno()
else:
file = None
In this case, we need to pass two arguments(both filename and a bool use_fd) to check_xxx functions.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23566>
_______________________________________
More information about the Python-bugs-list
mailing list