[Python-Dev] Divorcing str and unicode (no more implicit conversions). (original) (raw)
Martin Blais blais at furius.ca
Mon Oct 3 16:34:09 CEST 2005
- Previous message: [Python-Dev] Divorcing str and unicode (no more implicit conversions).
- Next message: [Python-Dev] Divorcing str and unicode (no more implicit conversions).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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,
- Previous message: [Python-Dev] Divorcing str and unicode (no more implicit conversions).
- Next message: [Python-Dev] Divorcing str and unicode (no more implicit conversions).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]