New submission from Christopher Egner :
http://docs.python.org/library/socket.html#socket.error
"Changed in version 2.6: socket.error is now a child class of IOError."
However, this is not the case.
$ python
Python 2.7.2 (default, Aug 18 2011, 18:26:35)
[GCC 4.1.2 20080704 (Red Ha
Christopher Egner added the comment:
Or I could learn to type...
--
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
New submission from Christopher Egner :
The current definition for odict.__eq__ is
def __eq__(self, other):
if isinstance(other, OrderedDict):
return all(p==q for p, q in _zip_longest(self.items(),
other.items()))
return dict.__eq__(self, other)
The current
Christopher Egner added the comment:
I was running the odict.py file from the PEP, figured out that things
were going off the rails at dict.__eq__ and generalised, saw the same
implementation in OrderedDict, I thought the same problem would exist.
This is what I get for taking a shortcut.
I