[prev in list] [next in list] [prev in thread] [next in thread]
List: pypy-svn
Subject: [pypy-svn] r73223 - pypy/branch/cpython-extension/pypy/module/cpyext
From: xoraxax () codespeak ! net
Date: 2010-03-31 16:22:20
Message-ID: 20100331162220.E6C07282BD8 () codespeak ! net
[Download RAW message or body]
Author: xoraxax
Date: Wed Mar 31 18:22:19 2010
New Revision: 73223
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/api.py
Log:
Also remove # signs from export symbols if no renaming takes place.
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/api.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/api.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/api.py Wed Mar 31 18:22:19 2010
@@ -435,6 +435,8 @@
renamed_symbols.append(newname)
if rename:
export_symbols[:] = renamed_symbols
+ else:
+ export_symbols = [sym.replace("#", "") for sym in export_symbols]
pypy_macros_h = udir.join('pypy_macros.h')
pypy_macros_h.write('\n'.join(pypy_macros))
_______________________________________________
pypy-svn mailing list
pypy-svn@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic