Skip to content

Conversation

@StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Nov 19, 2025

@encukou
Copy link
Member

encukou commented Nov 20, 2025

These are aliases of PyOS_stricmp/PyOS_strnicmp, except on Windows (where the my-less variants are aliases of stricmp/strnicmp -- I assume that's because we know they work on that platform).
Could you document them in c-api/conversion?

Ideally also mention that they only ignore case of ASCII characters, and aren't affected by locale.

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants