On 31/08/18 06:33, Stone Zhong wrote:
On Thursday, August 30, 2018 at 10:19:34 PM UTC-7, Terry Reedy wrote:
On 8/30/2018 10:27 PM, Stone Zhong wrote:
Hi there,

I think the fact is:
- There are still considerable amount of people still using python2
- Python2 user will eventually upgrade to python3

So any library not written in a compatible way will either break now for 
python2 user, or will break in the future for python3 user. So I suppose all 
library developer are writing compatible code, is that a fair assumption?

No.  Many people write new libraries only for recent version of Python
3.  Many people who have written Python 2 and 3 compatible libraries, or
Python 2 and Python 3 versions of of their library, have or will drop
Python 2 support for enhancements and even bugfixes for their library.

That said, some people will continue to use existing python 2 code for a
decade or more.

--
Terry Jan Reedy

Thanks for the reply Terry. Got it.

So some people main separate libraries for python2 and python3 (although this 
way it may have extra cost), and may eventually drop support for python2 lib or 
may not even have library for python2.

Thanks,
Stone


Not really as many libraries dropped support for Python 2 some years back. Just one example is the extremely popular plotting library matplotlib which has just put out release candidates for version 3.0.0. This only supports Python 3.5+.

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to