[issue8483] asyncore.dispatcher's __getattr__ method produces confusing effects
Giampaolo Rodola'
report at bugs.python.org
Tue May 4 20:58:05 CEST 2010
Giampaolo Rodola' <g.rodola at gmail.com> added the comment:
As per discussion on #python-dev we think it's better to proceed as follows:
for python 2.7 and 3.2:
- fix __getattr__ error message
- raise a DeprecationWarning if cheap inheritance is used and definitively remove its support in the next major version
- create an alias for __str__
For Python 2.6 and 3.1: just fix __getattr__ error message.
Patch for Python 2.7 is in attachment.
----------
assignee: -> giampaolo.rodola
stage: -> commit review
type: -> behavior
versions: +Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file17205/2.7.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8483>
_______________________________________
More information about the Python-bugs-list
mailing list