This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon, eric.smith, eric.snow, ncoghlan
Date 2013-05-27.23:36:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369697813.87.0.309845935861.issue18072@psf.upfronthosting.co.za>
In-reply-to
Content
So it turns out I will simply have to make the methods not abstract anymore. Thanks to multiple inheritance I can't implement the method in ExecutionLoader and keep it abstract in case someone subclasses InspectLoader and then creates another subclass of ExecutionLoader and the InspectLoader subclass w/o making ExecutionLoader.get_code not abstract. But if I can't do it there then it seems silly to leave only InspectLoader.get_code abstract.

IOW get_code will not longer be abstract and I will leave a note in the docs to mention you probably want to consider overriding the method for performance.
History
Date User Action Args
2013-05-27 23:36:53brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.smith, eric.snow
2013-05-27 23:36:53brett.cannonsetmessageid: <1369697813.87.0.309845935861.issue18072@psf.upfronthosting.co.za>
2013-05-27 23:36:53brett.cannonlinkissue18072 messages
2013-05-27 23:36:53brett.cannoncreate