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/

_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to