SIGN IN SIGN UP

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.
T
Tim Peters committed
15231548d20b2a6fcac2830935ec076bed42448f
Parent: c7f6cf6