This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Valentin David, gps, ncoghlan, vstinner, yselivanov
Date 2016-05-25.14:43:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464187381.19.0.150415144914.issue27122@psf.upfronthosting.co.za>
In-reply-to
Content
> The loop seems to be in PyErr_SetObject in a loop that recursively go through PyException_GetContext.

We should also fix this function to avoid the infinite loop.

Maybe we should deny setting "exc.__context__=exc" (modify PyException_SetContext for that). Maybe raise a new RuntimeError in this case?
History
Date User Action Args
2016-05-25 14:43:01vstinnersetrecipients: + vstinner, ncoghlan, gps, yselivanov, Valentin David
2016-05-25 14:43:01vstinnersetmessageid: <1464187381.19.0.150415144914.issue27122@psf.upfronthosting.co.za>
2016-05-25 14:43:01vstinnerlinkissue27122 messages
2016-05-25 14:43:01vstinnercreate