Skip to content

Broken Python 2.7 compatibility #874

@pysquared

Description

@pysquared

Firstly, many thanks for this project. I have to support legacy Python 2.7 systems, and it is invaluable.

I have been using version 3.18.0, but when upgrading to 3.23.0, my package failed to build the pyc files as follows:

These 3 modules have type annotations:

  Cipher/_mode_kw.py
  Cipher/_mode_kwp.py
  Protocol/HPKE.py

This file has a different SyntaxError on line 411 which from __future__ import print_function would fix:
SelfTest/Protocol/test_HPKE.py # Line 411: print(".", end="", flush=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions