@@ -20,9 +20,9 @@ one might think.
2020
2121The basic gist of the state of things is as follows:
2222
23- 1. Most production applications today use Python 2.7 .
23+ 1. Most production applications today use Python 3 .
24242. Python 3 is ready for the production deployment of applications today.
25- 3. Python 2.7 will only receive necessary security updates until 2020 [#pep373_eol ]_.
25+ 3. Python 2 reached the end of its life on January 1, 2020 [#pep373_eol ]_.
26264. The brand name "Python" encapsulates both Python 3 and Python 2.
2727
2828
@@ -40,10 +40,6 @@ I'll be blunt:
4040- If you're learning Python for the first time, familiarizing yourself with Python 2.7 will be very
4141 useful, but not more useful than learning Python 3.
4242- Learn both. They are both "Python".
43- - Software that is already built often depends on Python 2.7.
44- - If you are writing a new open source Python library, it's best to write it for both Python 2 and 3
45- simultaneously. Only supporting Python 3 for a new library you want to be widely adopted is a
46- political statement and will alienate many of your users. This is not a problem — slowly, over the next three years, this will become less the case.
4743
4844
4945*********
@@ -58,18 +54,14 @@ Given such, only use Python 2 if you have a strong reason to, such as a
5854pre-existing code-base, a Python 2 exclusive library, simplicity/familiarity,
5955or, of course, you absolutely love and are inspired by Python 2. No harm in that.
6056
61- Check out `Can I Use Python 3? <https://caniusepython3.com/ >`_ to see if any
62- software you're depending on will block your adoption of Python 3.
6357
6458`Further Reading <http://wiki.python.org/moin/Python2orPython3 >`_
6559
6660It is possible to `write code that works on Python 2.6, 2.7, and Python 3
6761<https://docs.python.org/3/howto/pyporting.html> `_. This
6862ranges from trivial to hard depending upon the kind of software
6963you are writing; if you're a beginner there are far more important things to
70- worry about. Note that Python 2.6 is end-of-life upstream, so you shouldn't
71- try to write 2.6-compatible code unless you're being paid specifically to
72- do that.
64+ worry about.
7365
7466
7567***************
@@ -135,7 +127,8 @@ expose Python code to other languages in the .NET framework.
135127IronPython directly into the Visual Studio development environment, making it
136128an ideal choice for Windows developers.
137129
138- IronPython supports Python 2.7. [#iron_ver ]_
130+ IronPython supports Python 2.7. [#iron_ver ]_ IronPython 3 [#iron_ver3 ]_
131+ is being developed, but is not ready for use as of September 2020.
139132
140133PythonNet
141134---------
@@ -151,16 +144,16 @@ installations on non-Windows operating systems, such as OS X and
151144Linux, to operate within the .NET framework. It can be run in
152145addition to IronPython without conflict.
153146
154- Pythonnet supports from Python 2.6 up to Python 3.5. [#pythonnet_ver1 ]_ [ #pythonnet_ver2 ]_
147+ Pythonnet is compatible with Python 2.7 and 3.5-3.8. [#pythonnet_ver1 ]_
155148
156- .. [#pypy_ver ] http ://pypy.org/compat.html
149+ .. [#pypy_ver ] https ://pypy.org/compat.html
157150
158151 .. [#jython_ver ] https://hg.python.org/jython/file/412a8f9445f7/NEWS
159152
160- .. [#iron_ver ] http ://ironpython.codeplex.com/releases/view/81726
153+ .. [#iron_ver ] https ://ironpython.net/download/
161154
162- .. [#pythonnet_ver1 ] https://travis-ci.org/pythonnet/pythonnet
155+ .. [#iron_ver3 ] https://github.com/IronLanguages/ironpython3
163156
164- .. [#pythonnet_ver2 ] https://ci.appveyor.com/project/TonyRoberts/pythonnet-480xs
157+ .. [#pythonnet_ver1 ] https://pythonnet.github.io/
165158
166159 .. [#pep373_eol ] https://www.python.org/dev/peps/pep-0373/#id2
0 commit comments