Custom operator

mathias mathias.foehr at mails.lu
Thu Feb 5 16:36:36 EST 2004


I would like to define a custom operator in Python. 
(It is not about overloading an existing operator but about 
defining special new operators)

Is this possible without deeply manipulating the Python code? 

Are side-effects to be expected?

What about operator precedence? 

Can one define an operator to be right- or left -associative?

mathias



More information about the Python-list mailing list