Title: _Py_c_sum, _Py_c_diff, etc - were removed from Python.h · Issue #112019 · python/cpython · GitHub
Open Graph Title: _Py_c_sum, _Py_c_diff, etc - were removed from Python.h · Issue #112019 · python/cpython
X Title: _Py_c_sum, _Py_c_diff, etc - were removed from Python.h · Issue #112019 · python/cpython
Description: See #106339 and #106320. But these functions are documented as public: https://docs.python.org/3/c-api/complex.html#complex-numbers-as-c-structures I think c38c666 should be partially reverted and _Py_c_abs - documented. On another hand,...
Open Graph Description: See #106339 and #106320. But these functions are documented as public: https://docs.python.org/3/c-api/complex.html#complex-numbers-as-c-structures I think c38c666 should be partially reverted and ...
X Description: See #106339 and #106320. But these functions are documented as public: https://docs.python.org/3/c-api/complex.html#complex-numbers-as-c-structures I think c38c666 should be partially reverted and ...
Opengraph URL: https://github.com/python/cpython/issues/112019
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_Py_c_sum, _Py_c_diff, etc - were removed from Python.h","articleBody":"See #106339 and #106320. But these functions are documented as public: https://docs.python.org/3/c-api/complex.html#complex-numbers-as-c-structures\r\n\r\nI think c38c666 should be partially reverted and ``_Py_c_abs`` - documented.\r\n\r\nOn another hand, quick github search shows very little examples of using above functions. See also https://github.com/python/cpython/issues/106320#issuecomment-1633302147. So, in a long term I propose to deprecate this API and related functions (PyComplex_FromCComplex/PyComplex_AsCComplex). Who knows, maybe someday we could use ``\u003ccomplex.h\u003e``...\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-112021\r\n* gh-112107\r\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/skirpichev","@type":"Person","name":"skirpichev"},"datePublished":"2023-11-13T05:24:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/112019/cpython/issues/112019"}
| 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:fcc3f964-eccc-9aba-ed37-a961271e3089 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C846:76F86:AF3A42:F0B569:6969F17A |
| html-safe-nonce | 09107de6a8bf8e99e97714f207698b4ea59e7a6b5e7a6bcebedfdd48a43b0e1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODQ2Ojc2Rjg2OkFGM0E0MjpGMEI1Njk6Njk2OUYxN0EiLCJ2aXNpdG9yX2lkIjoiODQzODE4NDQ4MTU4NTg1MjEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4c13466fdba88bad8837a82a8c95a7c95738fb7882a1af163c68ea8d0fab8154 |
| hovercard-subject-tag | issue:1989915359 |
| 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/python/cpython/112019/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58b2e4f83ae47e50927a1c2e72c41ce80260f4209e4dd5dc02f644dc6de388c1/python/cpython/issues/112019 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58b2e4f83ae47e50927a1c2e72c41ce80260f4209e4dd5dc02f644dc6de388c1/python/cpython/issues/112019 |
| og:image:alt | See #106339 and #106320. But these functions are documented as public: https://docs.python.org/3/c-api/complex.html#complex-numbers-as-c-structures I think c38c666 should be partially reverted and ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skirpichev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width