Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move imp.source_from_cache/cache_from_source to importlib #62394

Closed
brettcannon opened this issue Jun 11, 2013 · 3 comments
Closed

Move imp.source_from_cache/cache_from_source to importlib #62394

brettcannon opened this issue Jun 11, 2013 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@brettcannon
Copy link
Member

BPO 18194
Nosy @warsaw, @brettcannon

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/brettcannon'
closed_at = <Date 2013-06-15.02:35:59.979>
created_at = <Date 2013-06-11.20:47:03.022>
labels = ['library']
title = 'Move imp.source_from_cache/cache_from_source to importlib'
updated_at = <Date 2013-06-15.02:35:59.978>
user = 'https://github.com/brettcannon'

bugs.python.org fields:

activity = <Date 2013-06-15.02:35:59.978>
actor = 'brett.cannon'
assignee = 'brett.cannon'
closed = True
closed_date = <Date 2013-06-15.02:35:59.979>
closer = 'brett.cannon'
components = ['Library (Lib)']
creation = <Date 2013-06-11.20:47:03.022>
creator = 'brett.cannon'
dependencies = []
files = []
hgrepos = []
issue_num = 18194
keywords = []
message_count = 3.0
messages = ['190983', '190986', '191186']
nosy_count = 4.0
nosy_names = ['barry', 'brett.cannon', 'Arfrever', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue18194'
versions = ['Python 3.4']

@brettcannon
Copy link
Member Author

To facilitate deprecating imp, need to move imp.source_from_cache() and cache_from_source() to importlib.util or as static methods on importlib.machinery.SourceLoader.

@brettcannon brettcannon added the stdlib Python modules in the Lib dir label Jun 11, 2013
@warsaw
Copy link
Member

warsaw commented Jun 11, 2013

On Jun 11, 2013, at 08:47 PM, Brett Cannon wrote:

To facilitate deprecating imp, need to move imp.source_from_cache() and
cache_from_source() to importlib.util or as static methods on
importlib.machinery.SourceLoader.

+1 for importlib.util. They should be publicly - and easily - available.

-Barry

@brettcannon brettcannon self-assigned this Jun 14, 2013
@python-dev
Copy link
Mannequin

python-dev mannequin commented Jun 15, 2013

New changeset 32067804942e by Brett Cannon in branch 'default':
Issue bpo-18194: Introduce importlib.util.cache_from_source() and
http://hg.python.org/cpython/rev/32067804942e

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

2 participants