[tor-bugs] #6691 [Compass]: BaseFilter isn't really an abstract class... yet

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Aug 26 12:03:50 UTC 2012


#6691: BaseFilter isn't really an abstract class... yet
---------------------+------------------------------------------------------
 Reporter:  neena    |          Owner:  neena
     Type:  defect   |         Status:  new  
 Priority:  trivial  |      Milestone:       
Component:  Compass  |        Version:       
 Keywords:           |         Parent:       
   Points:           |   Actualpoints:       
---------------------+------------------------------------------------------
 {{{
 import compass
 class Foo(compass.BaseFilter): pass

 f=Foo()
 f.accept(None)
 }}}

 Works fine. It shouldn't.

 Attaching a patch which fixes this.

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


More information about the tor-bugs mailing list