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
Date 2014-04-04.17:59:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
importlib.abc.InspectLoader.source_to_code exists on InspectLoader because InspectLoader.get_code() uses it. But there is technically no reason to leave it there and not simply move it up to importlib.abc.Loader(). There is also no reason to not make it a staticmethod so that one can use it without worrying about abstractmethod overrides.
History
Date User Action Args
2014-04-04 17:59:20brett.cannonsetrecipients: + brett.cannon
2014-04-04 17:59:20brett.cannonsetmessageid: <[email protected]>
2014-04-04 17:59:20brett.cannonlinkissue21156 messages
2014-04-04 17:59:19brett.cannoncreate