diff options
author | Barry Warsaw <barry@python.org> | 2000-07-11 04:58:12 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-07-11 04:58:12 (GMT) |
commit | 771d0675b6fc08f2744c71cc66664d4ea4b22271 (patch) | |
tree | f1c1edcad8a33c8b4b078b35f6b8c6b090e58c01 /Tools | |
parent | 20f41b64563283467529dd1a001afafebf10d939 (diff) | |
download | cpython-771d0675b6fc08f2744c71cc66664d4ea4b22271.zip cpython-771d0675b6fc08f2744c71cc66664d4ea4b22271.tar.gz cpython-771d0675b6fc08f2744c71cc66664d4ea4b22271.tar.bz2 |
string_join(): Some cleaning up of reference counting. In the
seqlen==1 clause, before returning item, we need to DECREF seq. In
the res=PyString... failure clause, we need to goto finally to also
decref seq (and the DECREF of res in finally is changed to a
XDECREF). Also, we need to DECREF seq just before the
PyUnicode_Join() return.
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions