Re: [IronPython] socket, _socket, and socket.py

2011-05-18 Thread Zachary Gramana
- boun...@lists.ironpython.com] On Behalf Of Zachary Gramana Sent: Tuesday, May 17, 2011 3:38 PM To: Discussion of IronPython Subject: Re: [IronPython] socket, _socket, and socket.py I noticed this, with a little disappointment. I also noticed that they implemented a sort of ersatz/platform agnostic

Re: [IronPython] socket, _socket, and socket.py

2011-05-17 Thread Curt Hagenlocher
Originally, we weren't allowed to redistribute the Python standard library with IronPython. So it made sense to implement the socket module directly. When IronPython started shipping the standard lib, it could have been changed, but never was. I think it makes sense to follow the CPython pattern.

Re: [IronPython] socket, _socket, and socket.py

2011-05-17 Thread Dino Viehland
Jython also has a custom socket.py. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Curt Hagenlocher Sent: Tuesday, May 17, 2011 2:59 PM To: Discussion of IronPython Subject: Re: [IronPython] socket, _socket, and socket.py Originally, we weren't

Re: [IronPython] socket, _socket, and socket.py

2011-05-17 Thread Zachary Gramana
Thanks Curt. That's encouraging news to hear. I've noticed that some Python projects have a dependency on being able to standard library methods and types. For example, Mercurial replaces buffer() with their own fakebuffer(), but ipy socket reads still return the original buffer. I ended

Re: [IronPython] socket, _socket, and socket.py

2011-05-17 Thread Zachary Gramana
I noticed this, with a little disappointment. I also noticed that they implemented a sort of ersatz/platform agnostic reference tracking system in ssl.py. Seeing the _makefile_refs system got me thinking about the whole ssl.py/_ssl.pyd paradigm and sockets.cs, since I remembered you tackled

Re: [IronPython] socket, _socket, and socket.py

2011-05-17 Thread Dino Viehland
To: Discussion of IronPython Subject: Re: [IronPython] socket, _socket, and socket.py I noticed this, with a little disappointment. I also noticed that they implemented a sort of ersatz/platform agnostic reference tracking system in ssl.py. Seeing the _makefile_refs system got me thinking about

Re: [IronPython] socket, _socket, and socket.py

2011-05-17 Thread Curt Hagenlocher
*Sent:* Tuesday, May 17, 2011 2:59 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] socket, _socket, and socket.py Originally, we weren't allowed to redistribute the Python standard library with IronPython. So it made sense to implement the socket module directly. When