[Python-Dev] can't assign to function call (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 18 22:50:05 CET 2013


Hrvoje Niksic wrote:

I am not the best person to answer because I go on to argue that this syntax is not needed in Python at all (anything it can do can be implemented with setitem at no loss of clarity).

I would even argue that the proxy solution is even better for that particular use case, because it makes both operations look like forms of indexing, which they are.

-- Greg



More information about the Python-Dev mailing list