Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #26739
Closed
Open
Issue created Jul 10, 2018 by Damian Johnson@atagar

SyntaxError with python 3.6 and above

Great catch from Juan...

BUILDSTDERR:   File "/usr/lib/python3.7/site-packages/stem/util/test_tools.py", line 151
BUILDSTDERR:     self.method.async = self
BUILDSTDERR:                     ^
BUILDSTDERR: SyntaxError: invalid syntax

Took a little head scratching but think I know what's going on. Python 3.6 added a couple new keywords including 'async' and 'await'. This in turn breaks the above since we were using that name.

https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep530 https://www.python.org/dev/peps/pep-0530/

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking