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 random832
Recipients benjamin.peterson, eryksun, ezio.melotti, larry, lemburg, pitrou, random832, serhiy.storchaka, steven.daprano, terry.reedy, vstinner, Árpád Kósa
Date 2015-11-23.21:20:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448313628.92.0.146584505635.issue25709@psf.upfronthosting.co.za>
In-reply-to
Content
> unicode_modifiable in Objects/unicodeobject.c should return 0 if there's cached PyUnicode_UTF8 data. In this case PyUnicode_Append won't operate in place but instead concatenate a new string.

Shouldn't it still operate in place but clear it? Operating in place is only an option if the old string has no references and will be discarded, right?
History
Date User Action Args
2015-11-23 21:20:28random832setrecipients: + random832, lemburg, terry.reedy, pitrou, vstinner, larry, benjamin.peterson, ezio.melotti, steven.daprano, serhiy.storchaka, eryksun, Árpád Kósa
2015-11-23 21:20:28random832setmessageid: <1448313628.92.0.146584505635.issue25709@psf.upfronthosting.co.za>
2015-11-23 21:20:28random832linkissue25709 messages
2015-11-23 21:20:28random832create