Opened 2 years ago

Closed 2 years ago

#26739 closed defect (fixed)

SyntaxError with python 3.6 and above

Reported by: atagar Owned by: atagar
Priority: High Milestone:
Component: Archived/Stem Version:
Severity: Major Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Great catch from Juan...

BUILDSTDERR:   File "/usr/lib/python3.7/site-packages/stem/util/", 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.

Child Tickets

Change History (1)

comment:1 Changed 2 years ago by atagar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.