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 brett.cannon
Recipients brett.cannon, dino.viehland, eric.snow, methane, serhiy.storchaka
Date 2019-05-30.20:12:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559247154.71.0.642473776163.issue36839@roundup.psfhosted.org>
In-reply-to
Content
I agree with Eric. While I understand what Serhiy is saying about code objects being more than a bytearray of bytecode, the buffer protocol is still a view on an object, and that view happens to be for a subset which I think is acceptable as I think of what a buffer of a code object would be other than the bytecode.

I also think read-only is a good enough guarantee. We're talking low-level stuff here and if anyone were to muck with this stuff they are already playing with fire.
History
Date User Action Args
2019-05-30 20:12:34brett.cannonsetrecipients: + brett.cannon, dino.viehland, methane, eric.snow, serhiy.storchaka
2019-05-30 20:12:34brett.cannonsetmessageid: <1559247154.71.0.642473776163.issue36839@roundup.psfhosted.org>
2019-05-30 20:12:34brett.cannonlinkissue36839 messages
2019-05-30 20:12:34brett.cannoncreate