Random832 writes: > Also, interesting quirk - it always rounds up. 1025 bytes is "1.1K", and > in SI mode, 1001 bytes is "1.1k"
That seems to be right approach: in system administration, these numbers are used mostly to understand resource usage, and underestimates are almost never what you want, while quite large overestimates are tolerable, and are typically limited because the actual precision of calculations is much higher than that of the "human-readable" output. I don't know if that would be true in general-purpose programming. I suspect not. _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/