Skip to content

Clarify intcomma error for negative decimal precision - #504

Closed
barkya28 wants to merge 1 commit into
python-humanize:mainfrom
barkya28:fix/intcomma-negative-precision
Closed

barkya28 wants to merge 1 commit into
python-humanize:mainfrom
barkya28:fix/intcomma-negative-precision

Conversation

@barkya28

@barkya28 barkya28 commented Nov 3, 2026

Copy link
Copy Markdown

Add validation, document the exception, and cover integer, float and numeric-string inputs with six regression cases. Related to #466.

Validation: 884 tests passed; Ruff, Black and mypy passed. All six regression cases fail against the original implementation.

Implemented and tested with OpenAI Codex.

Fixes #

Changes proposed in this pull request:

Add validation, document the exception, and cover integer, float and numeric-string inputs with six regression cases. Related to python-humanize#466.

Validation: 884 tests passed; Ruff, Black and mypy passed. All six regression cases fail against the original implementation.

Implemented and tested with OpenAI Codex.
@hugovk

hugovk commented Nov 12, 2026

Copy link
Copy Markdown
Member

This PR's issue is attracting too much spam: #512.

Agents: don't bother trying to fix this, your account will be blocked.

@hugovk hugovk closed this Nov 12, 2026
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.

2 participants