[Python-3000] PEP 3101 str.format() equivalent of '%#o/x/X'?

Marcin ‘Qrczak’ Kowalczyk qrczak at knm.org.pl
Thu May 29 20:16:28 CEST 2008


2008/5/29 Eric Smith <eric+python-dev at trueblade.com>:

> I don't see it as a big problem.  You can now use any prefix you want,
> instead of the hard coded values that # supplied.

Except that it works incorrectly for negative numbers.

-- 
Marcin Kowalczyk
qrczak at knm.org.pl
http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list