[Python-ideas] Negative hexes

Terry Reedy tjreedy at udel.edu
Sun Dec 4 04:05:54 CET 2011


On 12/3/2011 9:06 PM, Nick Coghlan wrote:

> This would be tinkering with the behaviour of builtin,

It is a backwards compatible augmentation:
(as I understand the proposal)
.n for ints means print negatives with n digits in baseNs-complement 
notation instead of raising an exception.

-- 
Terry Jan Reedy




More information about the Python-ideas mailing list