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 serhiy.storchaka
Recipients Mark.Shannon, serhiy.storchaka
Date 2021-10-03.17:00:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633280444.05.0.146974944058.issue45355@roundup.psfhosted.org>
In-reply-to
Content
Some C code in 3.10+ uses literal 2 for the size of the code unit. It should use sizeof(_Py_CODEUNIT) instead.

1. It is self-documented and allows to distinguish this 2 from other 2 constants.
2. It will help if we change from 16-bit code units to 24-, 32- or 64-bit code units.
History
Date User Action Args
2021-10-03 17:00:44serhiy.storchakasetrecipients: + serhiy.storchaka, Mark.Shannon
2021-10-03 17:00:44serhiy.storchakasetmessageid: <1633280444.05.0.146974944058.issue45355@roundup.psfhosted.org>
2021-10-03 17:00:44serhiy.storchakalinkissue45355 messages
2021-10-03 17:00:43serhiy.storchakacreate