[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #24216 [Core Tor/Torflow]: Make p global in the sigterm handler



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs