[New-bugs-announce] [issue26184] raise an error when create_module() is not defined by exec_module() is for loaders

Brett Cannon report at bugs.python.org
Fri Jan 22 17:31:00 EST 2016


New submission from Brett Cannon:

As explained in https://docs.python.org/3/reference/import.html#loaders, as of Python 3.6 an error is to be raised when a loader defines exec_module() but not create_module(). Probably should raise a TypeError.

----------
components: Interpreter Core
messages: 258840
nosy: brett.cannon, eric.snow, ncoghlan
priority: normal
severity: normal
stage: test needed
status: open
title: raise an error when create_module() is not defined by exec_module() is for loaders
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26184>
_______________________________________


More information about the New-bugs-announce mailing list