Message73082
I'm not sure that pickling random.random is a good idea; did you try to
pickle the random.seed function?
Their definition look very similar (at the end of random.py:
_inst = Random()
seed = _inst.seed
random = _inst.random
) but Random.seed is a python method, whereas Random.random is inherited
from _randommodule.c. |
|
Date |
User |
Action |
Args |
2008-09-12 12:05:53 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, barry, nnorwitz, benjamin.peterson |
2008-09-12 12:05:53 | amaury.forgeotdarc | set | messageid: <1221221153.25.0.205917373502.issue3657@psf.upfronthosting.co.za> |
2008-09-12 12:05:24 | amaury.forgeotdarc | link | issue3657 messages |
2008-09-12 12:05:24 | amaury.forgeotdarc | create | |
|