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 xdegaye
Recipients barry, ned.deily, serhiy.storchaka, vstinner, xdegaye
Date 2017-12-03.10:12:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512295938.8.0.213398074469.issue32107@psf.upfronthosting.co.za>
In-reply-to
Content
1. Before the regression made by 23df2d1304ece169d7e0dfc843dfb8026b413d9f, on the first invocation of getnode(), the returned value is cached in '_node' (a global variable) and getnode() is idempotent.

2. After 23df2d1304ece169d7e0dfc843dfb8026b413d9f, the returned value is not cached in '_node' when it is obtained through _random_getnode() and getnode() returns different values each time in that case.

Not sure how you can miss that point :-(
History
Date User Action Args
2017-12-03 10:12:18xdegayesetrecipients: + xdegaye, barry, vstinner, ned.deily, serhiy.storchaka
2017-12-03 10:12:18xdegayesetmessageid: <1512295938.8.0.213398074469.issue32107@psf.upfronthosting.co.za>
2017-12-03 10:12:18xdegayelinkissue32107 messages
2017-12-03 10:12:18xdegayecreate