numpy/numpy — pull request #4446 by juliantaylor (2014-03-05 19:04:37+00:00)
Title: BUG: fix double bool compares not being set to 0x1

mask needs to be applied after all packing else the result is the
saturated values (127)