PARTIAL SOLUTION: Compiling Python 2.2 with GCC in HPUX 10.20 does not work

Michael Piotrowski mxp at dynalabs.de
Fri Mar 8 16:53:22 EST 2002


Tim Peters <tim.one at comcast.net> writes:

> [Michael Piotrowski]
> > I've had a look at test_fpformat: The test expects that
>>
>>    "%.*f" % (0, -0.003)
>>
>> produces -0 (negative zero),
>
> No, and this is important:  this has nothing to do with negative zeroes.
> What the test expects is a two-character *string*, '-' followed by '0'.

I'm sorry.  Of course you're right: The test expects the string "-0"
and it gets the string "0" instead.

-- 
Michael Piotrowski, M.A.                                  <mxp at dynalabs.de>



More information about the Python-list mailing list