Skip to content

Remove various Python 2 version_info checks - #62

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

droideck merged 4 commits into
pyasn1:mainfrom
Avasam:python-2-version_info

Conversation

@Avasam

@Avasam Avasam commented Apr 1, 2024 •

Copy link
Copy Markdown

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.

@mshafer-NI mshafer-NI left a comment

Copy link
Copy Markdown

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.

@droideck droideck left a comment

Copy link
Copy Markdown
Member

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 Resolved
Comment thread pyasn1/type/constraint.py Resolved
@droideck
droideck merged commit 001bc19 into pyasn1:main Aug 9, 2024
@Avasam
Avasam deleted the python-2-version_info branch August 9, 2024 13:48
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