GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — gh-92800: Fix C++ _Py_CAST with constant types by da-woods · Pull Request #92818 · python/cpython Conversation
Contributor
Thus fixing PyUnicode_READ in C++. I've created a C++ helper struct definition to work out the
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThus fixing PyUnicode_READ in C++. Fixes python#92800 I've created a C++ helper struct definition to work out the type with constant added (it's OK to add const to a constant type in typedefs in C++).
|
There was an error while loading. Please reload this page.
|
I think this can be skipped in news.
I'm not hugely happy with adding a helper struct definition, but I can't see any other easy way to do this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This was fixed elsewhere |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
PyUnicode_READ() fails to build on C++: _Py_CAST() used with a constant type (const void*)
There was an error while loading. Please reload this page.