classification
Title: Implement importlib.util.decode_source()
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, python-dev
Priority: normal Keywords:

Created on 2013-05-28 01:24 by brett.cannon, last changed 2013-06-16 23:19 by brett.cannon. This issue is now closed.

Messages (2)
msg190164 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-05-28 01:24
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().
msg191294 - (view) Author: Roundup Robot (python-dev) Date: 2013-06-16 22:38
New changeset bdd60bedf933 by Brett Cannon in branch 'default':
Issue #18076: Introduce imoportlib.util.decode_source().
http://hg.python.org/cpython/rev/bdd60bedf933
History
Date User Action Args
2013-06-16 23:19:30brett.cannonsettitle: Implement importlib.util.decode_source_bytes() -> Implement importlib.util.decode_source()
2013-06-16 22:38:29brett.cannonsetstatus: open -> closed
resolution: fixed
stage: test needed -> resolved
2013-06-16 22:38:01python-devsetnosy: + python-dev
messages: + msg191294
2013-05-28 01:24:09brett.cannoncreate