Antoine Pitrou added the comment:

> > Why should it?
> 
> fstat() does not need to create a new file descriptor. Creating a new
> file descriptor can fail (ex: limit of the number of open files).

Why should I care? fstat() can fail too.
The only important thing is whether dup() returns EBADF or not.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18804>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to