You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecate imp.new_module() in favour of types.ModuleType #62107
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=<Date2013-06-14.23:20:25.462>created_at=<Date2013-05-04.18:25:08.556>labels= ['easy', 'type-feature', 'library']
title='Deprecate imp.new_module() in favour of types.ModuleType'updated_at=<Date2013-06-15.02:26:38.893>user='https://github.com/brettcannon'
Activity
brettcannon commentedon May 4, 2013
imp.new_module() does not need to exist since code can use types.ModuleType's constructor.
pitrou commentedon May 5, 2013
If so, then at least the constructor should be documented.
python-dev commentedon Jun 14, 2013
New changeset be50f1403f4d by Brett Cannon in branch 'default':
Issue bpo-17907: Document types.ModuleType's constructor and attributes,
http://hg.python.org/cpython/rev/be50f1403f4d
python-dev commentedon Jun 15, 2013
New changeset 9cacdb9d0c59 by Brett Cannon in branch 'default':
Issue bpo-17907: touch up the code for imp.new_module().
http://hg.python.org/cpython/rev/9cacdb9d0c59