[Python-Dev] New and Improved Import Hooks (original) (raw)

Gordon McMillan gmcm@hypernet.com
Thu, 5 Dec 2002 08:46:36 -0500


On 4 Dec 2002 at 23:32, Just van Rossum wrote:

(I'd still like to see more examples of code breaking if a sys.path item isn't a string. Not that I don't believe it, but I'd like to get an impression of the severeness of the damage.)

Greg's imputil put objects on sys.path. I know of two imputil users (at the time - me & /F) who got bit by it, and still wrote code assuming sys.path consisted of strings.

It's Python folklore. You won't get users to change their minds.

-- Gordon http://www.mcmillan-inc.com/