badouxn added the comment:
Typo in the last comment. The code should be:
'''
def __init__(self, partial, expected):
super().__init__(partial, expected)
self.partial = partial
self.expected = expected
def __str__(self):
return (&quo
badouxn added the comment:
My first fix was indeed wrong.
Upon looking further into it, it seems to me that the problem come from the
fact that the call to super is not done with the right argument.
Upon unpickling, the argument that will be passed to the __init__ is the string
Change by badouxn :
--
keywords: +patch
pull_requests: +4353
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32034>
___
___
Python-
Change by badouxn :
--
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue32034>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by badouxn :
--
title: Impossible to unpickle IncompleteReadError -> Error when unpickling
IncompleteReadError
___
Python tracker
<https://bugs.python.org/issu
New submission from badouxn :
When using asyncio in combination with multiprocessing, a TypeError occur when
readuntil() encounter an EOF instead of the delimiter.
readuntil return a IncompleteReadError exception which is pickled by the
multiprocessing package.
The unpickling failed due to an