Amaury Forgeot d Arc <amaur...@gmail.com> added the comment: You could try to #define _Py_DEC_REFTOTAL Or completely remove the line; it's only for statistics in debug builds (sys.gettotalrefcount).
This said, this 'resurrect object' function which plays with reference counts is deeply incompatible with PyPy and its garbage collection scheme. Don't expect the resulting code to work correctly. By the way, see https://github.com/saghul/pyuv/issues/49 """ ...it seems there is a problem with callbacks... """ You should look for a port of pyuv with the cffi interface. ---------- nosy: +amaury status: unread -> wontfix ________________________________________ PyPy bug tracker <trac...@bugs.pypy.org> <https://bugs.pypy.org/issue1481> ________________________________________ _______________________________________________ pypy-issue mailing list pypy-issue@python.org http://mail.python.org/mailman/listinfo/pypy-issue