Talin wrote:
> Hmmm, a single syntax that handles both async callbacks, async errors, 
> and switch/case constructs...maybe this would be more useful than I 
> thought ... :)
> 
> Now, can we figure out how to handle arguments to the code block...?

PEP 343 already gives you an answer to this question :)

Cheers,
Nick.

P.S. I'm not saying I agree with the idea. As Paul pointed out, it doesn't let 
you do anything you can't do with a function definition and an appropriate 
decorator (particularly once the nonlocal PEP goes through).

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
_______________________________________________
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

Reply via email to