Author vstinner
Recipients georg.brandl, mark.dickinson, vstinner
Date 2009-09-07.23:27:36
SpamBayes Score 2.25354e-05
Marked as misclassified No
Message-id <>
+10. It would fix the os.urandom(1.2) bug. On Linux, os.urandom() displays
the following warnings and then go into an unlimited loop...

/usr/lib/python2.5/ DeprecationWarning: integer argument expected,
got float
  bytes += read(_urandomfd, n - len(bytes))

read(1.2 - 1) ~> read(0.2) ~> read(0)...

Tolerate float as integers introduces "subtle" bugs like byte/unicode bugs...
Date User Action Args
2009-09-07 23:27:38vstinnersetrecipients: + vstinner, georg.brandl, mark.dickinson
2009-09-07 23:27:38vstinnersetmessageid: <>
2009-09-07 23:27:36vstinnerlinkissue5080 messages
2009-09-07 23:27:36vstinnercreate