Clean up Python 2.x workarounds

Since the next version will require Python 3.9 or later due to
relying on the zoneinfo module, go ahead and clean up code that
supported earlier versions of the interpreter as well as updating
documentation accordingly.
This commit is contained in:
Jeremy Stanley
2024-05-11 02:22:04 +00:00
parent eb5bfa4c58
commit cc7cb0a613
3 changed files with 34 additions and 113 deletions

View File

@@ -2,7 +2,7 @@
Basic Unix Installation Instructions for the Weather Utility
==============================================================
:Copyright: (c) 2006-2014 Jeremy Stanley <fungi@yuggoth.org>. Permission
:Copyright: (c) 2006-2024 Jeremy Stanley <fungi@yuggoth.org>. Permission
to use, copy, modify, and distribute this software is
granted under terms provided in the LICENSE file distributed
with this software.
@@ -16,7 +16,7 @@ modern UNIX derivatives come with one already). If you need to get
Python, it can be obtained from http://www.python.org/ but chances are
your operating system at least provides some sort of native package for
it, which you should probably install in whatever means is recommended
by your OS vendor/distributor. The script is tested with recent 2.x and
by your OS vendor/distributor. The script is tested with recent
3.x Python versions, attempting to maintain forward/backward
compatability with the interpreter, so bug reports or patches to ensure
this continues to be the case are most welcome.