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 <>
And the following example results in segmentation fault.

import ctypes
class BadStruct(ctypes.Structure):
    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.
Date User Action Args
2017-08-30 20:58:44serhiy.storchakasetrecipients: + serhiy.storchaka, Oren Milman
2017-08-30 20:58:44serhiy.storchakasetmessageid: <>
2017-08-30 20:58:44serhiy.storchakalinkissue31311 messages
2017-08-30 20:58:43serhiy.storchakacreate