-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
gh-59705: Make PYTHREAD_NAME_MAXLEN macro private #128945
Conversation
Rename PYTHREAD_NAME_MAXLEN to _PYTHREAD_NAME_MAXLEN.
@zooba: Is it what you expected? To make the macro private? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm :)
I was thinking it didn't belong in pyconfig.h, but I didn't realise there was an autoconf switch picking values based on the platform. So yeah, this is fine by me, but if it already existed in public then we probably have to leave it there :( |
I would prefer to only declare this macro in the internal C API. But I have no idea how to do that :-( |
I would prefer most of pyconfig.h be internal API, but that's long history now. We just have to live with it. Having the |
Rename PYTHREAD_NAME_MAXLEN to _PYTHREAD_NAME_MAXLEN.
Rename PYTHREAD_NAME_MAXLEN to _PYTHREAD_NAME_MAXLEN.