Message190161
| 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:53 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, eric.smith, eric.snow |
| 2013年05月27日 23:36:53 | brett.cannon | set | messageid: <1369697813.87.0.309845935861.issue18072@psf.upfronthosting.co.za> |
| 2013年05月27日 23:36:53 | brett.cannon | link | issue18072 messages |
| 2013年05月27日 23:36:53 | brett.cannon | create |
|