Don't use U mode, removed in python3.11
authorJeremy Stanley <fungi@yuggoth.org>
Thu, 9 Feb 2023 16:55:58 +0000 (16:55 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Thu, 9 Feb 2023 17:00:54 +0000 (17:00 +0000)
commit0ec4a4d5d57910c4d7249dd6a50ba19b6f5edc7e
tree4f2e46af479434fa25c98870068e4a4f85b690ea
parent8b903a7f49f7d66b026726baf65024623208491c
Don't use U mode, removed in python3.11

This patch was helpfully submitted by Bas Couwenberg to drop use of
the universal newline flag, since Python 3.11 no longer supports it.
It probably breaks the ability to build new correlation files under
Python 2.7 and earlier, but since it shouldn't affect operation of
the utility with prebuilt correlations (the way it's typically
used), this isn't yet considered to drop Python 2.7 support
altogether.
weather.py