[IronPython] FePy socket.py w/ _fileobject

Christopher Baus christopher at baus.net
Sat Nov 11 19:10:40 CET 2006


I copied the _fileobject class directly from the standard library and
added it to socket.py.

The end result is here:
https://svn3.cvsdude.com/baus/s2/webapp/bin/Lib/s2/socket.py

As I mentioned in a previous post, _fileobject is used by urllib2.  I
think urllib2 is doing something fishy, but a lot of other packages depend
on urllib2.  It seemed like the easiest thing to do was to provide the
class for compatibility with CPython.


http://baus.net/




More information about the Ironpython-users mailing list