Bugs item #1227166, was opened at 2005-06-24 13:01 Message generated for change (Comment added) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1227166&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.4 >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: Vincent Côté-Roy (jbabel) Assigned to: Nobody/Anonymous (nobody) Summary: Queue class does not inherit object Initial Comment: Queue class does not inherit object, and thus is not a so-called new-style class. That means you can't sub-class it and do things like call super on it. One would expect all classes shipped with the Python library to inherit object, especially since it's so easy to apply such a change. ---------------------------------------------------------------------- >Comment By: Raymond Hettinger (rhettinger) Date: 2005-06-29 15:15 Message: Logged In: YES user_id=80475 Correction, both new and old style classes can be subclassed. Also, super() is best used on classes that were specifically designed for it. In general, we've had a policy of not converting modules from old-style to new-style. This avoids unnecessary inter-version issues. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1227166&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com