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 lemburg
Recipients lemburg, pitrou
Date 2008-07-29.09:06:27
SpamBayes Score 0.0013218778
Marked as misclassified No
Message-id <1217322389.19.0.197006026422.issue3460@psf.upfronthosting.co.za>
In-reply-to
Content
The comment gives a wrong impression: The problem is not (only) that a
codec might by evil, it's the fact that a codec may well execute Python
code and thus allow the list to be changed by other threads during the
operation.

Now, since in Python 3.x codecs are no longer being invoked, it is
probably safe to assume that Python code is not being executed while
PyUnicode_Join() is running, but please double-check.

It's also wise to apply a sanity check at the end of the loop to check
whether the sequence length has indeed not changed (as assert maybe).
History
Date User Action Args
2008-07-29 09:06:29lemburgsetrecipients: + lemburg, pitrou
2008-07-29 09:06:29lemburgsetmessageid: <1217322389.19.0.197006026422.issue3460@psf.upfronthosting.co.za>
2008-07-29 09:06:28lemburglinkissue3460 messages
2008-07-29 09:06:27lemburgcreate