Alexandre Vassalotti alexan...@peadrop.com added the comment:
I don't think it is a bug.
The posted code completely breaks the expected behavior of __getattribute__.
With a such implementation, there is nothing we can do with this object as we
cannot introspect it.
Use the following if you
Terry J. Reedy tjre...@udel.edu added the comment:
Should this be closed for the same reason #1730480 was?
If not, would this effectively be a feature request and have to wait for a new
version (3.3)?
--
nosy: +alexandre.vassalotti, pitrou, terry.reedy
versions: +Python 2.7, Python 3.2
Daniel Diniz aja...@gmail.com added the comment:
Is this related to #1730480?
--
nosy: +ajaksu2
priority: - normal
stage: - test needed
versions: +Python 2.6, Python 3.1 -Python 2.5, Python 3.0
___
Python tracker rep...@bugs.python.org
New submission from Michael Yang [EMAIL PROTECTED]:
# pickle.dumps is not able to process an instance of
# a class that inherits from 'dict' and
# overrides the built-in __getattribute__ method
# but can successfully process one that
# overrides the__getattr__ method
class Examp1(dict):
...