void-packages/srcpkgs/python3-pwntools/patches/py3.12.patch

12 lines
485 B
Diff

--- a/pwnlib/util/safeeval.py
+++ b/pwnlib/util/safeeval.py
@@ -4,7 +4,7 @@
'POP_TOP','ROT_TWO','ROT_THREE','ROT_FOUR','DUP_TOP',
'BUILD_LIST','BUILD_MAP','BUILD_TUPLE','BUILD_SET',
'BUILD_CONST_KEY_MAP', 'BUILD_STRING',
- 'LOAD_CONST','RETURN_VALUE','STORE_SUBSCR', 'STORE_MAP',
+ 'LOAD_CONST','RETURN_VALUE','RETURN_CONST','STORE_SUBSCR', 'STORE_MAP',
'LIST_TO_TUPLE', 'LIST_EXTEND', 'SET_UPDATE', 'DICT_UPDATE', 'DICT_MERGE',
'COPY', 'RESUME',
]