Fredrik Lundh wrote: > for record in (select table: <generator expression on table>): > process record
This is precisely what I had in mind when I referred to "special-cased, one-off solutions" two posts back. > if you read my post again, you'll find that I said pretty much the same > thing as you're saying, minus the "we absolutely must have full support > for anonymous blocks to be able to do this" part. That's not what I'm saying. What I'm saying is "we absolutely must have full support for anonblocks to be able to do this *elegantly*", i.e. while avoiding special-cased solutions. The LINQ special case given above won't help me in building proper multiprocessing support. Now, maybe special-cased solutions are preferred to more metaprogramming, in which case there's not much point in continuing the discussion. -- Ivan Krstić <[EMAIL PROTECTED]> | GPG: 0x147C722D _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
