Overloadable Assignment PEP

Jp Calderone exarkun at intarweb.us
Wed Apr 2 01:23:44 EST 2003


On Tue, Apr 01, 2003 at 08:11:36PM -0800, Drew Moore wrote:
> Howdy! 
> 
> I submitted a pre-PEP on overloadable assignment. 

  -1e100

  Why?

  Assignment is not an object operator.  It's a name operator.

  "x = y" doesn't operate on the object "x" references or the object "y"
references, it operates on x and y.

  Jp

-- 
"The problem is, of course, that not only is economics bankrupt but it has
 always been nothing more than politics in disguise ... economics is a form
 of brain damage."  -- Hazel Henderson
-- 
 up 13 days, 2:00, 3 users, load average: 1.00, 1.00, 1.03





More information about the Python-list mailing list