-
Notifications
You must be signed in to change notification settings - Fork 106
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 byte not retained in slices #56
Comments
Yep, makes sense.
чт, 22 июл. 2021 г., 14:58 Itay Perl ***@***.***>:
… Hello,
In the current version (2.3.0), the padding byte resets to 0xFF when a
slice is taken:
In [14]: ih.padding
Out[14]: 0
In [15]: ih[:4].padding
Out[15]: 255
It would make sense to copy the padding byte to the new instance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#56>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUIG6Q3FJBD2KHQOOM3JLTZABWPANCNFSM5AZ3IEVA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
In the current version (2.3.0), the padding byte resets to 0xFF when a slice is taken:
It would make sense to copy the padding byte to the new instance.
The text was updated successfully, but these errors were encountered: