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 nascheme
Recipients Christian.Tismer, eelizondo, eric.snow, nascheme, ncoghlan, petr.viktorin, scoder, vstinner
Date 2019-02-21.18:39:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550774388.77.0.866027004385.issue35810@roundup.psfhosted.org>
In-reply-to
Content
Sorry, morning coffee didn't kick in yet I guess. ;-)  My actual wish is to make all types heap allocated and eliminate the statically allocated ones.  So, Py_TPFLAGS_HEAPTYPE would be set on all types in that world.  That is a gigantic task, affecting near every Python extension type.  Too huge for even a nutty person like me to imagine doing in the near term.  So, sorry for potentially derailing discussion here.

I agree with comments made by Stefan Behnel and Petr Viktorin.  There is a small risk to cause problems (i.e. serious memory leaks in a previously working program).  However, as Petr says, the extension in that case is broken and it is not hard to fix.  Eddie has provided examples for what changes are needed.

I think if we properly communicate the change then it is okay to merge the PR.
History
Date User Action Args
2019-02-21 18:39:48naschemesetrecipients: + nascheme, ncoghlan, scoder, vstinner, petr.viktorin, eric.snow, Christian.Tismer, eelizondo
2019-02-21 18:39:48naschemesetmessageid: <1550774388.77.0.866027004385.issue35810@roundup.psfhosted.org>
2019-02-21 18:39:48naschemelinkissue35810 messages
2019-02-21 18:39:48naschemecreate