> so
what are the Python 3.9 features that you can't step down to 3.7? O
maybe you don't want to maintain two separate distribution?
In
my case, I am not even using any Python3.9-only feature. It just
happens that my code base contains a line using ternary operator inside slicing, inside a list comprehension. It works in CPython, but Brython 3.8
complains a SyntaxError. Brython 3.9 apparently already fix it. I could - and might
- change my code to make it work with Brython 3.8, however the more
valuable problem to be solved, is why Brython 3.9 ITSELF doesn't work in
Scrimba.
and only replace its Brython 3.7.0 line with this:
Next run would give me this error:
Javascript error, TypeError: this.addEntry is not a function
I'm not a javascript expert to tell whether that issue should be solved from Scrimba's side, or be solved from Brython.
Regards,
Ray Luo