diff options
author | Rob Austein <sra@hactrn.net> | 2020-06-21 15:27:45 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2020-06-21 15:27:45 -0400 |
commit | 23eac4f149edc62bb7ccc36db623f9301e2d2fda (patch) | |
tree | bf2182c48020424390be5ac3a152c904680420c7 /core | |
parent | 5fa42db51da6e83247845979547e9f4dd3a4d8a6 (diff) |
Preliminary support for Python 3
This is a first step towards moving all of the Cryptech code from
Python 2 to Python 3. At this stage, the goal is to make the same
source code work in both language dialects, and to build packages
which install both versions of the library code.
This is a necessary step along the way, but since Python 2 is already
past EOL as of this writing and since some distributions have started
dropping all support for Python 2, we will almost certainly want to
drop all Python 2 support in the relatively near future, if only
because it's not really to do all the packaging right for both
versions at once without much more trouble than a dead language
dialect is probably worth. All platforms we care about should support
Python 3 already, any that don't probably have much worse problems.
So the primary purpose of pushing this particular commit is to archive
what will probably be the last version supporting Python 2, while
giving folks a chance to test the incoming Python 3 support a bit.
Once we've cut loose from Python 2 for good, there's some cleanup we
can and should do (eg, all the gymnastics to work around Python 2's
handling of bytes as a form of text rather than a sequence of small
integers), but for the moment we want to keep that compatability,
albeit briefly.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions