[tor-bugs] #33192 [Core Tor/Tor]: Stop assuming that /usr/bin/python exists
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Feb 10 01:37:21 UTC 2020
#33192: Stop assuming that /usr/bin/python exists
--------------------------+------------------------------------
Reporter: alwayslivid | Owner: (none)
Type: defect | Status: needs_revision
Priority: Medium | Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: extra-review | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Changes (by teor):
* status: needs_review => needs_revision
Comment:
Replying to [comment:4 alwayslivid]:
> I probably misinterpreted something in the documentation, excuse me for
that one.
Maybe our documentation isn't clear?
> I could close the pull request and make the change again on top of the
master or another desired branch.
That would be great!
Replying to [comment:5 alwayslivid]:
> I checked some of the scripts and changed "python" to "python2" wherever
the syntax wouldn't allow using Python 3.
We'd like to transition to Python 3, since python 2 is not supported. So
let's leave those scripts with "python" and fix the Python 3 errors?
There's similar work going on in #33193, you might want to check out the
latest PR there?
> I also imported print_function from {{{__future__}}} in some cases.
I think we already added all the Python 2.7 to Python 3 future statements
in master in #32732.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33192#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list