[issue34109] Accumulator bug

2018-07-13 Thread Victor Pires
Victor Pires added the comment: Sorry, you are right -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34109] Accumulator bug

2018-07-13 Thread Victor Pires
Change by Victor Pires : Removed file: https://bugs.python.org/file47689/Bug.html ___ Python tracker <https://bugs.python.org/issue34109> ___ ___ Python-bugs-list mailin

[issue34109] Accumulator bug

2018-07-13 Thread Victor Pires
New submission from Victor Pires : A function to return a number from 1 to 5 (inclusive) sometimes returns -1 when called thousands of times. from random import randint import sys def rand5(): """Returns a random integer from 1 to 5 (inclusive)""" r5 =