| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Deprecate functions: * PyUnicode_AS_DATA() * PyUnicode_AS_UNICODE() * PyUnicode_GET_DATA_SIZE() * PyUnicode_GET_SIZE() Previously, these functions were macros and so it wasn't possible to decorate them with Py_DEPRECATED().
|
@methane @serhiy-storchaka: Would one of you review this change? Thanks. |
Sorry, something went wrong.
|
I converted these macros to functions in commit 636ad7b. |
Sorry, something went wrong.
FWIW, use of these macros caused deprecation warning because wstr and wstr_length are deprecated. |
Sorry, something went wrong.
Oh ok, nice! |
Sorry, something went wrong.
|
Well, I prefer to make it extra explicit that these functions will be removed soon (Python 3.12) ;-) I'm impatient, I would like to see wstr being removed as soon as possible, I hate the PyUnicode_READY() function! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Deprecate functions:
Previously, these functions were macros and so it wasn't possible to
decorate them with Py_DEPRECATED().