Skip to content

padding byte not retained in slices #56

Description

@itayperl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions