summaryrefslogtreecommitdiff
path: root/Python/future.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-08-20 22:28:24 -0700
committerRaymond Hettinger <python@rcn.com>2013-08-20 22:28:24 -0700
commitae9e616a00e0a288c31dc053db40353302823e88 (patch)
tree2aa78daeeb0535e22b040221a4ef63c00dac6bd6 /Python/future.c
parent0688897f056283d497b3e19a7a9806bcdd583494 (diff)
downloadcpython-git-ae9e616a00e0a288c31dc053db40353302823e88.tar.gz
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 'Python/future.c')
0 files changed, 0 insertions, 0 deletions