Author eelizondo
Recipients eelizondo
Date 2019-04-04.23:53:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554422020.37.0.786317222832.issue36531@roundup.psfhosted.org>
In-reply-to
Content
If a user accidentally defined more than one Py_tp_members in the spec, PyType_FromSpec will ignore all but the last use case. However, the number of members count will cause the type to allocate more memory than needed. This leads to weird behavior and crashes.

The solution is a one line fix to just restart the count if multiple Py_tp_members are defined.
History
Date User Action Args
2019-04-04 23:53:40eelizondosetrecipients: + eelizondo
2019-04-04 23:53:40eelizondosetmessageid: <1554422020.37.0.786317222832.issue36531@roundup.psfhosted.org>
2019-04-04 23:53:40eelizondolinkissue36531 messages
2019-04-04 23:53:40eelizondocreate