[issue40130] Remove _PyUnicode_AsKind from private C API

2020-04-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 17b4733f2ff0a4abc06e8c745755c06fc32942dd by Serhiy Storchaka in branch 'master': bpo-40130: _PyUnicode_AsKind() should not be exported. (GH-19265) https://github.com/python/cpython/commit/17b4733f2ff0a4abc06e8c745755c06fc32942dd --

[issue40130] Remove _PyUnicode_AsKind from private C API

2020-04-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40130] Remove _PyUnicode_AsKind from private C API

2020-03-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18622 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19265 ___ Python tracker ___

[issue40130] Remove _PyUnicode_AsKind from private C API

2020-03-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : _PyUnicode_AsKind is exposed as private C API. It is only used in unicodeobject.c, where it is defined. Its name starts with an underscore, it is not documented and not included in PC/python3.def (therefore is not exported on Windows). Seems it is not us