{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/6428","labels_url":"https://api.github.com/repos/numpy/numpy/issues/6428/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/6428/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/6428/events","html_url":"https://github.com/numpy/numpy/issues/6428","id":110510061,"number":6428,"title":"msvc9 32-bit builds are unusable","user":{"login":"cgohlke","id":483428,"avatar_url":"https://avatars.githubusercontent.com/u/483428?v=3","gravatar_id":"","url":"https://api.github.com/users/cgohlke","html_url":"https://github.com/cgohlke","followers_url":"https://api.github.com/users/cgohlke/followers","following_url":"https://api.github.com/users/cgohlke/following{/other_user}","gists_url":"https://api.github.com/users/cgohlke/gists{/gist_id}","starred_url":"https://api.github.com/users/cgohlke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgohlke/subscriptions","organizations_url":"https://api.github.com/users/cgohlke/orgs","repos_url":"https://api.github.com/users/cgohlke/repos","events_url":"https://api.github.com/users/cgohlke/events{/privacy}","received_events_url":"https://api.github.com/users/cgohlke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-10-08T18:06:49Z","updated_at":"2015-10-09T20:28:11Z","closed_at":null,"body":"numpy-1.10.0 compiled with Visual Studio 2008 for 32-bit Python fails many tests (only part of the output is shown):\r\n```\r\nRunning unit tests for numpy\r\nNumPy version 1.10.0\r\nNumPy relaxed strides checking option: True\r\nNumPy is installed in X:\\Python27\\lib\\site-packages\\numpy\r\nPython version 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]\r\nnose version 1.3.7\r\n....F.FF.E........................................................................\r\n<snip>\r\n======================================================================\r\nFAIL: test_api.test_array_array\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"X:\\Python27\\lib\\site-packages\\nose\\case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\core\\tests\\test_api.py\", line 75, in test_array_array\r\n    assert_equal(dat, [49.0, 46.0, 48.0])\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\testing\\utils.py\", line 295, in assert_equal\r\n    return assert_array_equal(actual, desired, err_msg, verbose)\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\testing\\utils.py\", line 782, in assert_array_equal\r\n    verbose=verbose, header='Arrays are not equal')\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\testing\\utils.py\", line 708, in assert_array_compare\r\n    raise AssertionError(msg)\r\nAssertionError:\r\nArrays are not equal\r\n\r\n(mismatch 100.0%)\r\n x: array([ 49.,  46.,  48.])\r\n y: array([ 49.,  46.,  48.])\r\n\r\n======================================================================\r\nFAIL: test_api.test_array_astype\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"X:\\Python27\\lib\\site-packages\\nose\\case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\core\\tests\\test_api.py\", line 187, in test_array_astype\r\n    assert_equal(a, b)\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\testing\\utils.py\", line 295, in assert_equal\r\n    return assert_array_equal(actual, desired, err_msg, verbose)\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\testing\\utils.py\", line 782, in assert_array_equal\r\n    verbose=verbose, header='Arrays are not equal')\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\testing\\utils.py\", line 708, in assert_array_compare\r\n    raise AssertionError(msg)\r\nAssertionError:\r\nArrays are not equal\r\n\r\n(mismatch 100.0%)\r\n x: array([[ 0.,  1.,  2.],\r\n       [ 3.,  4.,  5.]], dtype=float32)\r\n y: array([[0, 1, 2],\r\n       [3, 4, 5]])\r\n<snip>\r\n======================================================================\r\nFAIL: test_inplace_floor_division_array_type (test_core.TestMaskedArrayInPlaceArithmetics)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\ma\\tests\\test_core.py\", line 2244, in test_inplace_floor_division_array_type\r\n    assert_equal(len(w), 0, \"Failed on type=%s.\" % t)\r\n  File \"X:\\Python27\\lib\\site-packages\\numpy\\ma\\testutils.py\", line 130, in assert_equal\r\n    raise AssertionError(msg)\r\nAssertionError:\r\nItems are not equal: Failed on type=<type 'numpy.int64'>.\r\n ACTUAL: 1\r\n DESIRED: 0\r\n\r\n----------------------------------------------------------------------\r\nRan 5440 tests in 34.344s\r\n\r\nFAILED (KNOWNFAIL=7, SKIP=9, errors=498, failures=221)\r\n```\r\nReverting https://github.com/numpy/numpy/pull/6252 fixes this problem.\r\n\r\nBuilds using msvc9 64-bit, msvc10, msvc14, and icl do not show this problem.\r\n\r\nI did not notice this before because I was testing the RCs with the Intel, not msvc, compilers."},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/146978884","html_url":"https://github.com/numpy/numpy/issues/6428#issuecomment-146978884","issue_url":"https://api.github.com/repos/numpy/numpy/issues/6428","id":146978884,"user":{"login":"charris","id":77272,"avatar_url":"https://avatars.githubusercontent.com/u/77272?v=3","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T20:28:11Z","updated_at":"2015-10-09T20:28:11Z","body":"I wonder what is different with 64 bits?"}}