Title: Unconditionally prints to stdout on exceptions · Issue #93 · ixc/python-edtf · GitHub
Open Graph Title: Unconditionally prints to stdout on exceptions · Issue #93 · ixc/python-edtf
X Title: Unconditionally prints to stdout on exceptions · Issue #93 · ixc/python-edtf
Description: If you try to parse an expression that python-edtf doesn't like, it prints to stdout before throwing an exception. If this is an expected failure and you catch the exception, you're stuck with a noisy console. >>> import edtf >>> edtf.pa...
Open Graph Description: If you try to parse an expression that python-edtf doesn't like, it prints to stdout before throwing an exception. If this is an expected failure and you catch the exception, you're stuck with a no...
X Description: If you try to parse an expression that python-edtf doesn't like, it prints to stdout before throwing an exception. If this is an expected failure and you catch the exception, you're stuck w...
Opengraph URL: https://github.com/ixc/python-edtf/issues/93
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unconditionally prints to stdout on exceptions","articleBody":"If you try to parse an expression that python-edtf doesn't like, it prints to stdout before throwing an exception. If this is an expected failure and you catch the exception, you're stuck with a noisy console.\n\n```python\n>>> import edtf\n>>> edtf.parse_edtf(\"[2011-05-01..2018-06-24]\")\ntrying to Consecutives.__init__(**{'year': '2018', 'month': '06', 'day': '24', 'lower': ['2011', '-', '05', '-', '01'], 'upper': ['2018', '-', '06', '-', '24']})\n...\n```\n\nThe `print` statement here should be removed:\n\nhttps://github.com/ixc/python-edtf/blob/cd67a9d6b558e3328d8d80d65716d0e319c97807/edtf/parser/parser_classes.py#L109-L116","author":{"url":"https://github.com/danvk","@type":"Person","name":"danvk"},"datePublished":"2026-04-19T21:33:47Z","url":"https://github.com/ixc/python-edtf/issues/93"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b3436956-ca3b-47e4-39bc-6136dcd3b26d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C260:B6856:3FD272:59D9A2:6AFDB6C5 |
| html-safe-nonce | 7679f91629464c4e023fdfe0a00231ffe9044208edca36629d858dfb7ed78261 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjYwOkI2ODU2OjNGRDI3Mjo1OUQ5QTI6NkFGREI2QzUiLCJ2aXNpdG9yX2lkIjoiNTk5NDA3NDIzNTc0NjQ5ODI0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a058407b8ebaec9ed7be51b514129f06285ffdcec5b8cd30cbd388e521ca3db3 |
| hovercard-subject-tag | issue:4292082589 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ixc/python-edtf/93/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ddcd8f35cdbb2696639aa5dc67a804e49b1d7e2b89672eae93642a49fa5682b5/ixc/python-edtf/issues/93 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ddcd8f35cdbb2696639aa5dc67a804e49b1d7e2b89672eae93642a49fa5682b5/ixc/python-edtf/issues/93 |
| og:image:alt | If you try to parse an expression that python-edtf doesn't like, it prints to stdout before throwing an exception. If this is an expected failure and you catch the exception, you're stuck with a no... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danvk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8309f07eb60a4237a657068c83d0bb57be4c7e02937f5e9933126f4bd596aac4 |
| turbo-cache-control | no-preview |
| go-import | github.com/ixc/python-edtf git https://github.com/ixc/python-edtf.git |
| octolytics-dimension-user_id | 184363 |
| octolytics-dimension-user_login | ixc |
| octolytics-dimension-repository_id | 37115668 |
| octolytics-dimension-repository_nwo | ixc/python-edtf |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37115668 |
| octolytics-dimension-repository_network_root_nwo | ixc/python-edtf |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2f7154d847f1ddc5baa83b109a3e1d924605e2a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width