why () is () and [] is [] work in other way?

Chris Angelico rosuav at gmail.com
Thu Apr 26 18:23:12 EDT 2012


On Fri, Apr 27, 2012 at 8:04 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> You can't check ref counts at parse time.

I know, and it'd be impossible to recognize at parse time for any but
the most trivial cases (since names can always be rebound). The
detection of temporaries can only be done at run time.

ChrisA



More information about the Python-list mailing list