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 Dennis Sweeney
Recipients Dennis Sweeney, Mark.Shannon, barry, brandtbucher, kj
Date 2022-01-28.18:47:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643395661.03.0.259438481595.issue46528@roundup.psfhosted.org>
In-reply-to
Content
Minor nit: I think swaptimize() should check the for PyMem_Malloc returning NULL here.

    // Create an array with elements {0, 1, 2, ..., depth - 1}:
    int *stack = PyMem_Malloc(depth * sizeof(int));
    for (int i = 0; i < depth; i++) {
        stack[i] = i;
    }
History
Date User Action Args
2022-01-28 18:47:41Dennis Sweeneysetrecipients: + Dennis Sweeney, barry, Mark.Shannon, brandtbucher, kj
2022-01-28 18:47:41Dennis Sweeneysetmessageid: <1643395661.03.0.259438481595.issue46528@roundup.psfhosted.org>
2022-01-28 18:47:41Dennis Sweeneylinkissue46528 messages
2022-01-28 18:47:40Dennis Sweeneycreate