>>>>> "MH" == Mark Hammond <MHammond at skippinet.com.au> writes: MH> OTOH, my gut tells me this is better - that an implicit MH> conversion to the seperator type be performed. Right now, the implementation of join uses PyObject_Str() to str-ify the elements in the sequence. I can't remember, but in our Unicode worldview doesn't PyObject_Str() return a narrowed string if it can, and raise an exception if not? So maybe narrow-string's join shouldn't be doing it this way because that'll autoconvert to the separator's type, which breaks the symmetry. OTOH, we could promote sep to the type of sequence[0] and forward the call to it's join if it were a widestring. That should retain the symmetry. -Barry
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4