-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SDK - Fix SDK on Python 3.8 #3126
SDK - Fix SDK on Python 3.8 #3126
Conversation
Fixes the follwoing error: "TypeError: code() takes at least 14 arguments (13 given)". The cause of the issue is a breaking change in CodeType constructor in Python 3.8. https://bugs.python.org/issue37221 This should have been fixed by python/cpython#13959 and python/cpython#14505, but the code still fails.
Hi, CPython core dev here ✋ Those PRs did not intend to change back the Also,
Additionally, you have now available |
Thank you for the explanation! |
@numerology Can you please take a look? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
* SDK - Fix SDK on Python 3.8 Fixes the follwoing error: "TypeError: code() takes at least 14 arguments (13 given)". The cause of the issue is a breaking change in CodeType constructor in Python 3.8. https://bugs.python.org/issue37221 This should have been fixed by python/cpython#13959 and python/cpython#14505, but the code still fails. * Simplified the replace call
Fixes the follwoing error: "TypeError: code() takes at least 14 arguments (13 given)".
The cause of the issue is a breaking change in CodeType constructor in Python 3.8.
https://bugs.python.org/issue37221
This should have been fixed by python/cpython#13959 and python/cpython#14505, but the code still fails.
Fixes #2952
This change is