summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-12 05:18:58 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-09-12 05:18:58 (GMT)
commitaf90b3e610212a4994962246875e5bfc5574dff6 (patch)
tree241056a3295c441dc7ef56d2cd690af5f1287281 /Objects/object.c
parent7a29bd58614da9fc478d7167ba918d92c2dcca7e (diff)
downloadcpython-af90b3e610212a4994962246875e5bfc5574dff6.zip
cpython-af90b3e610212a4994962246875e5bfc5574dff6.tar.gz
cpython-af90b3e610212a4994962246875e5bfc5574dff6.tar.bz2
str_subtype_new, unicode_subtype_new:
+ These were leaving the hash fields at 0, which all string and unicode routines believe is a legitimate hash code. As a result, hash() applied to str and unicode subclass instances always returned 0, which in turn confused dict operations, etc. + Changed local names "new"; no point to antagonizing C++ compilers.
Diffstat (limited to 'Objects/object.c')
0 files changed, 0 insertions, 0 deletions