Title: Export the stable ABI PyCFunction_Call shim by youknowdot · Pull Request #9055 · RustPython/RustPython · GitHub
Open Graph Title: Export the stable ABI PyCFunction_Call shim by youknowdot · Pull Request #9055 · RustPython/RustPython
X Title: Export the stable ABI PyCFunction_Call shim by youknowdot · Pull Request #9055 · RustPython/RustPython
Description: Summary Extract the independent PyCFunction_Call stable-ABI shim from #8954 (43065e79ddc46eafeca58cb39398ac007b5d25f7). This is already part of the Python 3.14 contract: although its public declaration was removed in 3.13, the binary symbol remains available and delegates directly to PyObject_Call. The production change is ten lines in crates/capi/src/methodobject.rs. It preserves main's existing argument-validation tests, including #8957, and makes no loader, lifecycle, error-storage, or test-framework changes. #8435 touches the same file but does not supply this symbol; the separate C-API work in #8951 is excluded. References: CPython 3.14.7 call implementation, stable ABI manifest, and existing Python test. Validation Normal repository pre-commit hooks passed. cargo build --locked --offline --features capi -j1 --bin rustpython passed. From crates/capi: cargo clippy --offline --tests -j1 -- -D warnings passed. A local-only C extension, compiled with -Wall -Wextra -Werror, calls the exported symbol through the existing native loader. All eleven required dynamic symbols were verified before loading. The native fixture passed the unchanged TestCAPI.test_cfunction_call assertion body and six supplemental Python checks: empty keywords, a builtin callable, return identity, exception identity, non-callable rejection, and a subsequent successful call. All behavior assertions are in Python; no new Rust behavior tests or Rust-embedded Python tests were added. Coverage boundary: this was direct invocation of the existing canonical method body, not a claim that the skipped canonical unittest class ran through the suite. The installed CPython 3.14.7 distribution lacks _testcapi, so reference runtime execution was unavailable; the exact tagged implementation and canonical assertions were audited. Full workspace tests, cross-platform ABI checks, and the hosted CI matrix are not claimed as local passes. The temporary native fixture is not committed, and existing canonical skips/assertions remain unchanged.
Open Graph Description: Summary Extract the independent PyCFunction_Call stable-ABI shim from #8954 (43065e79ddc46eafeca58cb39398ac007b5d25f7). This is already part of the Python 3.14 contract: although its public declara...
X Description: Summary Extract the independent PyCFunction_Call stable-ABI shim from #8954 (43065e79ddc46eafeca58cb39398ac007b5d25f7). This is already part of the Python 3.14 contract: although its public declara...
Opengraph URL: https://github.com/RustPython/RustPython/pull/9055
X: @github
Domain: github.com
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3f3822fe-fec7-c56b-07fb-a5234dc7636f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B3E4:323204:150E52E:1BC5B80:6B01FA7A |
| html-safe-nonce | 147c7fec34dc05f974742ed14e1e56bafce7e0020ac5e7207e2cdf40d1570dd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0U0OjMyMzIwNDoxNTBFNTJFOjFCQzVCODA6NkIwMUZBN0EiLCJ2aXNpdG9yX2lkIjoiMTIyNzA1ODQ0MDEzNjk0ODM0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9978a893ad3e0db3f84f7f52ef04280aa5e02d6eb95a8e3c1bbd2caa1055c4cf |
| hovercard-subject-tag | pull_request:4810585411 |
| 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/RustPython/RustPython/pull/9055/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Summary Extract the independent PyCFunction_Call stable-ABI shim from #8954 (43065e79ddc46eafeca58cb39398ac007b5d25f7). This is already part of the Python 3.14 contract: although its public declara... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width