-
Couldn't load subscription status.
- Fork 174
Fix column wrapping breaking with None values (fixes #312) #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
It should probably use missingval value for consistency not an empty string. |
I've updated the pull request |
|
@astanin any chance of this PR getting merged anytime soon? thanks! |
|
@astanin would love to see this merged! |
|
This problem nags me regularly. Could you give this pull request a new try? What is needed to get it merged? Edit: Ok, I've just seen #335, so it will maybe get into a new fork. |
When using wrapping (i.e. with
maxcolwidths) with a column that contains None values, the process crashes with the errorTypeError: NoneType takes no arguments.To solve that, an extra guard case is added, to return None as an empty string instead.
Includes a test.
Fixes #312