Hey folks, I saw that the Django docs currently use file size units kB, MB, etc. that refer to a multiple of 1000 (1000, 1000000 bytes respectively -- https://docs.djangoproject.com/en/dev/ref/settings/#file-upload-max-memory-size ). But the numbers actually are to the power of 1024. To remedy inconsistencies there are binary prefixes KiB (Kibibyte), MiB (Mebibyte), etc. which refer to 1024 and 1048576 bytes respectively ( http://en.wikipedia.org/wiki/Binary_prefix )
The Python documentation itself changed the notation about 2 years ago ( http://bugs.python.org/issue17193 ) -- Thanks for the hint, Berker. I therefore propose to change the notation to use the binary prefix. I opened a ticket to track this proposal: https://code.djangoproject.com/ticket/24140 Input and thoughts welcome :) /Markus -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/54B45E6B.5080505%40markusholtermann.eu. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
