diff options
author | Raymond Hettinger <python@rcn.com> | 2005-08-17 00:27:42 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-08-17 00:27:42 (GMT) |
commit | f408ddf4a0f10f3d84a723c671a633c8146d4a69 (patch) | |
tree | a9a0cc26572f7fa417c0f18bd8a8b6de4044692e /Python/compile.c | |
parent | c47e01d02021253dd9f8fd4ced6eb663436431bb (diff) | |
download | cpython-f408ddf4a0f10f3d84a723c671a633c8146d4a69.zip cpython-f408ddf4a0f10f3d84a723c671a633c8146d4a69.tar.gz cpython-f408ddf4a0f10f3d84a723c671a633c8146d4a69.tar.bz2 |
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.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions