ACCEPTED: PEP 285

Paul Rubin phr-n2002a at nightsong.com
Wed Apr 3 19:22:24 EST 2002


Guido van Rossum <guido at python.org> writes:
>     True and False will properly round-trip through pickling and
>     marshalling; for example pickle.loads(pickle.dumps(True)) will
>     return True, and so will marshal.loads(marshal.dumps(True)).

It occurs to me that the array module should also support the new bool
type (though the letters 'b' and 'B' are already used, so a different
onewould have to be chosen).  Then at least we get an efficient way of
handling bit vectors that we didn't have before.



More information about the Python-list mailing list