Author: Armin Rigo <[email protected]>
Branch: cffi-handle-lifetime
Changeset: r80110:0af42d8b4142
Date: 2015-10-11 18:58 +0200
http://bitbucket.org/pypy/pypy/changeset/0af42d8b4142/
Log: A branch to fix the lifetime of ffi.new_handle(x): currently, it
becomes invalid as soon as 'x' is first found as unreachable, before
x.__del__() is called. There is no way to use x.__del__() at app-
level to reset some fields, because there is a risk that we call
ffi.from_handle() after it became dead but before x.__del__() is
invoked.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit