This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients larry, methane, serhiy.storchaka, vstinner
Date 2017-02-01.17:13:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485969196.74.0.0897110156095.issue29300@psf.upfronthosting.co.za>
In-reply-to
Content
It looks to me that the type of the self parameter can be changed from PyObject* to PyStructObject*. This will make the patch larger but the final code simpler.

    class Struct "PyStructObject *" "&PyStructType"
History
Date User Action Args
2017-02-01 17:13:16serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, larry, methane
2017-02-01 17:13:16serhiy.storchakasetmessageid: <1485969196.74.0.0897110156095.issue29300@psf.upfronthosting.co.za>
2017-02-01 17:13:16serhiy.storchakalinkissue29300 messages
2017-02-01 17:13:16serhiy.storchakacreate