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 bupjae2
Recipients bupjae2, docs@python
Date 2021-06-28.13:06:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624885606.68.0.537794724905.issue44522@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/3/library/functions.html#open

error parameter of open() function says this:

'surrogateescape' will represent any incorrect bytes as code points in the Unicode Private Use Area ranging from U+DC80 to U+DCFF.


However, U+DC80 to U+DCFF doesn't belong to "Unicode Private Use Area"; it belongs to "Low Surrogate Area".



Suggested fix:

'surrogateescape' will represent any incorrect bytes as (unpaired) low surrogate code units ranging from U+DC80 to U+DCFF.
History
Date User Action Args
2021-06-28 13:06:46bupjae2setrecipients: + bupjae2, docs@python
2021-06-28 13:06:46bupjae2setmessageid: <1624885606.68.0.537794724905.issue44522@roundup.psfhosted.org>
2021-06-28 13:06:46bupjae2linkissue44522 messages
2021-06-28 13:06:46bupjae2create