[Python-Dev] Divorcing str and unicode (no more implicit conversions).

Martin Blais blais at furius.ca
Mon Oct 3 16:34:09 CEST 2005


On 10/3/05, M.-A. Lemburg <mal at egenix.com> wrote:
> >
> > I'm not sure it's a sensible default.
>
> Me neither, especially since this would make it impossible
> to write polymorphic code - e.g. ', '.join(list) wouldn't
> work anymore if list contains Unicode; dito for u', '.join(list)
> with list containing a string.

Sounds like what you want is exactly what I want to avoid (for those
two types anyway).

cheers,


More information about the Python-Dev mailing list