[issue17193] Use binary prefixes

2013-02-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Ezio, for your comments. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue17193] Use binary prefixes

2013-02-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1f846a99c85 by Serhiy Storchaka in branch '3.3': Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units. http://hg.python.org/cpython/rev/c1f846a99c85 New changeset 73a16d3c066a by Serhiy Storchaka in branch 'default': Issue #17193: Use

[issue17193] Use binary prefixes

2013-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that we should contribute to ending the confusion. Searching KiB, MiB, GiB (with Google) gives a Wikipedia article as first or second hit, so the meanings of the abbreviations and terms are easily discoverable. -- nosy: +terry.reedy __

[issue17193] Use binary prefixes

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: +1 I left some comments on Rietveld. The SI standard says that there should be a space between the value and the unit, and I agree that while a no-break space would be better, a regular space is still better than no space at all. Applying this on 3.3 and default

[issue17193] Use binary prefixes

2013-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then I'll apply this to 3.3 too. This will facilitate support of both versions. -- assignee: docs@python -> serhiy.storchaka versions: +Python 3.3, Python 3.4 ___ Python tracker

[issue17193] Use binary prefixes

2013-02-13 Thread Brett Cannon
Brett Cannon added the comment: IMO I say just do 3.4 since it isn't really a bug fix but a cleanup, but I wouldn't object if it was backported. -- ___ Python tracker ___ __

[issue17193] Use binary prefixes

2013-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For what versions can I apply this patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue17193] Use binary prefixes

2013-02-12 Thread Brett Cannon
Brett Cannon added the comment: LGTM -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17193] Use binary prefixes

2013-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes I have seen these tips and they look complicated enough. Here is an updated patch with spaces between numbers and units. -- Added file: http://bugs.python.org/file29052/binary_prefixes_2.patch ___ Python tracke

[issue17193] Use binary prefixes

2013-02-12 Thread Brett Cannon
Brett Cannon added the comment: It might be ugly but it's also incorrect formatting to leave the space out. =) And I think it makes it harder to actually read the number. If you really want to avoid the breaking you can use the tip at http://stackoverflow.com/questions/11830242/non-breaking-sp

[issue17193] Use binary prefixes

2013-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, there is a little reason. It looks ugly if a line broken between number and unit (this is possible if we use space). A non-breakable space is better, but it seems that there is no easy way to specify it in ReST. I will be glad to be wrong. --

[issue17193] Use binary prefixes

2013-02-12 Thread Brett Cannon
Brett Cannon added the comment: Patch looks good except for the consistent lack of space between number and unit, e.g. "5MiB" instead of "5 MiB". Is there a reason for this? -- nosy: +brett.cannon ___ Python tracker

[issue17193] Use binary prefixes

2013-02-12 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Starting around 1998, a number of standards and trade organizations approved standards and recommendations for a new set of binary prefixes that would refer unambiguously to powers of 1024. According to these, the SI prefixes would only be used in the deci