numpy/numpy — pull request #3802 by juliantaylor (2013-09-26 20:36:41+00:00)
Title: BUG: do a boolean check on casting bool to other types

avoids some issues of booleans coming from external buffers that may not
only contain 0 or 1.
closes #3801.