[EMAIL PROTECTED] wrote:
> If I try to print a negative integer as a hexadecimal, I get the
> following error:
print "%X" % -1
> __main__:1: FutureWarning: %u/%o/%x/%X of negative int will return a
> signed string in Python 2.4 and up
>
>
> Does that mean that in the future it will
Hi,
If I try to print a negative integer as a hexadecimal, I get the
following error:
FutureWarning: %u/%o/%x/%X of negative int will return a signed string
in Python 2.4 and up
For example:
>>> print "%X" % -1
__main__:1: FutureWarning: %u/%o/%x/%X of negative int will return a
signed string in