BPO | [18193](https://bugs.python.org/issue18193) --- | :--- Nosy | @brettcannon, @berkerpeksag Files | [issue18193.diff](https://bugs.python.org/file30573/issue18193.diff "Uploaded as text/plain at 2013-06-13.09:38:33 by @berkerpeksag")[issue18193_v2.diff](https://bugs.python.org/file30585/issue18193_v2.diff "Uploaded as text/plain at 2013-06-14.16:30:24 by @berkerpeksag")[issue18193_v3.diff](https://bugs.python.org/file30586/issue18193_v3.diff "Uploaded as text/plain at 2013-06-14.17:36:09 by @berkerpeksag") *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: ```python assignee = 'https://github.com/brettcannon' closed_at = created_at = labels = ['library'] title = 'Move imp.reload() to importlib' updated_at = user = 'https://github.com/brettcannon' ``` bugs.python.org fields: ```python activity = actor = 'brett.cannon' assignee = 'brett.cannon' closed = True closed_date = closer = 'brett.cannon' components = ['Library (Lib)'] creation = creator = 'brett.cannon' dependencies = [] files = ['30573', '30585', '30586'] hgrepos = [] issue_num = 18193 keywords = ['patch'] message_count = 7.0 messages = ['190982', '191070', '191140', '191141', '191142', '191144', '191145'] nosy_count = 4.0 nosy_names = ['brett.cannon', 'Arfrever', 'python-dev', 'berker.peksag'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue18193' versions = ['Python 3.4'] ```
Activity
brettcannon commentedon Jun 11, 2013
For convenience it should live directly off of importlib and not importlib.util.
berkerpeksag commentedon Jun 13, 2013
Here's a patch. Changes:
berkerpeksag commentedon Jun 14, 2013
Updated patch adressing Brett's comments.
brettcannon commentedon Jun 14, 2013
Answered Berker's questions from the review. At this point Berker just needs to tweak one line in the test and it should then be good to go.
brettcannon commentedon Jun 14, 2013
With Berker's nice use of TestCase.subTest() I think the patch is good to go! I should hopefully get this checked in today or tomorrow.
python-dev commentedon Jun 14, 2013
New changeset 01da7bf11ca1 by Brett Cannon in branch 'default':
Issue bpo-18193: Add importlib.reload(), documenting (but not
http://hg.python.org/cpython/rev/01da7bf11ca1
brettcannon commentedon Jun 14, 2013
Thanks for the patch, Berker!