[Python-Dev] PyNumber_*() binary operations & coercion (original) (raw)
Guido van Rossum guido@beopen.com
Thu, 24 Aug 2000 09:00:56 -0500
- Previous message: [Python-Dev] PyNumber_*() binary operations & coercion
- Next message: [Python-Dev] PyNumber_*() binary operations & coercion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I just hope that with all these new operators you haven't closed the door for switching to argument based handling of coercion.
Far from it! Actually, the inplace operators won't do any coercions when the left argument supports the inplace version, and otherwise exactly the same rules apply as for the non-inplace version. (I believe this isn't in the patch yet, but it will be when Thomas checks it in.)
--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)
- Previous message: [Python-Dev] PyNumber_*() binary operations & coercion
- Next message: [Python-Dev] PyNumber_*() binary operations & coercion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]