Change by Víctor Terrón :
--
nosy: -vterron
___
Python tracker
<https://bugs.python.org/issue10716>
___
___
Python-bugs-list mailing list
Unsubscribe:
Víctor Terrón added the comment:
Ramchandra, that is not the behavior that I am able to reproduce. Please see
the attached example: in the presence of __reduce__(), __getstate__() is not
being called whether the class or an instance its pickled. This is also in
consonance with what is stated
New submission from Víctor Terrón:
I'm attaching a patch to increase the code coverage of the random module to 99%
(only one line missing, see issue #17489; it's reported as 89%, however,
because of the _test(N=2000) function, which is not executed when the unit
tests are run). M
New submission from Víctor Terrón:
The random.Random class implements both the __getstate__() and __reduce__()
methods. My knowledge of the pickle module is very limited, but apparently this
causes __getstate__() never to get called. Maybe this is a remnant from earlier
code, or are both
Víctor Terrón added the comment:
I would like to take on this issue if, as it seems, Ron is no longer working on
it. I'm thinking of using HTML5 and maybe replicating the default output of
Sphinx.
--
nosy: +vterron
___
Python tracker
Víctor Terrón added the comment:
FWIU, only the name of the method, getAnswer, would be a HTML link in the
"self.getAnswer()" line that pydoc should generate, while strong (highlighted)
text would be used for instance attributes.
I have written a patch for that, by checking
Changes by Víctor Terrón :
Removed file: http://bugs.python.org/file23404/smtplib.py.diff
___
Python tracker
<http://bugs.python.org/issue13163>
___
___
Python-bugs-list m
Víctor Terrón added the comment:
I have added a docstring to _get_socket.
My proposed news entry is almost exactly what you suggested (I have just
replaced 'identity' with 'identify'):
"Issue #13163: Fix smtplib.SMTP._get_socket so that tracebacks correctly
identif
Víctor Terrón added the comment:
Patch updated. It is now a two-line patch. How impressive :-)
Anyway, I have verified that the entire test suite runs without failure.
Should Misc/NEWS be updated for such a trivial modification?
--
Added file: http://bugs.python.org/file23404
Changes by Víctor Terrón :
Removed file: http://bugs.python.org/file23397/smtplib.py.diff
___
Python tracker
<http://bugs.python.org/issue13163>
___
___
Python-bugs-list m
Víctor Terrón added the comment:
It was strange it was *that* easy. My newbie apologies, David. Let me take a
look at it -- hopefully it will be an adequate first task for a newcomer.
--
___
Python tracker
<http://bugs.python.org/issue13
11 matches
Mail list logo