Nick Coghlan wrote: > One of the comments made on Georg's initial attempt at implementing > these features was that it would be nice to avoid the function call > overhead in the listcomp & setcomp case ... I tried to do that and > essentially failed outright
Not having seen the code, my thought would be to temporarily change the symtab entry so that it refers to a different locals slot, compile the nested code with that, and then change it back again. Did you consider doing something like that and find that it wouldn't work? -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com