[Python-Dev] What's a PyStructSequence ?

Barry A. Warsaw barry@zope.com
Tue, 27 Nov 2001 15:54:37 -0500


>>>>> "MP" == Michel Pelletier <michel@zope.com> writes:

    MP> I have no idea why they are not exposed, of course. but my
    MP> guess would be because there is no boolean type, there is no
    MP> need for them.  I myself have never needed a boolean type,
    MP> "zero" or "empty" have always worked for me as a boolean
    MP> false.

There have been many implementations of a boolean type; I know 'cause
I've done at least 3.  For grins I might even try a fourth for Python
2.2.  But you're right, in practice there isn't much of a need.

-Barry