[Python-3000] PEP3099 += 'Assignment will not become an operation'
greg.ewing at canterbury.ac.nz
Thu May 3 08:31:14 CEST 2007
Terry Reedy wrote:
> and hence '=' will not become an operator and hence '=' will not become
Actually, '=' *is* overloadable in most cases, if
you can arrange for a suitably customised object
to be used as the namespace being assigned into.
About the only case you can't hook is assignment
to a local name in a function.
More information about the Python-3000