[New-bugs-announce] [issue10100] fromfd is now available on all platforms

Daniel Stutzbach report at bugs.python.org
Thu Oct 14 12:53:09 CEST 2010


New submission from Daniel Stutzbach <daniel at stutzbachenterprises.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 118646
nosy: docs at python, stutzbach
priority: normal
severity: normal
stage: needs patch
status: open
title: fromfd is now available on all platforms
type: behavior
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10100>
_______________________________________


More information about the New-bugs-announce mailing list