[issue4184] Remove use of private attributes in smtpd
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.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list