[Python-Dev] 2.2a1 patch from PyChecker (original) (raw)

Guido van Rossum guido@python.org
Mon, 13 Aug 2001 16:05:10 -0400


> Also, I can't figure out why you want to delete the setlocale() method > from the locale.py module.

In my version (2.2a1), there was was something like this: try: from x import * except ImportError: def setlocale(): pass def setlocale(): pass So it seems to me the setlocale in the except clause (which is the one that should have been deleted), will always be replaced with one outside try/except. Am I missing something or has the code changed?

You're right. I think that module is laid out a bit confusing. I think it's up to Martin von Loewis to make the cut -- it's basically his module. :-)

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