Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.4k
bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs#20878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
b7bb1694e887188f582646b9d12c10e1b13a703182468a43b52802fe6e86236b9fa49a30bed2d4490cc78c2daaecae480426cb789439048935d68dbb3ee751File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1098,11 +1098,11 @@ Porting to Python 3.9 | ||
| (Contributed by Victor Stinner in :issue:`40241`.) | ||
| * The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, | ||
| :c:func:`PyUnicode_FromUnicode`, :c:func:`PyUnicode_AsUnicode`, | ||
| ``_PyUnicode_AsUnicode``,and :c:func:`PyUnicode_AsUnicodeAndSize` are | ||
| marked asdeprecated in C. They have been deprecated by :pep:`393` since | ||
| Python 3.3. | ||
| (Contributed by Inada Naoki in :issue:`36346`.) | ||
| Removed | ||
| ------- | ||
| @@ -1171,3 +1171,7 @@ Removed | ||
| * Remove ``_PyUnicode_ClearStaticStrings()`` function. | ||
| (Contributed by Victor Stinner in :issue:`39465`.) | ||
| * Remove ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and | ||
| broken since Python 3.3. | ||
| ||
| (Contributed by Inada Naoki in :issue:`36346`.) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| Mark ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, | ||
| ``PyUnicode_FromUnicode``, ``PyUnicode_AsUnicode``, ``_PyUnicode_AsUnicode``, | ||
| and ``PyUnicode_AsUnicodeAndSize`` deprecated in C. Remove ``Py_UNICODE_MATCH`` | ||
| because it was broken since Python 3.3. |