[New-bugs-announce] [issue22286] Allow backslashreplace error handler to be used on input

Nick Coghlan report at bugs.python.org
Wed Aug 27 12:50:20 CEST 2014


New submission from Nick Coghlan:

In the discussion on issue 18814, Antoine pointed out that in a Python 3 world, using backslashescape during decoding actually makes sense - it lets you accurately report arbitrary bytes in the sequence, without needing surrogateescape or surrogatepass to be used when encoding later.

----------
messages: 225966
nosy: ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Allow backslashreplace error handler to be used on input
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22286>
_______________________________________


More information about the New-bugs-announce mailing list