Message284198
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. |
|
Date |
User |
Action |
Args |
2016-12-28 20:49:00 | llllllllll | set | recipients:
+ llllllllll, Ted Meyer |
2016-12-28 20:49:00 | llllllllll | set | messageid: <1482958140.15.0.985244111084.issue29096@psf.upfronthosting.co.za> |
2016-12-28 20:49:00 | llllllllll | link | issue29096 messages |
2016-12-28 20:48:59 | llllllllll | create | |
|