[New-bugs-announce] [issue16440] Exception type

Yongzhi Pan report at bugs.python.org
Thu Nov 8 16:22:55 CET 2012

New submission from Yongzhi Pan:


"Attempting to set a method attribute results in a TypeError being raised."

But in the example, if we do c.method.whoami = 'c', we get AttributeError instead of TypeError.

assignee: docs at python
components: Documentation
messages: 175174
nosy: docs at python, fossilet
priority: normal
severity: normal
status: open
title: Exception type
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list