March 18, 2021
7:56 p.m.
On 3/17/2021 6:00 PM, Eric Snow wrote:
Would it be feasible to have distinct header files that contain only the limited API (perhaps in Include/limited)?
I thought the idea of the current separation was for the limited API to be the "default", and the non-limited part to go into cpython/*.h. In which case, the problem is the lack of documentation (which Victor mentioned, but it clearly belongs in the header of each file as Antoine suggests).
I'm not personally too offended by separate or combined files, though I do prefer users to opt in via explicit includes rather than preprocessor definitions or transitive includes. But I even moreprefer not changing things too often.
Cheers, Steve