This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Robert.Kern
Recipients Robert.Kern, jnoller, mark.dickinson, python-dev
Date 2011-03-25.22:08:27
SpamBayes Score 9.479337e-06
Marked as misclassified No
Message-id <1301090908.38.0.12984489118.issue11673@psf.upfronthosting.co.za>
In-reply-to
Content
numpy.int is just an alias to the builtin int, left for historical reasons. The integer scalar type that has the same width as Python's int (numpy.int32 or numpy.int64, depending) will always pass the isinstance() check. Since it's the default integer type in numpy arrays, it will be the most frequently encountered.

Thanks!
History
Date User Action Args
2011-03-25 22:08:28Robert.Kernsetrecipients: + Robert.Kern, mark.dickinson, jnoller, python-dev
2011-03-25 22:08:28Robert.Kernsetmessageid: <1301090908.38.0.12984489118.issue11673@psf.upfronthosting.co.za>
2011-03-25 22:08:27Robert.Kernlinkissue11673 messages
2011-03-25 22:08:27Robert.Kerncreate