(original) (raw)

There's a difference between "private", "stable for 3.x" and "stable for all 3" though. It's the third category that's getting too many functions added without due consideration.

Top-posted from my Windows Phone

From: Victor Stinner
Sent: ‎12/‎21/‎2016 8:40
To: Nathaniel Smith
Cc: Steve Dower; Serhiy Storchaka; Python Dev
Subject: Re: \[Python-Dev\] Issue #23903 - stable API is incomplete

2016-12-21 17:21 GMT+01:00 Nathaniel Smith :
> It sounds like the opt-out approach isn't working very well, and maybe an
> opt-in approach should be considered instead? I recognize that the way C
> headers work makes this difficult, but it seems like something needs to
> change.

I proposed something different:
"Python 3.7: remove all private C functions from the Python C API?"
https://mail.python.org/pipermail/python-dev/2016-September/146386.html

Create subdirectories in Include/ to define private functions in
different files.

Victor