Skip to content

Remove various Python 2 version_info checks#62

Merged
droideck merged 4 commits intopyasn1:mainfrom
Avasam:python-2-version_info
Aug 9, 2024
Merged

Remove various Python 2 version_info checks#62
droideck merged 4 commits intopyasn1:mainfrom
Avasam:python-2-version_info

Conversation

@Avasam
Copy link
Copy Markdown

@Avasam Avasam commented Apr 1, 2024

81ce8d0 removed support for Python 2, but there's still tons of leftover python2 dead code.

Here's a cleanup of Python 2 version_info checks, except for compat.integer (#61) and compat.octets (#60)

Hiding whitespace changes make reviewing these changes much easier.

Copy link
Copy Markdown

@mshafer-NI mshafer-NI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading through from a Python perspective this looks good.

Copy link
Copy Markdown

@droideck droideck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the minor issues, looks good! Thank you!

Comment thread pyasn1/type/base.py Outdated
Comment thread pyasn1/type/constraint.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants