From: Barry Warsaw Date: Wed, 6 Dec 2000 22:20:07 +0000 (+0000) Subject: Fix `credits' to credit the Jython developers when running under that X-Git-Tag: v2.1a1~657 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23f26ce813910aec4bb1c0c80ec10f2909a838d5;p=thirdparty%2FPython%2Fcpython.git Fix `credits' to credit the Jython developers when running under that interpreter. Update and reword the credits for CPython. Closes SF patch #102665. --- diff --git a/Lib/site.py b/Lib/site.py index dc1b6147aca8..52ad11dbd615 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -201,8 +201,14 @@ class _Printer: break __builtin__.copyright = _Printer("copyright", sys.copyright) -__builtin__.credits = _Printer("credits", - "Python development is led by BeOpen PythonLabs (www.pythonlabs.com).") +if sys.platform[:4] == 'java': + __builtin__.credits = _Printer( + "credits", + "Jython is maintained by the Jython developers (www.jython.org).") +else: + __builtin__.credits = _Printer("credits", """\ +Thanks to CWI, CNRI, BeOpen.com, Digital Creations and a cast of thousands +for supporting Python development. See www.python.org for more information.""") here = os.path.dirname(os.__file__) __builtin__.license = _Printer( "license", "See http://www.pythonlabs.com/products/python2.0/license.html", @@ -242,7 +248,7 @@ except ImportError: # # Remove sys.setdefaultencoding() so that users cannot change the # encoding after initialization. The test for presence is needed when -# this module is run as a script, becuase this code is executed twice. +# this module is run as a script, because this code is executed twice. # if hasattr(sys, "setdefaultencoding"): del sys.setdefaultencoding