Xavier de Gaye <xdeg...@gmail.com> added the comment:

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 :-(

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32107>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to