]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Results of a line-by-line comparison back to dictobject.c.
authorRaymond Hettinger <python@rcn.com>
Wed, 17 Aug 2005 00:27:42 +0000 (00:27 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 17 Aug 2005 00:27:42 +0000 (00:27 +0000)
commitf408ddf4a0f10f3d84a723c671a633c8146d4a69
treea9a0cc26572f7fa417c0f18bd8a8b6de4044692e
parentc47e01d02021253dd9f8fd4ced6eb663436431bb
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.
Objects/setobject.c