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

Julian Taylor jtaylor.debian at googlemail.com
Sat Apr 15 10:33:45 EDT 2017


On 15.04.2017 16:30, Julian Taylor wrote:
> 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?
>>
> 
> http://doc.pypy.org/en/latest/faq.html#how-long-will-pypy-support-python2
> 
> According to that Python2 support will be available as long as PyPy
> itself exists.
> 

Of course they don't support the stdlib itself, so this doesn't actually
mean much depending on how the much community will care about fixing
security issues in the python2 stdlib.
But at least there might be a place where patches can get accepted and
released.


More information about the NumPy-Discussion mailing list