[Python-bugs-list] [ python-Bugs-598097 ] SocketType is not type(socket)
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 22 Aug 2002 10:09:57 -0700
Bugs item #598097, was opened at 2002-08-21 05:04
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=598097&group_id=5470
Category: Python Library
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: June Kim (juneaftn)
>Assigned to: Tim Peters (tim_one)
Summary: SocketType is not type(socket)
Initial Comment:
Python 2.2.* and 2.3.a0 on win 32
>>> from socket import *
>>> s=socket(AF_INET,SOCK_STREAM)
>>> type(s) is SocketType
False (or 0)
----------------------------------------------------------------------
>Comment By: Jeremy Hylton (jhylton)
Date: 2002-08-22 17:09
Message:
Logged In: YES
user_id=31392
This code works as expected on Linux, so it must be Tim's fault.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=598097&group_id=5470