Author serhiy.storchaka
Recipients Oren Milman, serhiy.storchaka
Date 2017-08-30.20:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504126724.03.0.278381614311.issue31311@psf.upfronthosting.co.za>
In-reply-to
Content
And the following example results in segmentation fault.

import ctypes
class BadStruct(ctypes.Structure):
    @property
    def __dict__(self):
        raise AttributeError

BadStruct().__setstate__({}, b'')

As for change the format given to PyArg_ParseTuple(), I think it can be done only in master. It is better to make a separate PR for this.
History
Date User Action Args
2017-08-30 20:58:44serhiy.storchakasetrecipients: + serhiy.storchaka, Oren Milman
2017-08-30 20:58:44serhiy.storchakasetmessageid: <1504126724.03.0.278381614311.issue31311@psf.upfronthosting.co.za>
2017-08-30 20:58:44serhiy.storchakalinkissue31311 messages
2017-08-30 20:58:43serhiy.storchakacreate