[stdlib-sig] proposed removal: the types module

Antoine Pitrou solipsis at pitrou.net
Fri Apr 4 12:09:41 CEST 2008


Le vendredi 04 avril 2008 à 11:32 +0200, Christian Heimes a écrit :
> It's considered bad practice since isinstance(egg, list) works.

That's because the "list" builtin exists. The types module is useful for
all those types that don't have a builtin name - and will probably never
have - : modules, methods, etc.

cheers

Antoine.




More information about the stdlib-sig mailing list