[Python-Dev] Bug 7183 and Python 2.6.4 (original) (raw)

R. David Murray rdmurray at bitdance.com
Thu Oct 22 20:44:05 CEST 2009


On Thu, 22 Oct 2009 at 13:16, Tres Seaver wrote:

The fix for 5890 has a funny "smell" to me: copying doc into the instance dict just feels wrong. How does that work with a pure Python class using slots? E.g.:

It doesn't. There's even a test to make sure it doesn't :) (It raises an attribute error.)

doc is a funny beast. If someone can come up with a better fix for 5890, that would be great.

--David



More information about the Python-Dev mailing list