[Python-Dev] PEP 294: Type Names in the types Module

Oren Tirosh oren-py-d@hishome.net
Tue, 25 Jun 2002 06:58:39 -0400


On Tue, Jun 25, 2002 at 10:56:47AM +0200, Peter Funk wrote:
>   """This module defines names for all object types that are used by 
>      the standard Python interpreter, [...]
>      It is safe to use "from types import *" -- the module does not 
>      export any names besides the ones listed here. New names exported 
>      by future versions of this module will all end in "Type".  """

Thanks for pointing this out!

> It would be possible to change the documentation of types module now
> and start telling users that the Python development team made up
> their mind.  That would open up the possibility to really deprecate
> the module or change the type names later (but only much much later!),
> without causing the effect I called "version fatigue" lately here.

I don't understand exactly what you are suggesting here. Would you care to
explain it more clearly?

	Oren