[New-bugs-announce] [issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

Christian Heimes report at bugs.python.org
Mon May 5 13:27:46 CEST 2008


New submission from Christian Heimes <lists at cheimes.de>:

os.fstat doesn't accept a file object with a fileno() method. This can
easily be fixed by using PyObject_AsFileDescriptor(). Other os.f*
methods may suffer from the same issue.

----------
components: Extension Modules
keywords: easy
messages: 66266
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: os.fstat and other os.f* methods should use PyObject_AsFileDescriptor
type: feature request
versions: Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2768>
__________________________________


More information about the New-bugs-announce mailing list