[issue20066] PyStructSequence_NewType() not setting proper heap allocation flag?

2019-12-26 Thread Dong-hee Na
Dong-hee Na added the comment: Thanks @nanjekyejoannah for comment. Yes, I found that the codes are updated. see https://github.com/python/cpython/blob/bd44a7ead9f7336d7bb45f186b2b6ca0300154f7/Objects/structseq.c#L488 I close this issue. -- nosy: +corona10 resolution: -> fixed

[issue20066] PyStructSequence_NewType() not setting proper heap allocation flag?

2019-09-15 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: As commented in issue15729, the Py_TPFLAGS_HEAPTYPE flag is now set in PyType_FromSpecWithBases() which is called by PyStructSequence_NewType(). I think this is no longer an issue. -- nosy: +nanjekyejoannah ___

[issue20066] PyStructSequence_NewType() not setting proper heap allocation flag?

2014-11-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue15729. -- components: +Interpreter Core nosy: +serhiy.storchaka stage: - needs patch versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue20066] PyStructSequence_NewType() not setting proper heap allocation flag?

2013-12-25 Thread Wolf Ihlenfeldt
New submission from Wolf Ihlenfeldt: If I am not mistaken, I think that PyStructSequence_NewType() should set the Py_TPFLAGS_HEAPTYPE flag in tp-flags (which it currently does not). The original version initially works fine, but ultimately crashes at exit time in finalization with Fatal