Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

padding: Tip-toe around bytes subclasses. #5548

Merged
merged 1 commit into from
Nov 4, 2020

Conversation

benjaminp
Copy link
Contributor

This change allows future's newbytes class to be padded again.

Fixes #5547.

@alex
Copy link
Member

alex commented Nov 2, 2020

pep8/black errors.

@benjaminp benjaminp force-pushed the terrible-padding-hacks branch 5 times, most recently from 777f5ad to 1c2cbe7 Compare November 3, 2020 00:11
This change allows future's newbytes class to be padded again.

Fixes pyca#5547.
Copy link
Member

@reaperhulk reaperhulk left a comment

Choose a reason for hiding this comment

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

I hate this, but understand why we need it for now. Thanks for doing the work. How urgently do you need a release here?

@reaperhulk reaperhulk merged commit 15771e2 into pyca:master Nov 4, 2020
@benjaminp benjaminp deleted the terrible-padding-hacks branch November 4, 2020 18:25
@benjaminp
Copy link
Contributor Author

I hate this, but understand why we need it for now. Thanks for doing the work.

Thank you very much for putting up with it.

How urgently do you need a release here?

The regression is preventing me from going past 3.2, but that's not urgent for me at the moment. Just doing my regular update cadence for libraries. Before you drop Python 2 support would be good.

@reaperhulk
Copy link
Member

We will definitely do a 3.3 release with this. That release is likely to be our final 2.7 release.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

allowing bytes-like objects for padding is not completely backwards compatible
3 participants