Skip to content

Remove python2 code from compat.integer#61

Merged
droideck merged 2 commits intopyasn1:mainfrom
Avasam:compat.integer-python2-code
Aug 1, 2024
Merged

Remove python2 code from compat.integer#61
droideck merged 2 commits intopyasn1:mainfrom
Avasam:compat.integer-python2-code

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 scoped specifically to the compat.integer module.

The to_bytes function left feels more like a useful utility than something for compatibility. Maybe you'd like to move it to a different module?

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.

Looks good! Thanks!

@droideck droideck merged commit aa81e4b into pyasn1:main Aug 1, 2024
@Avasam Avasam deleted the compat.integer-python2-code branch August 1, 2024 02:34
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.

2 participants