Skip to content

Fix handling "True"/"False" bool str and None#362

Merged
astanin merged 1 commit into
astanin:masterfrom
Hnasar:fix-crash
Jul 23, 2025
Merged

Fix handling "True"/"False" bool str and None#362
astanin merged 1 commit into
astanin:masterfrom
Hnasar:fix-crash

Conversation

@Hnasar
Copy link
Copy Markdown
Contributor

@Hnasar Hnasar commented Mar 17, 2025

calling _type is incorrect here; the subsequent lines need a str. Also you can't reconstruct None with type(None)(None) anyway. This regressed in e8e3091

Fixes #305

calling _type is incorrect here; the subsequent lines need a `str`.
Also you can't reconstruct `None` with `type(None)(None)` anyway.
This regressed in e8e3091

Fixes astanin#305
@astanin
Copy link
Copy Markdown
Owner

astanin commented Jul 23, 2025

The change seems reasonable.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can not tabulate row with a field that looks like a Python Bool using maxcolwidths

2 participants