diff options
author | Raymond Hettinger <python@rcn.com> | 2010-04-03 03:14:28 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-04-03 03:14:28 (GMT) |
commit | 6b96ecb0ab8d06b7c11d1b82baebc47452a7b13e (patch) | |
tree | 7a05a7e8769a176b25d3858cb2f86bf3c3c8907f /Include/traceback.h | |
parent | 93232660bb96b8ab10de393850007b49b0cc595c (diff) | |
download | cpython-6b96ecb0ab8d06b7c11d1b82baebc47452a7b13e.zip cpython-6b96ecb0ab8d06b7c11d1b82baebc47452a7b13e.tar.gz cpython-6b96ecb0ab8d06b7c11d1b82baebc47452a7b13e.tar.bz2 |
Improve clear() method. Keeps key/value refcnts >= 1 until final dict.clear() so that decrefs to zero won't trigger arbitrary code . Also runs a bit faster.
Diffstat (limited to 'Include/traceback.h')
0 files changed, 0 insertions, 0 deletions