[Python-Dev] (no subject)
Fredrik Lundh
fredrik@pythonware.com
Thu, 5 Dec 2002 15:50:53 +0100
Paul Moore wrote:
> > > Guido van Rossum wrote:
> > >=20
> > > > Why don't you care about the backwards incompatibilities?
> > >=20
> > > Because it's addressed by using a str subclass.
> >=20
> > Which strikes *me* as an ugly hack. :-(
>=20
> And it's dangerous. Code which assumes strings on sys.path and
> modifies sys.path will fail silently rather than giving an error.
ignoring for a moment that your example do work as expected with the
proposed patch, since when is an "ImportError" a silent failure?
next example, please.
</F>