Changes by Petri Lehtinen pe...@digip.org:
--
resolution: - wont fix
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13321
___
Petri Lehtinen pe...@digip.org added the comment:
Closing as wontfix.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13321
___
___
Petri Lehtinen pe...@digip.org added the comment:
This is a request for new functionality, so marking as a feature request for
3.3. If implemented, the change should be applied to many other functions, in
the os module at least.
I'm not sure whether this is very useful, though. The
Changes by Benjamin Peterson benja...@python.org:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13321
___
___
Eric V. Smith e...@trueblade.com added the comment:
If I understand it correctly, this change request is to change os.fstat(obj)
(and probably other functions) to call obj.fileno(), instead of the caller
doing that?
If so, -1. Keep os.fstat() as a thin wrapper around fstat.
--
nosy:
New submission from Matt Joiner anacro...@gmail.com:
os.fstat doesn't not accept an object with the fileno() method.
Probably a bunch of other similar functions will not either.
In some parts of the standard library it's common practice to call
PyObject_AsFileDescriptor on fd-wrapping