SyntaxError on python 3.5
See original GitHub issueUpgraded to 0.11 and seeing a SyntaxError:
File "/home/foo/.virtualenvs/bar/lib/python3.5/site-packages/trafaret_config/__init__.py", line 3, in <module>
from .simple import read_and_validate, parse_and_validate
File "/home/foo/.virtualenvs/bar/lib/python3.5/site-packages/trafaret_config/simple.py", line 4, in <module>
import trafaret as _trafaret
File "/home/foo/.virtualenvs/bar/lib/python3.5/site-packages/trafaret/__init__.py", line 1, in <module>
from .base import (
File "/home/foo/.virtualenvs/bar/lib/python3.5/site-packages/trafaret/base.py", line 20, in <module>
from .async import (
File "/home/foo/.virtualenvs/bar/lib/python3.5/site-packages/trafaret/async.py", line 176
yield (
^
SyntaxError: 'yield' inside async function
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
invalid syntax on Python 3.5.2 · Issue #2541 · pypa/setuptools
I get the following error: File "xxxxxxxxxxxxxxxxxxxxxxxxxx/ve3/lib/python3.5/site-packages/setuptools/command/install_scripts.py", line 17, ...
Read more >SyntaxError: invalid syntax - Python 3.5 - Stack Overflow
1. It works for me. I can't reproduce this. – Morgan Thrapp · 9. You aren't using Python 3, you're using Python 2,...
Read more >SyntaxError on python 3.5 - Google Groups
Hey there, i got this error when installing dbf on python 3.5: running install_scripts. File "/usr/lib/python3.5/dist-packages/dbf/_index.py", line 14
Read more >3. Built-in Constants — Python 3.5.9 documentation
Assignments to False are illegal and raise a SyntaxError . True ¶ ... This constant is true if Python was not started with...
Read more >SyntaxError: invalid syntax - Discussions on Python.org
Based on the example here, I tried to run the following code snippet but failed: run_mode, num_repeats, num_runs = 'short', 5, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed in 0.11.1
Oh, doh, cheers.