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: socket.py wrapper needs a class
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, mgilfix, tim.peters
Priority: normal Keywords:

Created on 2002-07-31 17:50 by tim.peters, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (4)
msg11772 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-07-31 17:50
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.
"""
msg11773 - (view) Author: Michael Gilfix (mgilfix) Date: 2002-07-31 20:36
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?
msg11774 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-07-31 20:44
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.)
msg11775 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-08-08 18:25
Logged In: YES 
user_id=6380

I've checked this in now.
History
Date User Action Args
2022-04-10 16:05:32adminsetgithub: 36961
2002-07-31 17:50:41tim.peterscreate