[Python-Dev] Re: [Python-checkins] python/dist/src/Lib types.py,1.26,1.27

Guido van Rossum guido@python.org
Wed, 22 May 2002 07:39:17 -0400


> > Modified Files:
> > 	types.py 
> > Log Message:
> > add BooleanType
> 
> I thought we weren't doing this anymore...?

I have mixed feelings.  On the one hand this really isn't necessary
(you can just is isinstance(x, bool)).  On the other hand for existing
code that imports a bunch of types from types.py it may be more
consistent to use BooleanType.

--Guido van Rossum (home page: http://www.python.org/~guido/)