[Numpy-discussion] Long term plans for dropping Python 2.7

Julian Taylor jtaylor.debian at googlemail.com
Sat Apr 15 10:30:18 EDT 2017

On 15.04.2017 16:17, Marten van Kerkwijk wrote:
> Hi All,
> I think Nathaniel had a good summary. My own 2¢ are mostly about the
> burden of supporting python2. I have only recently attempted to make
> changes in the C codebase of numpy and one of the reasons I found this
> more than a little daunting is the complex web of include files. In
> this respect, the python3/2 split is certainly not the biggest
> hindrance, but it was also not particularly helpful for understanding
> to have "translations" of python2 macros to python3 equivalents in
> npy_3kcompat.h: for newcomers, it would seem helpful if they could
> read the Python3 C-API and be able to understand what is going on.
> Of course, the above also proves Julian's point: for strings in
> particular, numpy still has a bit to go to be fully python3-ized.
> Finally, as for pypy: they just made a huge effort to become
> compatible with python3; is their plan really to stick with python2
> much beyond 2020?


According to that Python2 support will be available as long as PyPy
itself exists.

More information about the NumPy-Discussion mailing list