diff options
author | Raymond Hettinger <python@rcn.com> | 2013-08-21 05:28:24 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-08-21 05:28:24 (GMT) |
commit | ae9e616a00e0a288c31dc053db40353302823e88 (patch) | |
tree | 2aa78daeeb0535e22b040221a4ef63c00dac6bd6 /Doc/tutorial/interpreter.rst | |
parent | 0688897f056283d497b3e19a7a9806bcdd583494 (diff) | |
download | cpython-ae9e616a00e0a288c31dc053db40353302823e88.zip cpython-ae9e616a00e0a288c31dc053db40353302823e88.tar.gz cpython-ae9e616a00e0a288c31dc053db40353302823e88.tar.bz2 |
Issue 18772: Restore set dummy object back to unicode and restore the identity checks in lookkey().
The Gdb prettyprint plugin depended on the dummy object being displayable.
Other solutions besides a unicode object are possible. For now, get it
back up and running.
The identity checks in lookkey() need to be there to prevent the dummy
object from leaking through Py_RichCompareBool() into user code in the
rare circumstance where the dummy's hash value exactly matches the hash
value of the actual key being looked up.
Diffstat (limited to 'Doc/tutorial/interpreter.rst')
0 files changed, 0 insertions, 0 deletions