Ross Lagerwall <rosslagerw...@gmail.com> added the comment:

The reason I made it like that was that it seemed "closer" to the fdopendir() 
function which steals the fd for internal use.

However, I agree that it makes more sense to dup() it.

Patch looks good.

----------

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

Reply via email to