• Tim Peters's avatar
    PyUnicode_Join(): Two primary aims: · 8ce9f162
    Tim Peters authored
    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.
    8ce9f162
unicodeobject.c 185 KB