Neal Norwitz wrote: >> That's a bug. It should print it signed. If unsigned printing of size_t >> is desired, %zu should be used. > > Looking in stringobject.c, I don't see how %zu (or %lu) can be used > with String_FromFormatV.
Right. It currently cannot be used. So if it is desired, it needs to be added first, and then should be used. Looking at the checkin messages, I understand that the change from "d" to "u" was to make some compiler stop warning - that is the wrong motivation for such a behavioral change. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com