[Python-bugs-list] [ python-Bugs-589262 ] socket.py wrapper needs a class

noreply@sourceforge.net noreply@sourceforge.net
Wed, 31 Jul 2002 10:50:41 -0700


Bugs item #589262, was opened at 2002-07-31 13:50
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=589262&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket.py wrapper needs a class

Initial Comment:
An easy one for the mildly ambitious <wink>:

"""
[Guido]
There's another change we should really make --
instead of a socket function, there should be a class
socket whose constructor does the work.  That's
necessary so that isinstance(s, socket.socket) works
on Windows; this currently works on Unix but not on 
Windows.
"""

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=589262&group_id=5470