[issue13037] [Regression] socket.error does not inherit from IOError as documented

2011-09-23 Thread Christopher Egner
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

[issue13037] [Regression] socket.error does not inherit from IOError as documented

2011-09-23 Thread Christopher Egner
Christopher Egner added the comment: Or I could learn to type... -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue6737] PEP 372 odict.__eq__ behaves incorrectly

2009-08-19 Thread Christopher Egner
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

[issue6737] PEP 372 odict.__eq__ behaves incorrectly

2009-08-19 Thread Christopher Egner
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