[issue18076] Implement importlib.util.decode_source_bytes()

2013-06-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset bdd60bedf933 by Brett Cannon in branch 'default': Issue #18076: Introduce imoportlib.util.decode_source(). http://hg.python.org/cpython/rev/bdd60bedf933 -- nosy: +python-dev ___ Python tracker

[issue18076] Implement importlib.util.decode_source_bytes()

2013-06-16 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18076] Implement importlib.util.decode_source_bytes()

2013-05-27 Thread Brett Cannon
New submission from Brett Cannon: Right now importlib.abc.SourceLoader implements get_source(), but most of it is decoding bytes properly. That should probably be abstracted out to importlib.util so that it's available even for loaders which don't provide get_data() or get_filename(). ---