[pypy-commit] pypy stmgc-c7: Fix platform.python_implementation() for the stm branch
arigo
noreply at buildbot.pypy.org
Sun Feb 22 12:59:03 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r76042:b99508208181
Date: 2015-02-22 12:59 +0100
http://bitbucket.org/pypy/pypy/changeset/b99508208181/
Log: Fix platform.python_implementation() for the stm branch
diff --git a/lib-python/2.7/platform.py b/lib-python/2.7/platform.py
--- a/lib-python/2.7/platform.py
+++ b/lib-python/2.7/platform.py
@@ -1382,7 +1382,7 @@
_pypy_sys_version_parser = re.compile(
r'([\w.+]+)\s*'
'\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*'
- '\[PyPy [^\]]+\]?')
+ '\[PyPy[^\]]+\]?') # this also covers 'PyPy-STM x.y'
_sys_version_cache = {}
More information about the pypy-commit
mailing list