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 lazka
Recipients eryksun, ezio.melotti, lazka, vstinner, xiang.zhang
Date 2016-09-06.15:10:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAE6_+Udg4oBbRsOSO-3aU=EG=HRSTaFyyU-eDg7K_5GwnB0Kpw@mail.gmail.com>
In-reply-to <1473171011.88.0.352736436507.issue27971@psf.upfronthosting.co.za>
Content
On Tue, Sep 6, 2016 at 4:10 PM, Eryk Sun <report@bugs.python.org> wrote:
> Lone surrogate codes aren't valid Unicode. In Python 3 they get used internally for tricks like the "surrogateescape" error handler. In Python 3.4+. the 'surrogatepass' error handler allows encoding and decoding lone surrogates:

To add some context: I was writing tests for windows paths containing
surrogates (e.g. os.listdir can return them)
History
Date User Action Args
2016-09-06 15:10:57lazkasetrecipients: + lazka, vstinner, ezio.melotti, eryksun, xiang.zhang
2016-09-06 15:10:57lazkalinkissue27971 messages
2016-09-06 15:10:57lazkacreate