[Python-Dev] ACCEPTED: PEP 285 (truth pickles)
Magnus Lie Hetland
mlh at vier.idi.ntnu.no
Fri Apr 5 22:58:11 EST 2002
In article <mailman.1017974474.30402.python-list at python.org>, Tim Peters wrote:
>[Roy Smith]
>> If I pickle a bool, and then restore it, do I get the same singleton
>> back?
>
>Yes. However, booling a pickle is a different question entirely.
>
>don't-even-think-about-it-ly y'rs - tim
According to the "something vs. nothing" principle, a pickle should
always be true... While no pickle should be false.
--
Magnus Lie Hetland The Anygui Project
http://hetland.org http://anygui.org
More information about the Python-list
mailing list