]> granicus.if.org Git - python/commit
PyUnicode_Join(): Two primary aims:
authorTim Peters <tim.peters@gmail.com>
Fri, 27 Aug 2004 01:49:32 +0000 (01:49 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 27 Aug 2004 01:49:32 +0000 (01:49 +0000)
commit8ce9f162595e500af16d8543e896ceeb815e51ac
tree8884f474bf784646e64214d4cc1f2fbf066367e8
parent00f8da77e7d07de28318844fbfbf6cf07f915cf4
PyUnicode_Join():  Two primary aims:

1. u1.join([u2]) is u2
2. Be more careful about C-level int overflow.

Since PySequence_Fast() isn't needed to achieve #1, it's not used -- but
the code could sure be simpler if it were.
Objects/unicodeobject.c