[Python-Dev] Why not support user defined operator overloading ? (original) (raw)
Ned Batchelder ned at nedbatchelder.com
Mon Sep 30 04:09:34 CEST 2013
- Previous message: [Python-Dev] Why not support user defined operator overloading ?
- Next message: [Python-Dev] 2.6.9rc1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/29/13 9:02 PM, 张佩佩 wrote:
On 2013/9/30 8:53 Greg Ewing wrote:
It does need to know the operator's precedence and associativity, though, which means either declaring it somewhere, or having some kind of fixed rule I suggest all user defined operator are at lowest priority.
Peipei, this is an interesting discussion, but doesn't belong on Python-Dev. The Python-Ideas mailing list is for exactly this kind of topic.
--Ned.
Regards peipei
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/ned%40nedbatchelder.com
- Previous message: [Python-Dev] Why not support user defined operator overloading ?
- Next message: [Python-Dev] 2.6.9rc1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]