commit | f408ddf4a0f10f3d84a723c671a633c8146d4a69 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Aug 17 00:27:42 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Aug 17 00:27:42 2005 +0000 |
tree | a9a0cc26572f7fa417c0f18bd8a8b6de4044692e | |
parent | c47e01d02021253dd9f8fd4ced6eb663436431bb [diff] |
Results of a line-by-line comparison back to dictobject.c. * set_merge() cannot assume that the table doesn't resize during iteration. * convert some unnecessary tests to asserts -- they were necessary in dictobject.c because PyDict_Next() is a public function. The same is not true for set_next(). * re-arrange the order of functions to more closely match the order in dictobject.c. This makes it must easier to compare the two and ought to simplify any issues of maintaining both.