[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #26739 [Core Tor/Stem]: SyntaxError with python 3.6 and above
#26739: SyntaxError with python 3.6 and above
-------------------------------+--------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: new
Priority: High | Milestone:
Component: Core Tor/Stem | Version:
Severity: Major | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
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/
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26739>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs