[Python-Dev] Re: [Python-checkins] python/dist/src/Lib
types.py,1.26,1.27
Paul Svensson
paul-python@svensson.org
Wed, 22 May 2002 10:59:11 -0400 (EDT)
On Wed, 22 May 2002, Skip Montanaro wrote:
>You find this in a lot of code:
>
> from types import *
>
>Given that every other type is exposed through the types module it just
>seems kind of odd to force people to use isinstance() for bools, but have
>the old way of doing things continue to work for every other type. I think
>you can stop adding new types to the types module if and when you deprecate
>it, but not before.
Assuming there's no doubt that it will eventually go away,
wouldn't it be better to depreceate it sooner rather than later,
at least in the documentation ?
/Paul