gh-157695: Rename HAVE_ICONV to _Py_HAVE_ICONV - #157821
Conversation
|
The HAVE_ICONV macro is new in Python 3.16. |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
I do not mind, but does it make difference if most of configure macros are HAVE_* and this is standard?
Before we fix things, we should stop making them worse.
Which standard is that? |
|
I do not know if this is a formal standard, but many projects use |
It's fine to use HAVE_xxx macros to build a project. What bothers me is that Python exposes these macros in its public C API. It's rare that a project exposes its HAVE_xxx macros in public header files. Example of a search on my Fedora 44 which has 6,130 header files in /usr/include: All macros: DetailsProjects built with |
|
Then the problem is not in having |
It seems like they do no include the "config.h" file in their public C API. |
Py#157695