Title: Fix bare except clause in msgpack/fallback.py by koteshyelamati · Pull Request #714 · msgpack/msgpack-python · GitHub
Open Graph Title: Fix bare except clause in msgpack/fallback.py by koteshyelamati · Pull Request #714 · msgpack/msgpack-python
X Title: Fix bare except clause in msgpack/fallback.py by koteshyelamati · Pull Request #714 · msgpack/msgpack-python
Description: Replace bare except: with except Exception: in the pack() method's buffer reset handler. Bare except: catches BaseException (including SystemExit and KeyboardInterrupt), which means pressing Ctrl+C during a pack operation would silently reset the buffer instead of propagating the interrupt. Using except Exception: preserves the buffer-reset behavior for actual serialization errors while allowing KeyboardInterrupt and SystemExit to propagate normally.
Open Graph Description: Replace bare except: with except Exception: in the pack() method's buffer reset handler. Bare except: catches BaseException (including SystemExit and KeyboardInterrupt), which means pressing Ct...
X Description: Replace bare except: with except Exception: in the pack() method's buffer reset handler. Bare except: catches BaseException (including SystemExit and KeyboardInterrupt), which means pressin...
Opengraph URL: https://github.com/msgpack/msgpack-python/pull/714
X: @github
Domain: Github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:33335085-6dc8-dedb-cf97-b7e90b8cb286 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E900:188F24:12A4871:1AFBDD7:6A633C50 |
| html-safe-nonce | 22d1e6f7d42b8a512109bf75bc81ab54eceb88186eec899bf42fa1f54ed8a572 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTAwOjE4OEYyNDoxMkE0ODcxOjFBRkJERDc6NkE2MzNDNTAiLCJ2aXNpdG9yX2lkIjoiODk5MzY3OTczNDU2NTE5MDczNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85293561d335b214ce4b0ef99a6dcf026efecb45af78e05eff4c2e17dab9aaa9 |
| hovercard-subject-tag | pull_request:4057658482 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/msgpack/msgpack-python/pull/714/files |
| twitter:image | https://avatars.githubusercontent.com/u/196373335?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/196373335?s=400&v=4 |
| og:image:alt | Replace bare except: with except Exception: in the pack() method's buffer reset handler. Bare except: catches BaseException (including SystemExit and KeyboardInterrupt), which means pressing Ct... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/msgpack/msgpack-python git https://github.com/msgpack/msgpack-python.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2242705 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2242705 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width