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 llllllllll
Recipients Ted Meyer, llllllllll
Date 2016-12-28.20:48:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482958140.15.0.985244111084.issue29096@psf.upfronthosting.co.za>
In-reply-to
Content
The issue appears to be in ceval.c:unicode_concatenate (or the py2 equivalent)

The code sets the local variable on the lhs to NULL before doing a potentially inplace append to the string. This means that if a signal is raised during the concat, we never hit the STORE_FAST instruction following the INPLACE_ADD so the local or cell still holds NULL, triggering an error.

I am not really sure what can be done to prevent the failure while still allowing the optimization.
History
Date User Action Args
2016-12-28 20:49:00llllllllllsetrecipients: + llllllllll, Ted Meyer
2016-12-28 20:49:00llllllllllsetmessageid: <1482958140.15.0.985244111084.issue29096@psf.upfronthosting.co.za>
2016-12-28 20:49:00lllllllllllinkissue29096 messages
2016-12-28 20:48:59llllllllllcreate