numpy: try to fix issue 1590

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-216 into branch/default

Created originally on Bitbucket by jvarho (otus)

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

Let the object space handle conversion from floats to ints, so that NaN, Inf and numbers that won't fit 64-bits convert correctly.

Merge request reports