[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5

Stefan Behnel stefan_ml at behnel.de
Tue Jan 7 18:58:44 CET 2014


Victor Stinner, 06.01.2014 14:24:
> ``struct.pack()`` is incomplete. For example, a number cannot be
> formatted as decimal and it does not support padding bytes string.

Then what about extending the struct module in a way that makes it cover
more use cases like these?

Stefan




More information about the Python-Dev mailing list