[Python-Dev] Problems with new-style classes and coercion (original) (raw)
Guido van Rossum guido@python.org
Mon, 22 Apr 2002 14:54:34 -0400
- Previous message: [Python-Dev] Problems with new-style classes and coercion
- Next message: [Python-Dev] LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> This means that the + operator > doesn't call coerce. For some reason, coerce() still calls it; > maybe that was a mistake.
Maybe; maybe not. Maybe it would be a good idea to issue a warning when a new-style class defines coerce.
I think I agree. I'll get to this before 2.3 is released. ;-)
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Problems with new-style classes and coercion
- Next message: [Python-Dev] LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]