[pypy-svn] r8615 - pypy/dist/pypy/interpreter
mwh at codespeak.net
mwh at codespeak.net
Wed Jan 26 16:37:14 CET 2005
Author: mwh
Date: Wed Jan 26 16:37:14 2005
New Revision: 8615
Modified:
pypy/dist/pypy/interpreter/gateway.py
Log:
defancify the name of the auto-generated BuiltinFrame subclasses, so
they become clickable in the pygame viewer.
Modified: pypy/dist/pypy/interpreter/gateway.py
==============================================================================
--- pypy/dist/pypy/interpreter/gateway.py (original)
+++ pypy/dist/pypy/interpreter/gateway.py Wed Jan 26 16:37:14 2005
@@ -217,7 +217,7 @@
try:
return cache[key]
except KeyError:
- name = '<'+ ', '.join([getattr(k, "__name__", k) for k in key]) + '>'
+ name = '_'.join([getattr(k, "__name__", k) for k in key])
emit_sig = apply_unwrap_spec(unwrap_spec, None,
BuiltinCodeSignature(name=name),
unwrap_spec_emit)
More information about the Pypy-commit
mailing list