[issue25261] Incorrect Return Values for any() and all() Built-in Functions

2015-09-28 Thread Sreenivasulu Saya
New submission from Sreenivasulu Saya: The results displayed by the any() and all() is incorrect (differs from what is documented and what makes sense). Here is the code: - multiples_of_6 = (not (i % 6) for i in range(1, 10)) print("List: ", list(multiples_of_6

[issue25261] Incorrect Return Values for any() and all() Built-in Functions

2015-09-29 Thread Sreenivasulu Saya
Sreenivasulu Saya added the comment: Thanks Steven and Tim for the comments. Today, I learnt something about Python. -- ___ Python tracker <http://bugs.python.org/issue25