[Python-Dev] PEP 340 - possible new name for block-statement

Nick Coghlan ncoghlan at gmail.com
Sat Apr 30 01:55:22 CEST 2005

Pierre Barbier de Reuille wrote:
> Mmmmh ... why introduce a new flag ? Can't you just test the presence of 
> the "__error__" method ? This would lift your problem wouldn't it ?

Perhaps - it would require doing something a little tricky with generators to 
allow the programmer to specify whether the generator should be finalised or not.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list