A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030923.html below:

[Python-Dev] zipimport & import hooks

[Python-Dev] zipimport & import hooks [Python-Dev] zipimport & import hooksGuido van Rossum guido@python.org
Fri, 06 Dec 2002 10:46:07 -0500
> Having listened to the arguments, and tried a few things out
> myself with iu.py, I now agree with this. Importer objects on
> sys.path are *very* easy to use, and nice and clean. I have no
> real code myself which will break - and I concede that if others
> do, they can speak for themselves.
> 
> In fact, I've gone to the other extreme. I think I'd rather see
> general objects on sys.path than string subclasses. Basically,
> the breakage happens sooner if someone *does* assume that sys.path
> items are strings.

This is a convincing argument.  Maybe we should just start warning
that sys.path may contain objects in the future.

The str subclass hack still smells ugly to me.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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