diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-08-17 19:12:18 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-08-17 19:12:18 (GMT) |
commit | 88d146b7b9cece5c3e2e85feedce3417a589e8c3 (patch) | |
tree | 5c590cb9a6796df62a25087bf47abd1f15ce6373 /Python/pystate.c | |
parent | cfcde8ca400cf77cc83c03b83813f1c106a2947a (diff) | |
download | cpython-88d146b7b9cece5c3e2e85feedce3417a589e8c3.zip cpython-88d146b7b9cece5c3e2e85feedce3417a589e8c3.tar.gz cpython-88d146b7b9cece5c3e2e85feedce3417a589e8c3.tar.bz2 |
Optimize PyBytes_FromObject(): only overallocate when size=0 to not get the
empty string singleton
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions