Title: padding byte not retained in slices · Issue #56 · python-intelhex/intelhex · GitHub
Open Graph Title: padding byte not retained in slices · Issue #56 · python-intelhex/intelhex
X Title: padding byte not retained in slices · Issue #56 · python-intelhex/intelhex
Description: 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.
Open Graph Description: 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 pad...
X Description: 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 pad...
Opengraph URL: https://github.com/python-intelhex/intelhex/issues/56
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"padding byte not retained in slices","articleBody":"Hello,\r\n\r\nIn the current version (2.3.0), the padding byte resets to 0xFF when a slice is taken:\r\n```\r\nIn [14]: ih.padding\r\nOut[14]: 0\r\n\r\nIn [15]: ih[:4].padding\r\nOut[15]: 255\r\n```\r\nIt would make sense to copy the padding byte to the new instance.","author":{"url":"https://github.com/itayperl","@type":"Person","name":"itayperl"},"datePublished":"2021-07-22T11:58:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/56/intelhex/issues/56"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ec4e1d02-3f81-0a4b-17af-b69ee2398f86 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1CE:30239:9992D5:D00E50:698DC24A |
| html-safe-nonce | 6380d44b4a642a9a3dde7a5a89bf3b5b0b701f2dfa761971c5f7f8af99f5961b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUNFOjMwMjM5Ojk5OTJENTpEMDBFNTA6Njk4REMyNEEiLCJ2aXNpdG9yX2lkIjoiMjc3OTYwODY1NTY5OTIzMTMwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27714807bf201626d4937ac6326c16ea7fc5a8342275b3ebe60df6457aa0ed93 |
| hovercard-subject-tag | issue:950581454 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-intelhex/intelhex/56/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7030affca0f453e31ae4e504507e7048f7f1fa31a204302dc6a095fd10250afa/python-intelhex/intelhex/issues/56 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7030affca0f453e31ae4e504507e7048f7f1fa31a204302dc6a095fd10250afa/python-intelhex/intelhex/issues/56 |
| og:image:alt | 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 pad... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | itayperl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2457fd9a1b17ca7f38c3c2653895ccb2e0dd04f18f77446a21354e9bc4b7902f |
| turbo-cache-control | no-preview |
| go-import | github.com/python-intelhex/intelhex git https://github.com/python-intelhex/intelhex.git |
| octolytics-dimension-user_id | 55888006 |
| octolytics-dimension-user_login | python-intelhex |
| octolytics-dimension-repository_id | 33128473 |
| octolytics-dimension-repository_nwo | python-intelhex/intelhex |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33128473 |
| octolytics-dimension-repository_network_root_nwo | python-intelhex/intelhex |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 878672b82363fd98fbdc5bd0edb68e572c8a8d9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width