[Python-Dev] long formatting

Fred L. Drake, Jr. fdrake@acm.org
Thu, 30 Nov 2000 01:22:02 -0500 (EST)


Finn Bock writes:
 > >>> print '%030o' % -10L
 > 000000000000000000037777777766
...
 > -00000000000000000000000000012

Fred L. Drake, Jr. writes:
 >   It doesn't look like either of them is doing the right thing!

Tim Peters writes:
 > Fred, I see that you complained about Finn's output examples, but didn't say
 > why (just "they both look incorrect").  Were you hallucinating, or do you
 > have a legit complaint?

[Fred scrutinizes everything very carefully again... blushes when he
 notices that this was the 'o' format code, not 'd', and quietly
 slinks off to walk the dog...]


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations