commit | 4e908107b04b0f4dc64cca89d4a20819e0987620 | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Fri Apr 21 11:26:56 2006 +0000 |
committer | Thomas Wouters <thomas@python.org> | Fri Apr 21 11:26:56 2006 +0000 |
tree | cc26524b1ec49f7b136802a36786348f95db5093 | |
parent | 64ed043c9ada5be6c9a74c72e18f8fd14d696a30 [diff] |
Fix variable/format-char discrepancy in new-style class __getitem__, __delitem__, __setslice__ and __delslice__ hooks. This caused test_weakref and test_userlist to fail in the p3yk branch (where UserList, like all classes, is new-style) on amd64 systems, with open-ended slices: the sys.maxint value for empty-endpoint was transformed into -1.