Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow correct behavior of 'parse_size' and 'format_size'#8

Merged
xolox merged 2 commits intoxolox:masterxolox/python-humanfriendly:masterfrom
standage:masterCopy head branch name to clipboard
Sep 29, 2016
Merged

Allow correct behavior of 'parse_size' and 'format_size'#8
xolox merged 2 commits intoxolox:masterxolox/python-humanfriendly:masterfrom
standage:masterCopy head branch name to clipboard

Conversation

@standage
Copy link
Copy Markdown
Contributor

Maintain default behavior (for semantic versioning), but provide an option for people who want file sizes handled in base 10 instead of base 2. Would require a minor version bump.

@coveralls
Copy link
Copy Markdown

coveralls commented Jun 30, 2016

Coverage Status

Coverage increased (+0.03%) to 96.329% when pulling a54b07a on standage:master into 1021cac on xolox:master.

xolox added a commit that referenced this pull request Sep 29, 2016
Refer to issue 4 and pull requests 8 and 9 on GitHub for details:
 - #4
 - #8
 - #9
@xolox xolox merged commit a54b07a into xolox:master Sep 29, 2016
@xolox
Copy link
Copy Markdown
Owner

xolox commented Sep 29, 2016

Hi Daniel and thanks for this pull request! I merged your changes but then decided to iterate further, switch the default to powers of ten and make improvements to the parsing code. More details available here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.