]> granicus.if.org Git - python/commit
Replace KB unit with KiB (#4293)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Nov 2017 22:44:44 +0000 (14:44 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Nov 2017 22:44:44 +0000 (14:44 -0800)
commit8c663fd60ecba9c82aa4c404dbfb1aae69fe8553
tree8aed07de4d990bd998a61a051f3ac6b1a88f6392
parent0e163d2ced28ade8ff526e8c663faf03c2c0b168
Replace KB unit with KiB (#4293)

kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte")
means 1024 bytes. KB was misused: replace kB or KB with KiB when
appropriate.

Same change for MB and GB which become MiB and GiB.

Change the output of Tools/iobench/iobench.py.

Round also the size of the documentation from 5.5 MB to 5 MiB.
38 files changed:
Doc/c-api/memory.rst
Doc/library/hashlib.rst
Doc/library/locale.rst
Doc/library/multiprocessing.rst
Doc/tools/templates/download.html
Include/internal/pymalloc.h
Lib/distutils/cygwinccompiler.py
Lib/gzip.py
Lib/test/_test_multiprocessing.py
Lib/test/libregrtest/cmdline.py
Lib/test/pickletester.py
Lib/test/test_bigaddrspace.py
Lib/test/test_bz2.py
Lib/test/test_io.py
Lib/test/test_largefile.py
Lib/test/test_mmap.py
Lib/test/test_os.py
Lib/test/test_socket.py
Lib/test/test_tarfile.py
Lib/test/test_threading.py
Lib/test/test_zipfile64.py
Lib/test/test_zlib.py
Lib/xmlrpc/client.py
Misc/NEWS.d/3.5.0a1.rst
Misc/README.AIX
Modules/_hashopenssl.c
Modules/_io/fileio.c
Modules/_io/winconsoleio.c
Modules/_threadmodule.c
Modules/faulthandler.c
Modules/hashtable.c
Objects/accu.c
Objects/typeobject.c
Python/fileutils.c
Python/thread_nt.h
Python/thread_pthread.h
Tools/iobench/iobench.py
setup.py