summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-02-16 01:08:01 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-02-16 01:08:01 (GMT)
commit15231548d20b2a6fcac2830935ec076bed42448f (patch)
tree6831a1db2fb258a04b63c7089b086dd3f9f40c20 /Python
parentc7f6cf62473d48b2c814b135b0026e74c3dfc3c5 (diff)
downloadcpython-15231548d20b2a6fcac2830935ec076bed42448f.zip
cpython-15231548d20b2a6fcac2830935ec076bed42448f.tar.gz
cpython-15231548d20b2a6fcac2830935ec076bed42448f.tar.bz2
doubletounicode(), longtounicode():
Py_SAFE_DOWNCAST can evaluate its first argument multiple times in a debug build. This caused two distinct assert- failures in test_unicode run under a debug build. Rewrote the code in trivial ways so that multiple evaluation of the first argument doesn't hurt.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions