[Python-Dev] Why not support user defined operator overloading ?
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Sep 30 02:53:08 CEST 2013
More information about the Python-Dev mailing list
Mon Sep 30 02:53:08 CEST 2013
- Previous message: [Python-Dev] Why not support user defined operator overloading ?
- Next message: [Python-Dev] Why not support user defined operator overloading ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steven D'Aprano wrote: > there > is no need to define new syntax at runtime. The parser doesn't need to > know the operator's action until runtime 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. -- Greg
- Previous message: [Python-Dev] Why not support user defined operator overloading ?
- Next message: [Python-Dev] Why not support user defined operator overloading ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list