[Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys
Josiah Carlson
jcarlson at uci.edu
Fri Aug 4 20:23:10 CEST 2006
There's one problem with generating a warning for 2.5, and that is the
same problem as generating a warning for possible packages that lack an
__init__.py; users may start to get a bunch of warnings, and be unaware
of how to suppress them.
All in all though, I'm +0 on the warning, and +1 on it not raising an
exception in 2.5 .
- Josiah
Barry Warsaw <barry at python.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Aug 4, 2006, at 11:43 AM, M.-A. Lemburg wrote:
>
> > How about generating a warning instead and then go for the exception
> > in 2.6 ?
>
> From the perspective of wanting to avoid blog entries in 2007
> railing against our gratuitous breakages in Python 2.5 but also
> wanting to avoid perpetuating broken code, this solution seems the
> most reasonable.
>
> - -Barry
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (Darwin)
>
> iQCVAwUBRNNu8HEjvBPtnXfVAQL9MQP/SCuLPFwS0m5vWJ3+i2iVZVCg21eXKQte
> R8zoTngSx7unxfn5WQ7Bi8l9Ai1SkmZ7z0mOr6UbtRXmxM9+HwSFvpYpWazuaC4R
> AylYA1ZbfsnzplHZW/TPxZKZJG++qWK2+mIcdHa9MS6OoBb583BQ4oXN8gs6tT2P
> 9VoUL5OW4Gw=
> =IPeG
> -----END PGP SIGNATURE-----
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/jcarlson%40uci.edu
More information about the Python-Dev
mailing list