commit | 003be529323a395be4a17c779aff7e4737170bbf | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue May 03 11:01:32 2011 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Tue May 03 11:01:32 2011 -0700 |
tree | 77277ef2fa91c41d4beed7dd1f4b2dc9da1f26ae | |
parent | 5098d44354d612445aa2dd97a304ed0c0660f236 [diff] [blame] |
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
diff --git a/Misc/NEWS b/Misc/NEWS index 8ca2f02..f77befd 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -81,6 +81,8 @@ - logging: don't define QueueListener if Python has no thread support. +- functools.cmp_to_key() now works with collections.Hashable(). + - Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.