question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SyntaxError on python 3.5

See original GitHub issue

Upgraded 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:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Deepwalkercommented, Aug 10, 2017

fixed in 0.11.1

0reactions
thijstriemstracommented, Aug 10, 2017

Oh, doh, cheers.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found