Message118646
fromfd is marked as Availability: Unix, but in Python 3 it is also available on Windows:
C:\>c:\python31\python.exe
Python 3.1 (r31:73574, Jun 26 2009, 20:21:35) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.fromfd
<function fromfd at 0x00B9FBB8>
The following lines can also be removed from testFromFd:
if not hasattr(socket, "fromfd"):
return # On Windows, this doesn't exist |
|
Date |
User |
Action |
Args |
2010-10-14 10:53:09 | stutzbach | set | recipients:
+ stutzbach, docs@python |
2010-10-14 10:53:09 | stutzbach | set | messageid: <1287053589.11.0.994213576919.issue10100@psf.upfronthosting.co.za> |
2010-10-14 10:53:06 | stutzbach | link | issue10100 messages |
2010-10-14 10:53:06 | stutzbach | create | |
|