Skip to content

struct.pack_into(), struct.unpack_from() don't document support for negative offsets #71086

Description

@pfalcon
mannequin
BPO 26899
Nosy @pfalcon

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2016-05-01.10:09:35.601>
labels = ['docs']
title = "struct.pack_into(), struct.unpack_from() don't document support for negative offsets"
updated_at = <Date 2016-05-01.10:09:35.601>
user = 'https://github.com/pfalcon'

bugs.python.org fields:

activity = <Date 2016-05-01.10:09:35.601>
actor = 'pfalcon'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2016-05-01.10:09:35.601>
creator = 'pfalcon'
dependencies = []
files = []
hgrepos = []
issue_num = 26899
keywords = []
message_count = 1.0
messages = ['264590']
nosy_count = 2.0
nosy_names = ['pfalcon', 'docs@python']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue26899'
versions = ['Python 3.6']

Linked PRs

Activity

  1. pfalcon commented on May 1, 2016

    pfalconmannequin
    MannequinAuthor

    See
    https://docs.python.org/3/library/struct.html#struct.pack_into
    https://docs.python.org/3/library/struct.html#struct.unpack_from

    Actual source contains code like:

    if (offset < 0)
        offset += vbuf.len;
    

    to allow specify offsets from the end of a buffer.

  2. transferred this issue fromon Apr 10, 2022
  3. added a commit that references this issue on Jul 14, 2026
  4. added 3 commits that reference this issue on Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions