[Git][NTPsec/ntpsec][master] Document a Python compatibility issue.
Eric S. Raymond
gitlab at mg.gitlab.com
Tue Sep 20 08:11:43 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
9621de37 by Eric S. Raymond at 2016-09-20T04:11:30-04:00
Document a Python compatibility issue.
- - - - -
2 changed files:
- INSTALL
- devel/hacking.txt
Changes:
=====================================
INSTALL
=====================================
--- a/INSTALL
+++ b/INSTALL
@@ -13,7 +13,7 @@ or some equivalent facility.
There are some prerequisites. Libraries need the library installed
to run and in addition, the development headers installed to build.
-Python 2.x, x >= 6, or Python 3.x >= 2::
+Python 2.x, x >= 6, or Python 3.x >= 3::
Required to build, and for various scripts such as ntpviz. Our
Python code has been written polyglot to also run with production
versions of Python 3.
=====================================
devel/hacking.txt
=====================================
--- a/devel/hacking.txt
+++ b/devel/hacking.txt
@@ -156,7 +156,7 @@ the compiler and toolchain have been modernized.
== Python guidelines ==
-You may assume Python 2 at 2.6 or later, or Python 3 at 3.2 or later.
+You may assume Python 2 at 2.6 or later, or Python 3 at 3.3 or later.
Please read https://www.python.org/dev/peps/pep-0008/[PEP 8] and use
that style. The only PEP 8 style rule we relax is that you may
@@ -170,6 +170,11 @@ detail at
http://www.catb.org/esr/faqs/practical-python-porting/
+Note that Python 3.x versions before 3.3 had sufficiently serious
+back-compatibility issues that trying to make them run is probably
+doomed. The first 3.x version under which our Python has been
+extensively tested is 3.5.
+
== General notes ==
=== Build system ===
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/9621de370be213df21a42d832f19b099a5115cad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160920/7327a45f/attachment.html>
More information about the vc
mailing list