[issue45113] [subinterpreters][C API] Add a new function to create PyStructSequence from Heap.

Petr Viktorin report at bugs.python.org
Tue Oct 12 08:05:30 EDT 2021


Petr Viktorin <encukou at gmail.com> added the comment:

Oh! I assumed this bug wasn't resolved, but it is -- in bpo-34784. Sorry, I should have checked!

The only thing the proposed PR adds is a way to set ht_module, which actually isn't very useful (it's used for module state access, but PyStructSequence_Desc doesn't allow you to add custom methods or anything else that would need the module state).

I'd close this bpo as duplicate. And close the PR -- it's well done, but unfortunately, solves the wrong problem :(

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45113>
_______________________________________


More information about the Python-bugs-list mailing list