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 skrah
Recipients ammar2, benjamin.peterson, cstratak, gregory.p.smith, mark.dickinson, meador.inge, petr.viktorin, skrah, vstinner
Date 2020-03-11.18:41:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583952088.73.0.893337640842.issue39689@roundup.psfhosted.org>
In-reply-to
Content
Concerning memoryview, I've looked at this very briefly: memoryview
does not pack values directly, it casts first, which is legal:


#define PACK_SINGLE(ptr, src, type) \
    do {                                     \
        type x;                              \
        x = (type)src;                       \
        memcpy(ptr, (char *)&x, sizeof x);   \
    } while (0)


This macro has exposed compiler bugs before.
History
Date User Action Args
2020-03-11 18:41:28skrahsetrecipients: + skrah, gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, petr.viktorin, meador.inge, cstratak, ammar2
2020-03-11 18:41:28skrahsetmessageid: <1583952088.73.0.893337640842.issue39689@roundup.psfhosted.org>
2020-03-11 18:41:28skrahlinkissue39689 messages
2020-03-11 18:41:28skrahcreate