Message343999
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. |
|
Date |
User |
Action |
Args |
2019-05-30 20:12:34 | brett.cannon | set | recipients:
+ brett.cannon, dino.viehland, methane, eric.snow, serhiy.storchaka |
2019-05-30 20:12:34 | brett.cannon | set | messageid: <1559247154.71.0.642473776163.issue36839@roundup.psfhosted.org> |
2019-05-30 20:12:34 | brett.cannon | link | issue36839 messages |
2019-05-30 20:12:34 | brett.cannon | create | |
|