Skip to content

Clarify intcomma error for negative decimal precision - #504

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

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.
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.

1 participant