[issue17489] random.Random implements __getstate__() and __reduce__()
Víctor Terrón
report at bugs.python.org
Wed Mar 20 02:49:12 CET 2013
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 methods actually needed?
----------
components: Library (Lib)
messages: 184721
nosy: mark.dickinson, rhettinger, vterron
priority: normal
severity: normal
status: open
title: random.Random implements __getstate__() and __reduce__()
type: enhancement
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17489>
_______________________________________
More information about the Python-bugs-list
mailing list