diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-16 01:08:01 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-16 01:08:01 (GMT) |
commit | 15231548d20b2a6fcac2830935ec076bed42448f (patch) | |
tree | 6831a1db2fb258a04b63c7089b086dd3f9f40c20 /Objects/funcobject.c | |
parent | c7f6cf62473d48b2c814b135b0026e74c3dfc3c5 (diff) | |
download | cpython-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 'Objects/funcobject.c')
0 files changed, 0 insertions, 0 deletions