[tor-bugs] #31234 [Core Tor/Stem]: stem setup.py needs cleanup

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jul 26 00:45:23 UTC 2019


#31234: stem setup.py needs cleanup
---------------------------+--------------------------
 Reporter:  cypherpunks    |          Owner:  atagar
     Type:  defect         |         Status:  reopened
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------

Comment (by atagar):

 > This is wrong. Lot of projects just read the file by its path and parse
 the version with a regex.

 Actually, I used to do exactly that...

 https://gitweb.torproject.org/stem.git/commit/?id=3b2a31b

 What concrete benefit is there in not importing ourself?

 > You can... [try/except clause]

 What practical reason is there to do this?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31234#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list