Skip to content

MAINT: Replace PyUString_GET_SIZE with PyUnicode_GetLength. #16652

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2020

Conversation

charris
Copy link
Member

@charris charris commented Jun 21, 2020

Backport of #16642.

The former is deprecated.
While they have slightly different meanings, the difference is irrelevant for comparison against 0.

Also replaces PyUString_Check with PyUnicode_Check for consistency.

Partially addresses gh-16640.

The former is deprecated.
While they have slightly different meanings, the difference is irrelevant for comparison against 0.

Also replaces `PyUString_Check` with `PyUnicode_Check` for consistency.
@charris charris added this to the 1.19.1 release milestone Jun 21, 2020
@charris charris merged commit 71a0abd into numpy:maintenance/1.19.x Jun 21, 2020
@charris charris deleted the backport-16642 branch June 21, 2020 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants