[tor-bugs] #3431 [Torctl]: make all classes new-style classes
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Jun 22 01:44:26 UTC 2011
#3431: make all classes new-style classes
-------------------------+--------------------------------------------------
Reporter: robinson | Owner: mikeperry
Type: enhancement | Status: needs_review
Priority: minor | Milestone:
Component: Torctl | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by robinson):
Good question. The most extensive doc/review I could find which included
the downsides associated with moving from old-style to new-style classes
is http://wiki.python.org/moin/NewClassVsClassicClass That doc and some
blog posts from Guido make me think that potential problems for TorCtl
could be a change in MRO and pre-2.5 multiple inheritance Exception
subclasses. Since TorCtl.DualEventListener is the only multiple inheritor
in the whole package, I don't think there will be much impact.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3431#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list