[issue10894] Making stdlib APIs private

Antoine Pitrou report at bugs.python.org
Wed Jan 12 20:23:09 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

My take on this:
- adding underscores to locally-defined private functions is good. +1
- -0.5 on "from warnings import warn as _warn"; it's useless complication, users should be able to realize warn() is a public API of the warnings module, not whichever else module using it

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10894>
_______________________________________


More information about the Python-bugs-list mailing list