[issue4184] Remove use of private attributes in smtpd

Antoine Pitrou report at bugs.python.org
Fri Jul 9 00:44:25 CEST 2010

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

> The patch as-is can't be accepted if not for Python 4.x maybe,
> obviously because it's just too breaking.

With all due respect, this sounds a bit silly. If the attributes were of the "__private" kind, they weren't meant to be used by other classes, and so there's no problem in making them public. (the reverse would be more annoying)

However, making them public means they should be maintained with the same semantics in future versions, which might be too much of a burden. In this case, perhaps you want to make them of the "_private" kind instead.

nosy: +pitrou

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list