Title: gh-99300: Replace Py_INCREF() with Py_NewRef() in _elementtree.c by vstinner · Pull Request #99696 · python/cpython · GitHub
Open Graph Title: gh-99300: Replace Py_INCREF() with Py_NewRef() in _elementtree.c by vstinner · Pull Request #99696 · python/cpython
X Title: gh-99300: Replace Py_INCREF() with Py_NewRef() in _elementtree.c by vstinner · Pull Request #99696 · python/cpython
Description: Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef() in Modules/_elementtree.c. Make reference counting more explicit: don't steal implicitly a reference on PyList_SET_ITEM(), use Py_NewRef() instead. Replace PyModule_AddObject() with PyModule_AddObjectRef(). Issue: gh-99300
Open Graph Description: Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef() in Modules/_elementtree.c. Make reference counting more explicit: don't steal implicitly a reference on PyLis...
X Description: Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef() in Modules/_elementtree.c. Make reference counting more explicit: don't steal implicitly a reference on P...
Opengraph URL: https://github.com/python/cpython/pull/99696
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:054bcb14-6138-2aa4-8282-c10b1d020b01 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9BC4:3D0535:18BEFD6:213835C:6969ADFE |
| html-safe-nonce | abcfeba767db75acb88cd061f59f40b3192df7c9c084fc155bfc951cb08910e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkM0OjNEMDUzNToxOEJFRkQ2OjIxMzgzNUM6Njk2OUFERkUiLCJ2aXNpdG9yX2lkIjoiNjI0NDkwOTgzNDg2NDAxMjc5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fb6204f5031931acbad817bf3094fbe63e395ee21b7b2ce75278ee9b01d7760b |
| hovercard-subject-tag | pull_request:1131974607 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/99696/checks |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef() in Modules/_elementtree.c. Make reference counting more explicit: don't steal implicitly a reference on PyLis... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width