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 serhiy.storchaka
Recipients barry, christian.heimes, kristjan.jonsson, pitrou, ronaldoussoren, serhiy.storchaka, vstinner
Date 2013-10-11.15:03:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381503809.96.0.610953630749.issue19219@psf.upfronthosting.co.za>
In-reply-to
Content
> You cannot change the meaning of TYPE_UNICODE (it uses "surrogatepass").
> Therefore, you have to use new opcodes with other semantics.

You don't need new semantic. Use old semantic. The set of ASCII encoded strings is a subset of valid UTF8 encoded strings, which is a subset of UTF8 encoded with "surrogatepass" strings.
History
Date User Action Args
2013-10-11 15:03:30serhiy.storchakasetrecipients: + serhiy.storchaka, barry, ronaldoussoren, pitrou, kristjan.jonsson, vstinner, christian.heimes
2013-10-11 15:03:29serhiy.storchakasetmessageid: <1381503809.96.0.610953630749.issue19219@psf.upfronthosting.co.za>
2013-10-11 15:03:29serhiy.storchakalinkissue19219 messages
2013-10-11 15:03:29serhiy.storchakacreate