Message17400
Logged In: YES
user_id=31435
That is indeed a silent change in strategy. Assigned to
Raymond for pondering.
Making it act more like previous Pythons would involve
changing Random.seed() to replace a when None with long
(time.time() * 256) before calling super(Random, self).seed
(a). This is much harder to do in C because getting fractional
seconds is a cross-platform mess (Python's time.time() hides
that mess); then random_seed() should probably insist on
having a real argument. Alternatively, random_seed() could
invoke Python's time.time() to get at fractional seconds
datetimemodule.c's time_time() is one way to do that). |
|
Date |
User |
Action |
Args |
2007-08-23 14:15:24 | admin | link | issue778964 messages |
2007-08-23 14:15:24 | admin | create | |
|