]> granicus.if.org Git - python/commit
Issue #14716: Change integer overflow check in unicode_writer_prepare()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 7 May 2012 11:02:44 +0000 (13:02 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 7 May 2012 11:02:44 +0000 (13:02 +0200)
commit0576f9b4cf7e4b373eff1e610d6c63682a0ce089
tree11397888b29ab247c6d098be38df047bd48d2d4a
parent202fdca133ce8f5b0c37cca1353070e0721c688d
Issue #14716: Change integer overflow check in unicode_writer_prepare()
to compute the limit at compile time instead of runtime. Patch writen by Serhiy
Storchaka.
Objects/unicodeobject.c