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 vstinner
Recipients josh.r, methane, python-dev, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2017-01-26.14:58:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485442710.91.0.578550436139.issue29358@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy Storchaka:
> As for update_one_slot() see also issue5322 and issue25731.

Oh, thanks for the pointers! Now I understand much better these bugs.

I'm quite sure that they are still flaws in this code when a type is modified after PyType_Ready(), like sysmodule.c::

    /* prevent user from creating new instances */
    FlagsType.tp_init = NULL;
    FlagsType.tp_new = NULL;


But each time I had to dig into typeobject.c, my head is going to explode :-D I may try to understand one more time, but not today ;-)
History
Date User Action Args
2017-01-26 14:58:30vstinnersetrecipients: + vstinner, rhettinger, methane, python-dev, serhiy.storchaka, yselivanov, josh.r
2017-01-26 14:58:30vstinnersetmessageid: <1485442710.91.0.578550436139.issue29358@psf.upfronthosting.co.za>
2017-01-26 14:58:30vstinnerlinkissue29358 messages
2017-01-26 14:58:30vstinnercreate