[pypy-svn] r41454 - in pypy/dist/pypy/module: clr sys

antocuni at codespeak.net antocuni at codespeak.net
Tue Mar 27 13:08:52 CEST 2007


Author: antocuni
Date: Tue Mar 27 13:08:51 2007
New Revision: 41454

Modified:
   pypy/dist/pypy/module/clr/interp_clr.py
   pypy/dist/pypy/module/sys/state.py
Log:
aargh. The annotator is too clever.



Modified: pypy/dist/pypy/module/clr/interp_clr.py
==============================================================================
--- pypy/dist/pypy/module/clr/interp_clr.py	(original)
+++ pypy/dist/pypy/module/clr/interp_clr.py	Tue Mar 27 13:08:51 2007
@@ -11,7 +11,8 @@
 TargetInvocationException = NativeException(CLR.System.Reflection.TargetInvocationException)
 AmbiguousMatchException = NativeException(CLR.System.Reflection.AmbiguousMatchException)
 
-System.Double # force the type to be loaded, else the annotator could think that System has no Double attribute
+System.Double  # force the type to be loaded, else the annotator could think that System has no Double attribute
+System.Boolean # the same
 
 def get_method(space, b_type, name, b_paramtypes):
     try:

Modified: pypy/dist/pypy/module/sys/state.py
==============================================================================
--- pypy/dist/pypy/module/sys/state.py	(original)
+++ pypy/dist/pypy/module/sys/state.py	Tue Mar 27 13:08:51 2007
@@ -51,6 +51,7 @@
     pypy_lib = os.path.join(pypydir, 'lib')
     checkdir(pypy_lib)
 
+    #import pdb;pdb.set_trace()
     importlist = ['']
     pythonpath = ros.getenv('PYTHONPATH')
     if pythonpath:



More information about the Pypy-commit mailing list