From 23f26ce813910aec4bb1c0c80ec10f2909a838d5 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 6 Dec 2000 22:20:07 +0000 Subject: Fix `credits' to credit the Jython developers when running under that interpreter. Update and reword the credits for CPython. Closes SF patch #102665. --- Lib/site.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Lib/site.py b/Lib/site.py index dc1b614..52ad11d 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 -- cgit v0.12