while True or while 1
Steve Holden
steve at holdenweb.com
Wed Dec 15 09:17:18 EST 2010
On 12/15/2010 8:10 AM, Hans-Peter Jansen wrote:
> On Tuesday 14 December 2010, 21:38:47 Arnaud Delobelle wrote:
>> Christian Heimes <lists at cheimes.de> writes:
>> [...]
>>
>>> Tres Seavers once told me a joke like this:
>>>
>>> True = not not "Who's at the door?" # say it out loud!
>>>
>>> This was back in the old days of Zope 2.5 and Python 2.1, which
>>> didn't have True and False.
>>
>> I almost used:
>>
>> True = "to be" or not "to be" # that is the question
>
> That's wrong:
>
>>>> "to be" or not "to be"
> 'to be'
>
> You need to wrap it with bool() at least (even without interpreting
> Pythons answer to the duality contradiction of consciousness for
> now ;-))
>
>> but didn't dare!
>
Yeah, if Hamlet had been a Python programmer that play would have been a
light comedy.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon 2011 Atlanta March 9-17 http://us.pycon.org/
See Python Video! http://python.mirocommunity.org/
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list