Galen Seilis
11/03/2024, 2:19 AM_<foo>
are used, which I assume means they belong to the private API.
'Sometimes' I see _`__all__`_ is used. Are things in that list safe to assume as part of the public API?
If a variable (function/method/class/etc) does not have a leading underscore, and is not in a ___all___
, does that mean it is safe to assume it is also part of the public API?Deepyaman Datta
11/03/2024, 4:02 PMNok Lam Chan
11/04/2024, 4:59 PM__all__
but it does not have a leading _
?Nok Lam Chan
11/04/2024, 5:00 PM__all__
because we want to surface the API a little bit instead of from a.b.c.d.e.f import x,y,z
.
In pricinple anything does not have a _
is consider "public" that we try not to break it during minor release.Galen Seilis
11/05/2024, 9:42 PM__all__
but it does not have a leading _
?
I have not checked. Just wanted to know what I can assume about what is stable for users.