New submission from Daniel Stutzbach <dan...@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: d...@python
components: Documentation
messages: 118646
nosy: d...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to