This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2015-03-03.00:00:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425340815.09.0.0278934920259.issue23566@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-03-03 00:00:15vstinnersetrecipients: + vstinner
2015-03-03 00:00:15vstinnersetmessageid: <1425340815.09.0.0278934920259.issue23566@psf.upfronthosting.co.za>
2015-03-03 00:00:15vstinnerlinkissue23566 messages
2015-03-03 00:00:15vstinnercreate