◐ Shell
clean mode source ↗

[3.6] bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements by orenmn · Pull Request #579 · python/cpython

according to http://bugs.python.org/issue28298:

  • make array 'Q', 'L' and 'I' accept big intables (objects that have __int__) as elements
  • add to test_array tests to verify this change, and tests to verify that int types arrays don't accept floats as elements
  • while we are in test_array, remove checks whether long long is available

(I ran the test module again, and on my Windows 10, the same tests failed with
and without my patches.)