[issue20383] Add a keyword-only spec argument to types.ModuleType

Brett Cannon report at bugs.python.org
Fri May 30 16:16:40 CEST 2014


Brett Cannon added the comment:

Another issue with the polymorphic argument is that the module type is one of those rare things written in C with keyword parameter support, so renaming the 'name' argument to 'name_or_spec' could potentially break code.

----------

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


More information about the Python-bugs-list mailing list