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 Mariatta, brett.cannon, dino.viehland, ned.deily, serhiy.storchaka, vstinner, yselivanov
Date 2017-06-28.00:03:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
_PyCode_SetExtra() uses two memory block for code extras. By changing how memory is accessed and allocated, it would be possible to use a single memory block. Was it on purpose to use two memory blocks?

See for example PyTupleObject which uses a single memory block vs PyListObject which uses two memory blocks.

typedef struct {
    PyObject *ob_item[1];

    /* ob_item contains space for 'ob_size' elements.
     * Items must normally not be NULL, except during construction when
     * the tuple is not yet visible outside the function that builds it.
} PyTupleObject;
Date User Action Args
2017-06-28 00:03:54vstinnersetrecipients: + vstinner, brett.cannon, ned.deily, dino.viehland, serhiy.storchaka, yselivanov, Mariatta
2017-06-28 00:03:54vstinnersetmessageid: <>
2017-06-28 00:03:54vstinnerlinkissue30604 messages
2017-06-28 00:03:53vstinnercreate