This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2003-08-09.15:29:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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).
History
Date User Action Args
2007-08-23 14:15:24adminlinkissue778964 messages
2007-08-23 14:15:24admincreate