➜

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.

作者 wolma
收信人 mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, wolma
日期 2018-03-28.14:57:43
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1522249063.63.0.467229070634.issue33144@psf.upfronthosting.co.za>
In-reply-to
内容
So, the PR implements the behaviour suggested by Serhiy as his cases 1 and 2.
Case 2 changes *existing* behaviour because before it was sufficient to have a user-defined getrandbits anywhere in the inheritance tree, while with the PR it has to be more recent (or be defined within the same class) as the random method.
I'm not 100% sold on this particular aspect so if you think the old behaviour is better, then that's fine with me. In most real situations it would not make a difference anyway (or do people build complex inheritance hierarchies on top of random.Random?).
历史
日期 用户 动作 参数
2018-03-28 14:57:43wolma修改recipients: + wolma, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka
2018-03-28 14:57:43wolma修改messageid: <1522249063.63.0.467229070634.issue33144@psf.upfronthosting.co.za>
2018-03-28 14:57:43wolma链接issue33144 messages
2018-03-28 14:57:43wolma创建