]> granicus.if.org Git - python/commit
Optimize PyBytes_FromObject(): only overallocate when size=0 to not get the
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 17 Aug 2014 19:12:18 +0000 (21:12 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 17 Aug 2014 19:12:18 +0000 (21:12 +0200)
commit88d146b7b9cece5c3e2e85feedce3417a589e8c3
tree5c590cb9a6796df62a25087bf47abd1f15ce6373
parentcfcde8ca400cf77cc83c03b83813f1c106a2947a
Optimize PyBytes_FromObject(): only overallocate when size=0 to not get the
empty string singleton
Objects/bytesobject.c