A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010786.html below:

[Python-Dev] long formatting

[Python-Dev] long formatting [Python-Dev] long formattingFred L. Drake, Jr. fdrake@acm.org
Wed, 29 Nov 2000 16:49:53 -0500 (EST)
Finn Bock writes:
 > >>> print '%030o' % -10L
 > 000000000000000000037777777766
...
 > -00000000000000000000000000012
...
 > 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

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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4