1. Quang Quach
  2. pypy


wlav  committed 4882fbb Merge

merge default into branch

  • Participants
  • Parent commits bda95ea, 7f02f3e
  • Branches reflex-support

Comments (0)

Files changed (2)

File pypy/doc/windows.rst

View file
  • Ignore whitespace
 Translating PyPy with Visual Studio
-We routinely test the `RPython translation toolchain`_ using Visual Studio .NET
-2005, Professional Edition, and Visual Studio .NET 2008, Express
+We routinely test the `RPython translation toolchain`_ using 
+Visual Studio 2008, Express
 Edition.  Other configurations may work as well.
 The translation scripts will set up the appropriate environment variables

File pypy/module/cpyext/test/test_getargs.py

View file
  • Ignore whitespace
 from pypy.module.cpyext.test.test_cpyext import AppTestCpythonExtensionBase
 class AppTestGetargs(AppTestCpythonExtensionBase):
-    def setup_method(self, func):
-        super(AppTestGetargs, self).setup_method(func)
-        self.w_import_parser = self.space.wrap(self.import_parser)
-    def import_parser(self, implementation, argstyle='METH_VARARGS'):
+    def w_import_parser(self, implementation, argstyle='METH_VARARGS'):
         mod = self.import_extension(
             'modname', [('funcname', argstyle, implementation)])
-        return self.space.getattr(mod, self.space.wrap("funcname"))
+        return mod.funcname
     def test_pyarg_parse_int(self):