[tor-bugs] #24216 [Core Tor/Torflow]: Make p global in the sigterm handler
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Sat Nov 11 11:00:49 UTC 2017
    
    
  
#24216: Make p global in the sigterm handler
------------------------------+--------------------------
 Reporter:  teor              |          Owner:  tom
     Type:  defect            |         Status:  reopened
 Priority:  Medium            |      Milestone:
Component:  Core Tor/Torflow  |        Version:
 Severity:  Normal            |     Resolution:
 Keywords:                    |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+--------------------------
Changes (by teor):
 * status:  closed => reopened
 * cc: tom (added)
 * resolution:  fixed =>
Comment:
 tom, do you still see errors like this with this patch applied?
 {{{
 ./bwauthority.py:71: SyntaxWarning: name 'p' is assigned to before global
 declaration
   global p
 }}}
 Maybe it's a signal handler issue, or maybe we need to sprinkle another
 `global p` somewhere.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24216#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list