[pypy-svn] r54701 - pypy/dist/pypy/module/sys

fijal at codespeak.net fijal at codespeak.net
Tue May 13 15:13:30 CEST 2008


Author: fijal
Date: Tue May 13 15:13:29 2008
New Revision: 54701

Modified:
   pypy/dist/pypy/module/sys/__init__.py
   pypy/dist/pypy/module/sys/app.py
Log:
Make copyright message a bit more verbose (same as printed
by __builtin__.copyright)


Modified: pypy/dist/pypy/module/sys/__init__.py
==============================================================================
--- pypy/dist/pypy/module/sys/__init__.py	(original)
+++ pypy/dist/pypy/module/sys/__init__.py	Tue May 13 15:13:29 2008
@@ -50,7 +50,6 @@
         'call_tracing'          : 'vm.call_tracing',
         
         'executable'            : 'space.wrap("py.py")', 
-        'copyright'             : 'space.wrap("MIT-License")', 
         'api_version'           : 'version.get_api_version(space)',
         'version_info'          : 'version.get_version_info(space)',
         'version'               : 'version.get_version(space)',
@@ -79,6 +78,7 @@
         'exitfunc'              : 'app.exitfunc',
         'getfilesystemencoding' : 'app.getfilesystemencoding', 
         'callstats'             : 'app.callstats',
+        'copyright'             : 'app.copyright_str', 
     }
 
     def setbuiltinmodule(self, w_module, name): 

Modified: pypy/dist/pypy/module/sys/app.py
==============================================================================
--- pypy/dist/pypy/module/sys/app.py	(original)
+++ pypy/dist/pypy/module/sys/app.py	Tue May 13 15:13:29 2008
@@ -42,3 +42,10 @@
     """Not implemented."""
     return None
 
+copyright_str = """
+Copyright 2003-2008 PyPy development team.
+All rights reserved.
+For further information see http://www.codespeak.net/pypy.
+Some materials may have a different copyright.
+In these cases, this is explicitly noted in the source code file.
+"""



More information about the Pypy-commit mailing list