Author bup
Recipients bup
Date 2017-11-30.23:55:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512086137.53.0.213398074469.issue32176@psf.upfronthosting.co.za>
In-reply-to
Content
The hacked cell object using this method appears to be changed to NULL when accessed by frame.f_localsplus. I don't know C well enough to find out what's happening because nothing looks different to me in PyFrame_FastToLocalsWithError.


Also creating a closure with:
from ctypes import pythonapi, py_object

new_cell = pythonapi.PyCell_New
new_cell.argtypes = (py_object, )
new_cell.restype = py_object

doesn't solve this either.
History
Date User Action Args
2017-11-30 23:55:37bupsetrecipients: + bup
2017-11-30 23:55:37bupsetmessageid: <1512086137.53.0.213398074469.issue32176@psf.upfronthosting.co.za>
2017-11-30 23:55:37buplinkissue32176 messages
2017-11-30 23:55:37bupcreate