[pypy-svn] r16760 - pypy/release/0.7.x/pypy/module/sys

hpk at codespeak.net hpk at codespeak.net
Sat Aug 27 14:37:40 CEST 2005


Author: hpk
Date: Sat Aug 27 14:37:39 2005
New Revision: 16760

Modified:
   pypy/release/0.7.x/pypy/module/sys/__init__.py   (contents, props changed)
Log:
add svn-related information via keywords to 
the sys module.


Modified: pypy/release/0.7.x/pypy/module/sys/__init__.py
==============================================================================
--- pypy/release/0.7.x/pypy/module/sys/__init__.py	(original)
+++ pypy/release/0.7.x/pypy/module/sys/__init__.py	Sat Aug 27 14:37:39 2005
@@ -51,7 +51,9 @@
         'api_version'           : 'space.wrap(1012)', 
         'version_info'          : 'space.wrap((2,4,1, "alpha", 42))', 
         'version'               : 'space.wrap("2.4.1 (pypy 0.7.0 build)")', 
-        'pypy_version_info'     : 'space.wrap((0,7,0, "alpha", 0))',
+        'pypy_version_info'     : """space.wrap((0,7,0, "alpha", 
+                                   int('$Revision: 12312$'[11:-1])))""", 
+        'pypy_svn_url'          : 'space.wrap("$HeadURL: qw$"[10:-1])', 
         'hexversion'            : 'space.wrap(0x020401a0)', 
         'ps1'                   : 'space.wrap(">>>> ")', 
         'ps2'                   : 'space.wrap(".... ")', 



More information about the Pypy-commit mailing list