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 DetailsNeeds 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