Skip to content

Honor disable_numparse while wrapping column widths - #471

Open
ShamikOfficial wants to merge 1 commit into
astanin:masterfrom
ShamikOfficial:fix-disable-numparse-wrapping-448
Open

ShamikOfficial wants to merge 1 commit into
astanin:masterfrom
ShamikOfficial:fix-disable-numparse-wrapping-448

Conversation

@ShamikOfficial

Copy link
Copy Markdown

Fixes #448

While wrapping cells, _type(cell, numparse) passed numparse into has_invisible. disable_numparse was therefore ignored, and a value such as 100,120 was parsed as a number.

The flag is now passed as numparse=numparse.

Tested with the new regression test and the existing disable_numparse tests.

The flag was bound to has_invisible, so disable_numparse was ignored for values like 100,120.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

problem in tabulate 0.10.0 on python 3.11.12 with cell values like "100,120"

1 participant