René's URL Explorer Experiment


Title: Fix column wrapping breaking with None values (fixes #312) by gschizas · Pull Request #313 · astanin/python-tabulate · GitHub

Open Graph Title: Fix column wrapping breaking with None values (fixes #312) by gschizas · Pull Request #313 · astanin/python-tabulate

X Title: Fix column wrapping breaking with None values (fixes #312) by gschizas · Pull Request #313 · astanin/python-tabulate

Description: Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate. - Fix column wrapping breaking with None values (fixes #312) by gschizas · Pull Request #313 · astanin/python-tabulate

Open Graph Description: When using wrapping (i.e. with maxcolwidths) with a column that contains None values, the process crashes with the error TypeError: NoneType takes no arguments. To solve that, an extra guard case i...

X Description: When using wrapping (i.e. with maxcolwidths) with a column that contains None values, the process crashes with the error TypeError: NoneType takes no arguments. To solve that, an extra guard case i...

Opengraph URL: https://github.com/astanin/python-tabulate/pull/313

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5773554d-5161-d3c0-ebb8-8afb0409c732
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAEE:33618:10AAD0B:1597039:69924130
html-safe-noncef984873b4287ce630f67c1da46d95cb08a29a8742694fad1cf712bdff111b58c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUVFOjMzNjE4OjEwQUFEMEI6MTU5NzAzOTo2OTkyNDEzMCIsInZpc2l0b3JfaWQiOiIxOTk3Nzg4OTcyNzYwMzE4MjU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0a03bdbe7a9c02c2f2800cf0acb0434c0c690f590ba91c926c147d7edfb7121f
hovercard-subject-tagpull_request:1745400612
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/astanin/python-tabulate/313/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5f50256de62409dbd71ed49d66fc33f17f012ccfe5f5330fdf0beb91ddcab476/astanin/python-tabulate/pull/313
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f50256de62409dbd71ed49d66fc33f17f012ccfe5f5330fdf0beb91ddcab476/astanin/python-tabulate/pull/313
og:image:altWhen using wrapping (i.e. with maxcolwidths) with a column that contains None values, the process crashes with the error TypeError: NoneType takes no arguments. To solve that, an extra guard case i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegschizas
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/astanin/python-tabulate git https://github.com/astanin/python-tabulate.git
octolytics-dimension-user_id71802
octolytics-dimension-user_loginastanin
octolytics-dimension-repository_id205875548
octolytics-dimension-repository_nwoastanin/python-tabulate
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id205875548
octolytics-dimension-repository_network_root_nwoastanin/python-tabulate
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fastanin%2Fpython-tabulate%2Fpull%2F313
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fastanin%2Fpython-tabulate%2Fpull%2F313
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=astanin%2Fpython-tabulate
Reloadhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
Reloadhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
Reloadhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
astanin https://patch-diff.githubusercontent.com/astanin
python-tabulatehttps://patch-diff.githubusercontent.com/astanin/python-tabulate
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fastanin%2Fpython-tabulate
Fork 178 https://patch-diff.githubusercontent.com/login?return_to=%2Fastanin%2Fpython-tabulate
Star 2.5k https://patch-diff.githubusercontent.com/login?return_to=%2Fastanin%2Fpython-tabulate
Code https://patch-diff.githubusercontent.com/astanin/python-tabulate
Issues 105 https://patch-diff.githubusercontent.com/astanin/python-tabulate/issues
Pull requests 26 https://patch-diff.githubusercontent.com/astanin/python-tabulate/pulls
Actions https://patch-diff.githubusercontent.com/astanin/python-tabulate/actions
Security 0 https://patch-diff.githubusercontent.com/astanin/python-tabulate/security
Insights https://patch-diff.githubusercontent.com/astanin/python-tabulate/pulse
Code https://patch-diff.githubusercontent.com/astanin/python-tabulate
Issues https://patch-diff.githubusercontent.com/astanin/python-tabulate/issues
Pull requests https://patch-diff.githubusercontent.com/astanin/python-tabulate/pulls
Actions https://patch-diff.githubusercontent.com/astanin/python-tabulate/actions
Security https://patch-diff.githubusercontent.com/astanin/python-tabulate/security
Insights https://patch-diff.githubusercontent.com/astanin/python-tabulate/pulse
gschizashttps://patch-diff.githubusercontent.com/gschizas
astanin:masterhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/tree/master
gschizas:masterhttps://patch-diff.githubusercontent.com/gschizas/python-tabulate/tree/master
Conversationhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
Commits9 (9)https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits
Checkshttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/checks
Files changedhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/files
Fix column wrapping breaking with None values (fixes #312) https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#top
gschizashttps://patch-diff.githubusercontent.com/gschizas
astanin:masterhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/tree/master
gschizas:masterhttps://patch-diff.githubusercontent.com/gschizas/python-tabulate/tree/master
https://patch-diff.githubusercontent.com/gschizas
gschizashttps://patch-diff.githubusercontent.com/gschizas
Feb 27, 2024https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#issue-2156384546
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
#312https://github.com/astanin/python-tabulate/issues/312
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
gschizashttps://patch-diff.githubusercontent.com/gschizas
February 27, 2024 13:28https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#commits-pushed-3c6e418
https://patch-diff.githubusercontent.com/gschizas
Allow columns to wrap even if they have None values within them.https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/3c6e4185f7f0d033074d1ed53f598c9cfc8abff1
3c6e418https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/3c6e4185f7f0d033074d1ed53f598c9cfc8abff1
https://patch-diff.githubusercontent.com/gschizas
Added a simple test for wrapping None values in cellshttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/3b2b69505b3962ace99ac69ee96da1224b477f1a
3b2b695https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/3b2b69505b3962ace99ac69ee96da1224b477f1a
https://patch-diff.githubusercontent.com/gschizas
Merge branch 'astanin:master' into masterhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/f97494516a955ada96cebb64d47df51239d5ec55
f974945https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/f97494516a955ada96cebb64d47df51239d5ec55
https://patch-diff.githubusercontent.com/astanin
astaninhttps://patch-diff.githubusercontent.com/astanin
Sep 26, 2024https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#issuecomment-2377347973
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
https://patch-diff.githubusercontent.com/astanin
astaninhttps://patch-diff.githubusercontent.com/astanin
incomplete https://patch-diff.githubusercontent.com/astanin/python-tabulate/issues?q=state%3Aopen%20label%3Aincomplete
Sep 27, 2024https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#event-14427950700
gschizashttps://patch-diff.githubusercontent.com/gschizas
October 22, 2024 23:02https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#commits-pushed-06e363d
https://patch-diff.githubusercontent.com/gschizas
Merge branch 'astanin:master' into masterhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/06e363da49e690e8ce5a9694512b848631818f50
06e363dhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/06e363da49e690e8ce5a9694512b848631818f50
https://patch-diff.githubusercontent.com/gschizas
Use missingval instead of empty string for None valueshttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/787851ffe4350a779ba8ecd1e58c570f20d28c34
787851fhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/787851ffe4350a779ba8ecd1e58c570f20d28c34
https://patch-diff.githubusercontent.com/gschizas
gschizashttps://patch-diff.githubusercontent.com/gschizas
Oct 22, 2024https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#issuecomment-2430206233
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
https://patch-diff.githubusercontent.com/neerajmorar
neerajmorarhttps://patch-diff.githubusercontent.com/neerajmorar
Jan 16, 2025https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#issuecomment-2596195189
@astaninhttps://github.com/astanin
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
https://patch-diff.githubusercontent.com/humzahkiani
humzahkianihttps://patch-diff.githubusercontent.com/humzahkiani
Mar 8, 2025https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#issuecomment-2708520514
@astaninhttps://github.com/astanin
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
gschizashttps://patch-diff.githubusercontent.com/gschizas
April 2, 2025 21:23https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#commits-pushed-5efffde
https://patch-diff.githubusercontent.com/gschizas
Remove setuptools dependencyhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/5efffde6bbf1a72e526c2dc35b24a31bd0480562
5efffdehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/5efffde6bbf1a72e526c2dc35b24a31bd0480562
https://patch-diff.githubusercontent.com/gschizas
Remove setuptools dependencyhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/5efa7e253326d011f04034b7309edd7d1f44dd9e
5efa7e2https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/5efa7e253326d011f04034b7309edd7d1f44dd9e
https://patch-diff.githubusercontent.com/gschizas
Remove setuptools dependencyhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/3ef6249547368357e631f85fda22aedfd37f551b
3ef6249https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/3ef6249547368357e631f85fda22aedfd37f551b
https://patch-diff.githubusercontent.com/cooper2k4
cooper2k4https://patch-diff.githubusercontent.com/cooper2k4
Oct 15, 2025https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313#issuecomment-3405028498
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
#335https://github.com/astanin/python-tabulate/issues/335
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
https://patch-diff.githubusercontent.com/gschizas
Fix crash when cell is emptyhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/bb1bf9f409788057f3355f034f90013858270a12
bb1bf9fhttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313/commits/bb1bf9f409788057f3355f034f90013858270a12
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/{{ revealButtonHref }}
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fastanin%2Fpython-tabulate%2Fpull%2F313
incomplete https://patch-diff.githubusercontent.com/astanin/python-tabulate/issues?q=state%3Aopen%20label%3Aincomplete
When using maxcolwidths in a column that contains None values, tabulate crashes with "NoneType takes no arguments" https://github.com/astanin/python-tabulate/issues/312
Please reload this pagehttps://patch-diff.githubusercontent.com/astanin/python-tabulate/pull/313
https://patch-diff.githubusercontent.com/gschizas
https://patch-diff.githubusercontent.com/astanin
https://patch-diff.githubusercontent.com/neerajmorar
https://patch-diff.githubusercontent.com/humzahkiani
https://patch-diff.githubusercontent.com/cooper2k4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.