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/2000-July/005739.html below:

[Python-Dev] bogus LANG setting results in "import site failed" message

[Python-Dev] bogus LANG setting results in "import site failed" message [Python-Dev] bogus LANG setting results in "import site failed" messageFredrik Lundh fredrik@pythonware.com
Fri, 7 Jul 2000 21:13:27 +0200
[fredrik@brain src]$ export LANG=foobar
[fredrik@brain src]$ ./python
'import site' failed; use -v for traceback
Python 2.0b1 (#4, Jul  7 2000, 12:23:15)  [GCC egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
Copyright 1995-2000 Corporation for National Research Initiatives (CNRI)
>>>

that "import site" is a bit disturbing.  maybe the locale-checking
code should handle this case a bit more gracefully?

(like, say, printing a more explicit warning message).

</F>




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