[New-bugs-announce] [issue1537] Change GeneratorExit's base class from Exception to BaseException

Chad Austin report at bugs.python.org
Sun Dec 2 08:08:02 CET 2007


New submission from Chad Austin:

Per discussion at http://mail.python.org/pipermail/python-dev/2007-
December/075498.html, this patch changes GeneratorExit's base class 
from Exception to BaseException.

I updated the tests and documentation, but I may have missed any other 
discussion of GeneratorExit in the documentation.  Happy to update the 
patch if there is any feedback.

----------
components: Interpreter Core
files: GeneratorExit-BaseException.patch
messages: 58079
nosy: aegis
severity: normal
status: open
title: Change GeneratorExit's base class from Exception to BaseException
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file8850/GeneratorExit-BaseException.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1537>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GeneratorExit-BaseException.patch
Type: application/octet-stream
Size: 2032 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071202/e9301afa/attachment.obj 


More information about the New-bugs-announce mailing list