A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-August/016999.html below:

[Python-Dev] 2.2a1 patch from PyChecker

[Python-Dev] 2.2a1 patch from PyChecker [Python-Dev] 2.2a1 patch from PyCheckerGuido 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/)



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