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

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



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