Skip to content

fix(pcap): Frame.from_data cannot be called — it has no way to pass num and header #1126

Closed

Description

@JarryShaw

Describe the bug
Frame.from_data(frame.info) raises TypeError: Frame.__post_init__() missing 2 required keyword-only arguments: 'num' and 'header'. from_data has no parameter that passes them through, so the public round-trip API cannot rebuild a Frame.

Blocked until
#1115 merges, because it edits frame.py.

System information
main at bdba4fb9d, CPython 3.14.7, Linux.

Additional context
Found by the #1090–#1102 wave's audit and cross-reviews.

Activity

  1. added
    fixPull requests that fix a defect (fix: subject prefix)
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 6, 2026
  2. added
    wipWork in flight - a covering PR is open or an agent is actively on it
    and removed
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 6, 2026
  3. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 6, 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

    fixPull requests that fix a defect (fix: subject prefix)

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions