> > 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