[pypy-svn] commit/pypy: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Mon Dec 20 13:17:05 CET 2010
2 new changesets in pypy:
http://bitbucket.org/pypy/pypy/changeset/f386dfcd5ef8/
changeset: r40139:f386dfcd5ef8
branch: jitypes2
user: antocuni
date: 2010-12-20 13:15:54
summary: don't crash if shape is a tuple
affected #: 1 file (3 bytes)
--- a/lib_pypy/_ctypes/function.py Mon Dec 20 12:34:10 2010 +0100
+++ b/lib_pypy/_ctypes/function.py Mon Dec 20 13:15:54 2010 +0100
@@ -247,7 +247,7 @@
try:
return self._typemap[shape]
except KeyError:
- print 'unknown shape %s' % shape
+ print 'unknown shape %s' % (shape,)
assert False, 'TODO5'
http://bitbucket.org/pypy/pypy/changeset/cae7844e2079/
changeset: r40140:cae7844e2079
branch: jitypes2
user: antocuni
date: 2010-12-20 13:16:48
summary: this is needed for the test to pass in case we run it in isolation (argtypes is set an earlier test)
affected #: 1 file (38 bytes)
--- a/pypy/module/test_lib_pypy/ctypes_tests/test_functions.py Mon Dec 20 13:15:54 2010 +0100
+++ b/pypy/module/test_lib_pypy/ctypes_tests/test_functions.py Mon Dec 20 13:16:48 2010 +0100
@@ -213,6 +213,7 @@
def test_errors_1(self):
f = dll._testfunc_p_p
+ f.argtypes = [POINTER(c_int)]
f.restype = c_int
class X(Structure):
Repository URL: https://bitbucket.org/pypy/pypy/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the Pypy-commit
mailing list