[New-bugs-announce] [issue23566] RFE: faulthandler.register() should support file descriptors
STINNER Victor
report at bugs.python.org
Tue Mar 3 01:00:15 CET 2015
New submission from STINNER Victor:
Currently, functions of the faulthandler module require a file-like object (with a fileno() method). It would be nice to accept also file descriptors (int).
Example of code using faulthandler which creates an useless file object just to pass a file descriptor:
https://github.com/nicoddemus/pytest-faulthandler/blob/master/pytest_faulthandler.py#L13
----------
keywords: easy
messages: 237091
nosy: haypo
priority: normal
severity: normal
status: open
title: RFE: faulthandler.register() should support file descriptors
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23566>
_______________________________________
More information about the New-bugs-announce
mailing list