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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Aug 27 17:40:40 UTC 2012


#6691: BaseFilter isn't really an abstract class... yet
---------------------+------------------------------------------------------
 Reporter:  neena    |          Owner:  gsathya 
     Type:  defect   |         Status:  assigned
 Priority:  trivial  |      Milestone:          
Component:  Compass  |        Version:          
 Keywords:           |         Parent:          
   Points:           |   Actualpoints:          
---------------------+------------------------------------------------------

Comment(by neena):

 Replying to [comment:1 gsathya]:
 > I  wonder if abstract classes even make sense in a dynamically typed
 language. I'd be all for removing @abstractmethod instead of adding more
 abstract stuff. What do you think?

 I would add the __metaclass__. Though, I don't feel too strongly about it.

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


More information about the tor-bugs mailing list