-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opcode LIST_EXTEND not allowed #1734
Comments
Python 3.8.6 (default, Nov 18 2020, 13:49:49)
Python 3.9.0 (default, Nov 18 2020, 13:28:38)
|
I'm not a security expert and python is my secondary language, but at first glance, So I'm not sure which direction to take. To name a few:
|
* Add cpython 3.9 constant opcodes to safeeval Closes #1734 * Update CHANGELOG.md
Python 3.9.0 brings new opcode
LIST_EXTEND
, which leads to an error duringpwn
import:Adding
'LIST_EXTEND'
to_const_codes
or_expr_codes
seems to solve the issue, but I'm not familiar with this code.Also, there are more new opcodes:
LIST_TO_TUPLE
,SET_UPDATE
, etc.The text was updated successfully, but these errors were encountered: