[pypy-svn] r22596 - pypy/dist/pypy/annotation
gromit at codespeak.net
gromit at codespeak.net
Tue Jan 24 15:32:01 CET 2006
Author: gromit
Date: Tue Jan 24 15:31:59 2006
New Revision: 22596
Modified:
pypy/dist/pypy/annotation/bookkeeper.py
Log:
FIX: (stephan,gromit) ctypes integration.
Modified: pypy/dist/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/dist/pypy/annotation/bookkeeper.py (original)
+++ pypy/dist/pypy/annotation/bookkeeper.py Tue Jan 24 15:31:59 2006
@@ -355,7 +355,7 @@
_module = getattr(x,"__module__","unknown")
result = SomeBuiltin(BUILTIN_ANALYZERS[x], methodname="%s.%s" % (_module, x.__name__))
elif hasattr(x, "compute_result_annotation"):
- result = SomeBuiltin(x.compute_result_annotation, "?" )
+ result = SomeBuiltin(x.compute_result_annotation, methodname=x.__name__)
elif tp in EXTERNAL_TYPE_ANALYZERS:
result = SomeExternalObject(tp)
elif isinstance(x, lltype._ptr):
More information about the Pypy-commit
mailing list