Barry A. Warsaw added the comment:

On Mar 24, 2016, at 02:48 AM, Ethan Furman wrote:

>On the down side, you know somebody is going to @public a class' method --
>how do we check for that?

Do we need to?  Consenting adults and __all__.

OT1H, you do get an AttributeError if you from-import-* and there are things
in __all__ that aren't in the module.  OTOH, it's a pretty obvious error.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to