Neil Muller <[EMAIL PROTECTED]> added the comment:

The attached patch changes most functions in posixmodule which require a
filedescriptor to use PyObjectAsDescriptor

There are a few cases, where I'm not certain of the usefulness of
changing the functions to support objects with fileno that I've left
untouched.
These are:
  tcgetpgrp
  tcsetpgrp
  closerange
  dup2
  fdopen
  isatty

The extension to these cases is trivial, though.

----------
keywords: +patch
nosy: +Neil Muller
Added file: http://bugs.python.org/file10239/posixmodule.diff

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2768>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to