[pypy-commit] pypy py3k: missing import
Author: Richard PlanggerBranch: py3k Changeset: r86498:d711ffd606f3 Date: 2016-08-24 16:35 +0200 http://bitbucket.org/pypy/pypy/changeset/d711ffd606f3/ Log:missing import 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 @@ -3,7 +3,7 @@ from rpython.rlib import buffer from pypy.module.cpyext.api import ( cpython_api, CANNOT_FAIL, Py_buffer) -from pypy.module.cpyext.pyobject import PyObject +from pypy.module.cpyext.pyobject import PyObject, Py_DecRef @cpython_api([PyObject], rffi.INT_real, error=CANNOT_FAIL) def PyObject_CheckBuffer(space, w_obj): ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit
[pypy-commit] pypy py3k: missing import
Author: Richard PlanggerBranch: py3k Changeset: r86490:608a0ce136ed Date: 2016-08-24 12:21 +0200 http://bitbucket.org/pypy/pypy/changeset/608a0ce136ed/ Log:missing import diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slotdefs.py +++ b/pypy/module/cpyext/slotdefs.py @@ -20,6 +20,7 @@ from rpython.rlib.buffer import Buffer from rpython.rlib.unroll import unrolling_iterable from rpython.rlib.objectmodel import specialize +from rpython.rlib.rarithmetic import widen from rpython.tool.sourcetools import func_renamer from rpython.rtyper.annlowlevel import llhelper from pypy.module.sys.version import CPYTHON_VERSION ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit
[pypy-commit] pypy py3k: missing import
Author: Philip JenveyBranch: py3k Changeset: r84409:8af0cd2aeccd Date: 2016-05-12 16:56 -0700 http://bitbucket.org/pypy/pypy/changeset/8af0cd2aeccd/ Log:missing import diff --git a/lib-python/3/ctypes/test/test_python_api.py b/lib-python/3/ctypes/test/test_python_api.py --- a/lib-python/3/ctypes/test/test_python_api.py +++ b/lib-python/3/ctypes/test/test_python_api.py @@ -1,7 +1,7 @@ from ctypes import * import unittest, sys from test import support -from ctypes.test import is_resource_enabled +from ctypes.test import is_resource_enabled, xfail # This section should be moved into ctypes\__init__.py, when it's ready. ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit
[pypy-commit] pypy py3k: missing import
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r56797:24c49c5d9184 Date: 2012-08-22 13:17 +0200 http://bitbucket.org/pypy/pypy/changeset/24c49c5d9184/ Log:missing import diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py --- a/pypy/interpreter/argument.py +++ b/pypy/interpreter/argument.py @@ -120,7 +120,7 @@ ### Construction ### -@enforceargs(keywords=[unicode]) +#@enforceargs(keywords=[unicode]) def __init__(self, space, args_w, keywords=None, keywords_w=None, w_stararg=None, w_starstararg=None, keyword_names_w=None): self.space = space diff --git a/pypy/objspace/flow/flowcontext.py b/pypy/objspace/flow/flowcontext.py --- a/pypy/objspace/flow/flowcontext.py +++ b/pypy/objspace/flow/flowcontext.py @@ -11,6 +11,7 @@ from pypy.objspace.flow.framestate import (FrameState, recursively_unflatten, recursively_flatten) from pypy.tool.stdlib_opcode import host_bytecode_spec +from pypy.rlib import jit class StopFlowing(Exception): pass ___ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit