You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that in Python 3.8 the constructor for CodeType changed to support the positional only argument count and you cannot pass arguments by keyword. This broke any code that directly called CodeType constructor, including codetransformer's use. The way to fix this is to conditionally define the args tuple based on the version of Python being used. Codetransformer had a small wrapper around CodeType to allow keyword arguments to be passed, so that is the only place that should need to be updated. I haven't had time to play with Python 3.8, but would you like to try to contribute a fix for this?
The example code from the README works correctly under Python 3.7 but gives a
TypeError
under Python 3.8.0. Any pointers for how to fix this?The text was updated successfully, but these errors were encountered: