[Python-ideas] Allow "assigning" to Ellipse to discard values.

random832 at fastmail.us random832 at fastmail.us
Tue Feb 10 22:33:20 CET 2015


On Tue, Feb 10, 2015, at 16:23, Chris Barker wrote:
> granted, the _ sticks around and keeps the object alive, which may cause
> issues. But is it often a big deal?

Is cpython capable of noticing that the variable is never referenced (or
is only assigned) after this point and dropping it early? Might be a
good improvement to add if not.


More information about the Python-ideas mailing list