[Twisted-Python] BooleanType support for jelly

Jeff Epler jepler at unpythonic.net
Wed Jan 1 11:09:30 MST 2003


On Tue, Dec 31, 2002 at 09:30:57PM -0500, Jp Calderone wrote:
> +try:
> +    from types import BooleanType
> +except ImportError:
> +    BooleanType = None

Maybe use
    BooleanType = type(not 1)
?  Though a compatability type sounds good too.

Jeff




More information about the Twisted-Python mailing list