Giampaolo Rodola' <g.rod...@gmail.com> added the comment:

> Would that be acceptable?

I guess it would. Deciding to use that naming convention was a bad design 
choice in the first place, hence your proposal is perfectly reasonable, in my 
opinion.

> What additional tests would you deem necessary?

I think that a test which iterates over all renamed attributes and makes sure 
that DeprecationWarning is raised would be fine.
Also, "__attrname" and "attrname" should be checked for equality.

----------

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

Reply via email to