Message401278
How to fix this? I guess:
* co_filename should be converted to an actual str, or reject subclasses with an exception
* for co_consts, the [marshal docs] could be updated to add code objects to "containers". The [code docs] already say co_consts "is a tuple containing the literals"; if someone's putting in non-literals they're voiding the warranty.
And so on for all other fields of code objects.
[marshal docs]: https://docs.python.org/3/library/marshal.html
[code docs]: https://docs.python.org/3.9/reference/datamodel.html#index-55 |
|
Date |
User |
Action |
Args |
2021-09-07 14:01:23 | petr.viktorin | set | recipients:
+ petr.viktorin |
2021-09-07 14:01:23 | petr.viktorin | set | messageid: <1631023283.37.0.554928388357.issue45127@roundup.psfhosted.org> |
2021-09-07 14:01:23 | petr.viktorin | link | issue45127 messages |
2021-09-07 14:01:23 | petr.viktorin | create | |
|