Message190161
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. |
|
| 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: <[email protected]> |
| 2013-05-27 23:36:53 | brett.cannon | link | issue18072 messages |
| 2013-05-27 23:36:53 | brett.cannon | create | |
|