diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2009-08-24 17:59:47 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2009-08-24 17:59:47 +0000 |
commit | 5c163c1982a6628364d9bffd0a4c1a4cde916194 (patch) | |
tree | 7c65090172e68f7fb7dabfafd0a0e91e1663a565 /numpy/core/arrayprint.py | |
parent | 5710171c76d932c8e95b75eac601ac8159e2e4a1 (diff) | |
download | numpy-5c163c1982a6628364d9bffd0a4c1a4cde916194.tar.gz |
Add ifdefs to change python 2.x style type structure to 3.x style.
Remove bogus COUNT_ALLOCS initializations. These initializations
were incorrect on two counts: the comment says not to initialize
them and the variable locations have been incorrect since python
2.6 when another slot was added to the base structure. These mods
will be done to the rest of the type initializations in another
commit.
Note that the compare slot is reserved in py3k, only rich compares
are used, so this is a change that needs to be made everywhere and
functions that use compares, i.e., searchsorted and non-typespecific
sorts, need to be modified.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions