New submission from RalfM :
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>> def f
RalfM added the comment:
I just tested Python 3.6.0a3, and that (mis)behaves exactly like 3.4.3.
--
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/issue24
New submission from RalfM:
I have an utf-8 encoded file containing single surrogates. Reading this file,
specifying surrgatepass, works fine when I read the whole file with .read(),
but raises an UnicodeDecodeError when I read the file line by line:
- start of demo -
Python 3.4.3
New submission from RalfM:
The standard library documentation lists the standard codec error handlers in
three places:
(a) 2. Build-in Functions, section open()
(b) 7.2 codecs - Codec registry and base classes
(c) 7.2.1 Codec Base Classes
As far as I can judge these lists, (c) looks ok, but