OT Signature quote [was Re: Unrecognized escape sequences in string literals]

Chris Rebert clp2 at rebertia.com
Sat Aug 15 04:48:30 EDT 2009


On Sat, Aug 15, 2009 at 4:47 AM, Hendrik van
Rooyen<hendrik at microcorp.co.za> wrote:
> On Friday 14 August 2009 18:11:52 Steven D'Aprano wrote:
>> On Fri, 14 Aug 2009 07:07:31 -0700, Aahz wrote:
>> > "I saw `cout' being shifted "Hello world" times to the left and stopped
>> > right there."  --Steve Gonedes
>>
>> Assuming that's something real, and not invented for humour, I presume
>> that's describing something possible in C++. Am I correct? What the hell
>> would it actually do???
>
> It would shift "cout" left "Hello World" times.
> It is unclear if the shift wraps around or not.
>
> It is similar to a banana *holding his hands apart about a foot* this colour.
>
> - Hendrik

I think you managed to successfully dereference the null pointer there...

Cheers,
Chris



More information about the Python-list mailing list