Guido van Rossum wrote: > I think there are too many risks with this approach, especially given > that we're keeping % formatting mainly for backwards compatibility > reasons. There will inevitably be corner cases where the conversion > doesn't work exactly the same way as the old code or where the > conversion is wrong for whatever reason, and it would be quite painful > to change back. > > If 2.6 can't support %b, so be it.
It would really be easiest to just say that if you want binary formatting in both 2.6 and 3.0, use str.format. I don't think expanding the functionality of % formatting is what anyone should be spending their time on. I'd be happy to update the PEP to drop %b. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com