This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: fromfd is now available on all platforms
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.1, Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: amaury.forgeotdarc, docs@python, orsenthil, stutzbach
Priority: normal Keywords:

Created on 2010-10-14 10:53 by stutzbach, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg118646 - (view) Author: Daniel Stutzbach (stutzbach) (Python committer) Date: 2010-10-14 10:53
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
msg118743 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-10-15 06:52
You already changed the test in r84449!
The doc still needs updating.
msg118751 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2010-10-15 09:02
Docs changed committed in revision 85514.
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54309
2010-10-15 09:02:50orsenthilsetstatus: open -> closed

nosy: + orsenthil
messages: + msg118751

resolution: fixed
stage: needs patch -> resolved
2010-10-15 06:52:40amaury.forgeotdarcsetnosy: + amaury.forgeotdarc
messages: + msg118743
2010-10-14 10:53:07stutzbachcreate