Author serhiy.storchaka
Recipients mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, wolma
Date 2018-04-21.14:45:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524321925.88.0.682650639539.issue33144@psf.upfronthosting.co.za>
In-reply-to
Content
PR 6291 didn't work properly with case 1. Rand2 uses getrandbits() since it is overridden in the parent despites the fact that random() is defined later.

PR 6563 fixes this. It walks classes in method resolution order and finds the first class that defines random() or getrandbits().

PR 6563 also makes tests not using logging for testing purpose.
History
Date User Action Args
2018-04-21 14:45:25serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, wolma
2018-04-21 14:45:25serhiy.storchakasetmessageid: <1524321925.88.0.682650639539.issue33144@psf.upfronthosting.co.za>
2018-04-21 14:45:25serhiy.storchakalinkissue33144 messages
2018-04-21 14:45:25serhiy.storchakacreate