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
File "/opt/homebrew/Cellar/[email protected]/3.9.20/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/init.py", line 339, offset 80
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
SyntaxError: 'invalid syntax'
The text was updated successfully, but these errors were encountered:
yeah, gpython is (quoting the README) a part re-implementation, part port of the Python 3.4 interpreter in Go.
IIRC, f-strings were not yet in (if memory serves, they were brought in CPython 3.6).
we'd be happy to review a PR adding this feature :}
sbinet
changed the title
can not import json
parser: add support for f-strings
Oct 22, 2024
File "/opt/homebrew/Cellar/[email protected]/3.9.20/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/init.py", line 339, offset 80
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
SyntaxError: 'invalid syntax'
The text was updated successfully, but these errors were encountered: