[Python-Dev] [Python-checkins] cpython (3.2): don't use a slot wrapper from a different special method (closes #14658) (original) (raw)

Mark Shannon mark at hotpy.org
Tue Apr 24 22:42:22 CEST 2012


Benjamin Peterson wrote:

2012/4/24 Mark Shannon <mark at hotpy.org>:

I'm not happy with this fix. It's not perfect, but it's an improvement. Actually, I think it is probably correct. I've been trying to break it by assigning various unusual objects to special attributes and it seems OK so far.

I don't really trust all that slot-wrapper stuff, but rewriting is a lot of work and would introduce new errors, so I'll just leave it at that.

[snip]

Cheers, Mark.



More information about the Python-Dev mailing list