2012/7/4 Stefan Behnel <stefan...@behnel.de>:
> However, it now prints a trace of every C-API function that it calls, e.g.
>
> """
> <function PyTuple_CheckExact at 0x42da5a0>  DONE
> <function PyList_CheckExact at 0x43cc5a0>  DONE
> <function PySequence_Size at 0x43e1300>  DONE
> <function PySequence_ITEM at 0x43ef300>  DONE
> <function PySequence_ITEM at 0x43ef300>  DONE
> <function PySequence_ITEM at 0x43ef300>  DONE
> <function Py_DecRef at 0x40aea38> <function subtype_dealloc at 0x4322990>
> <function PyObject_dealloc at 0x43466f0> <function PyObject_Del at
> 0x43464f8>  DONE
>  DONE
>  DONE
>  DONE
> """
>
> Is there a way to disable that? That level of verbosity could be a bit costly.

in module/cpyext/api.py, just set DEBUG_WRAPPER to False.

-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to