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

noreply@sourceforge.net noreply@sourceforge.net
Wed, 31 Jul 2002 13:44:02 -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: Guido van Rossum (gvanrossum)
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.
"""

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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-07-31 16:44

Message:
Logged In: YES 
user_id=6380

Just email me the patch. (I think SF won't let you do this
because you didn't create the issue. sigh.)

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

Comment By: Michael Gilfix (mgilfix)
Date: 2002-07-31 16:36

Message:
Logged In: YES 
user_id=116038

I have a patch for this but can't seem to attach a file
because it's assigned to Guido. Can you change the assignment?

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

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