Message182788
Here's a suggestion for a documentation addition. Comments on tone and content are welcome, and I'm willing to update it and submit modified patch files.
This adds the following note:
If a file descriptor *fileno* is specified, the other arguments
are ignored and and the socket with this file descriptor is returned. Unlike
:meth:`fromfd`, this does not cause a duplication of the file descriptor
and therefore supports the special case of closing detached socket handles
on Windows using ``socket.socket(fileno=handle).close()``. |
|
Date |
User |
Action |
Args |
2013-02-23 18:38:00 | hheimbuerger | set | recipients:
+ hheimbuerger, gvanrossum, pitrou, giampaolo.rodola, ezio.melotti, docs@python, sbt, serhiy.storchaka |
2013-02-23 18:38:00 | hheimbuerger | set | messageid: <1361644680.15.0.107505878967.issue16802@psf.upfronthosting.co.za> |
2013-02-23 18:38:00 | hheimbuerger | link | issue16802 messages |
2013-02-23 18:38:00 | hheimbuerger | create | |
|