]> granicus.if.org Git - python/commit
_copy_characters(): move debug code at the top to avoid noisy #ifdef
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 16 Jun 2012 14:38:26 +0000 (16:38 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 16 Jun 2012 14:38:26 +0000 (16:38 +0200)
commitf185226244bdb3ead8c0ff44153d5ef5420464f1
treefa80c4401aca29b5bccc2452c6df46183c4c7f0a
parent6319e0fa2037a70435dfba8c3be2c0db3ae8b7ec
_copy_characters(): move debug code at the top to avoid noisy #ifdef

And don't use assert() anymore if check_maxchar is set: return -1 on error
instead.
Objects/unicodeobject.c