Eric Snow added the comment:

Now that I've thought about it a little more, I'm more open to the idea.  
Source is definitely a universal concept in Python, as is code.  So 
source_to_code() makes some sense on a most-base type like Loader.  On the 
other hand, source isn't necessarily associated with all loaders.

I guess my initial gut reaction was that it seemed out of place API-wise.  On 
InspectLoader it's presence is tied to get_code(), so it makes more sense.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to