[Python-Dev] long formatting
Fred L. Drake, Jr.
Wed, 29 Nov 2000 16:49:53 -0500 (EST)
Finn Bock writes:
> >>> print '%030o' % -10L
> The CPython behaviour looks as if the number have been through a C long
> before it is formatted. It that intended? Would jython be wrong if it
> used the result above?
It doesn't look like either of them is doing the right thing!
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Digital Creations