[pypy-commit] pypy default: Return 1, not '(int)&W_IntObject1'
arigo
noreply at buildbot.pypy.org
Wed Jul 1 14:22:02 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r78379:c9045acfde4a
Date: 2015-07-01 14:22 +0200
http://bitbucket.org/pypy/pypy/changeset/c9045acfde4a/
Log: Return 1, not '(int)&W_IntObject1'
diff --git a/pypy/module/cpyext/buffer.py b/pypy/module/cpyext/buffer.py
--- a/pypy/module/cpyext/buffer.py
+++ b/pypy/module/cpyext/buffer.py
@@ -38,4 +38,4 @@
'C') or Fortran-style (fortran is 'F') contiguous or either one
(fortran is 'A'). Return 0 otherwise."""
# PyPy only supports contiguous Py_buffers for now.
- return space.wrap(1)
+ return 1
More information about the pypy-commit
mailing list