[issue24370] OrderedDict behavior is unclear with misbehaving keys.

2015-08-05 Thread Eric Snow
Eric Snow added the comment: Fair enough. -- resolution: - not a bug stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24370 ___

[issue24370] OrderedDict behavior is unclear with misbehaving keys.

2015-06-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would expect the behavior to be undefined (though non-crashing). That is all you should expect. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24370

[issue24370] OrderedDict behavior is unclear with misbehaving keys.

2015-06-19 Thread Rose Ames
Changes by Rose Ames r...@happyspork.com: -- nosy: +superluser ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24370 ___ ___ Python-bugs-list

[issue24370] OrderedDict behavior is unclear with misbehaving keys.

2015-06-02 Thread Eric Snow
New submission from Eric Snow: How well does OrderedDict need to behave in the face of keys with unstable hashes (e.g. define __hash__ with varying results across calls)? I would expect the behavior to be undefined (though non-crashing). Here's an example of a misbehaving key: class