~josef-pktd/scipy/scipytrunkcopy

Viewing all changes in revision 5043.

  • Committer: cdavid
  • Date: 2009-06-02 05:57:11 UTC
  • Revision ID: svn-v4:d6536bca-fef9-0310-8506-e4c0a848fbcf:trunk:5796
Workaround for PyInt_Check failures for python 2.6

If an int is an instance of np.int32, PyInt_Check on it will fail for
python 2.6 and later. Instead of converting the related argument to a
'pure' python int in the Data class, I added a workaround at the C level
to avoid changing anything in the ODR API by accident.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: