Title: bpo-40334: Improvements to error-handling code in the PEG parser by lysnikolaou · Pull Request #20003 · python/cpython · GitHub
Open Graph Title: bpo-40334: Improvements to error-handling code in the PEG parser by lysnikolaou · Pull Request #20003 · python/cpython
X Title: bpo-40334: Improvements to error-handling code in the PEG parser by lysnikolaou · Pull Request #20003 · python/cpython
Description: Following improvements are implemented in this PR: p->error_indicator is set, in case malloc or realloc fail Avoid memory leaks in the case that realloc fails Call PyErr_NoMemory() instead of PyErr_Format(), because it requires no memory https://bugs.python.org/issue40334
Open Graph Description: Following improvements are implemented in this PR: p->error_indicator is set, in case malloc or realloc fail Avoid memory leaks in the case that realloc fails Call PyErr_NoMemory() instead of P...
X Description: Following improvements are implemented in this PR: p->error_indicator is set, in case malloc or realloc fail Avoid memory leaks in the case that realloc fails Call PyErr_NoMemory() instead ...
Opengraph URL: https://github.com/python/cpython/pull/20003
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8ed271a7-aba6-f248-ab17-da0a3ed00caa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D718:30F550:428A9A:5C4F0F:696A165E |
| html-safe-nonce | 01d143cf7cd5337bdbc2ccc6f062cd7a778e3b56bd0b0c61575fec0c4e8cf5d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzE4OjMwRjU1MDo0MjhBOUE6NUM0RjBGOjY5NkExNjVFIiwidmlzaXRvcl9pZCI6IjUwNTgxNDQxODU1MzMyMDgxNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e3e4bc32fb88be381057185bf917bf4f150962e662fa8404d2de013086a4e75a |
| hovercard-subject-tag | pull_request:415282739 |
| 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/python/cpython/pull/20003/files |
| twitter:image | https://avatars.githubusercontent.com/u/20306270?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20306270?s=400&v=4 |
| og:image:alt | Following improvements are implemented in this PR: p->error_indicator is set, in case malloc or realloc fail Avoid memory leaks in the case that realloc fails Call PyErr_NoMemory() instead of P... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 34a52bd10bd674f68e5c1b6b74413b79bf2ca20c551055ace3f7cdd112803923 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e8bd37502700f365b18a4d39acf7cb7947e11b1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width