| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Replace PyDict_GetItemWithError() with PyDict_GetItemRef() and remove outdated comment in Modules/_pickle.c.
|
While these macros and functions are deprecated, we still have to support them until October 2030 (Python 3.19.0 final release). So I prefer to test this (deprecated and undocumented) C API. |
Sorry, something went wrong.
* gh-142217: Add tests on the deprecated _Py_Identifier C API (#157638) (cherry picked from commit 21403af) * gh-156939: Add tests on the PyUnicode C API (#157798) Add tests on functions: * PyUnicode_CHECK_INTERNED() * PyUnicode_Check() * PyUnicode_CheckExact() * PyUnicode_Equal() * PyUnicode_GET_LENGTH() * PyUnicode_IS_ASCII() * PyUnicode_IS_COMPACT() * PyUnicode_IS_COMPACT_ASCII() * PyUnicode_KIND() * PyUnicode_MAX_CHAR_VALUE() * PyUnicode_READ() * PyUnicode_READ_CHAR() * PyUnicode_WRITE() Changes: * Add test on PyUnicode_FromOrdinal(0). * Require _testcapi module in test_capi.test_unicode. Since _testcapi is specific to CPython, remove @support.cpython_only. (cherry picked from commit e8f6448)
[3.15] gh-156939: Add tests on the PyUnicode C API (#159533) * gh-142217: Add tests on the deprecated _Py_Identifier C API (#157638) (cherry picked from commit 21403af) * gh-156939: Add tests on the PyUnicode C API (#157798) Add tests on functions: * PyUnicode_CHECK_INTERNED() * PyUnicode_Check() * PyUnicode_CheckExact() * PyUnicode_Equal() * PyUnicode_GET_LENGTH() * PyUnicode_IS_ASCII() * PyUnicode_IS_COMPACT() * PyUnicode_IS_COMPACT_ASCII() * PyUnicode_KIND() * PyUnicode_MAX_CHAR_VALUE() * PyUnicode_READ() * PyUnicode_READ_CHAR() * PyUnicode_WRITE() Changes: * Add test on PyUnicode_FromOrdinal(0). * Require _testcapi module in test_capi.test_unicode. Since _testcapi is specific to CPython, remove @support.cpython_only. (cherry picked from commit e8f6448) (cherry picked from commit bcbe9bc)
| Back | FazBrowse Home | New Git URL |
Replace PyDict_GetItemWithError() with PyDict_GetItemRef() and remove outdated comment in Modules/_pickle.c.