[Python-ideas] Make functions, methods and descriptor types living in the types module

Random832 random832 at fastmail.com
Fri Jan 12 20:37:17 EST 2018


On Thu, Jan 11, 2018, at 17:41, Victor Stinner wrote:
> I like the idea of having a fully qualified name that "works" (can be
> resolved).
> 
> I don't think that repr() should change, right?

What if we made these types available under their current name in the types module? e.g. types.module, types.function, etc.


More information about the Python-ideas mailing list