GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — marshal tests are sloppy with error checking · Issue #104645 · python/cpython

marshal tests are sloppy with error checking #104645

New issue
Copy link
New issue
Copy link
Closed
#104646
Closed
marshal tests are sloppy with error checking#104645
#104646
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@iritkatriel
iritkatriel
opened on May 19, 2023
Issue body actions

pymarshal_write_long_to_file and pymarshal_write_object_to_file pretend that PyMarshal_WriteLongToFile/PyMarshal_WriteObjectToFile can set an error.

pymarshal_read_last_object_from_file and pymarshal_read_object_from_file don't check for errors so they can call Py_BuildValue with a NULL arg.

Linked PRs

  • gh-104645: fix error handling in marshal tests #104646
  • [3.11] gh-104645: fix error handling in marshal tests (GH-104646) #104663

Activity

  1. iritkatriel
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    testsTests in the Lib/test dirTests in the Lib/test dir
    on May 19, 2023
  2. iritkatriel
    added 2 commits that reference this issue on May 19, 2023

    pythongh-104645: fix error handling in marshal tests

    19b2600

    Revert "pythongh-104645: fix error handling in marshal tests"

    e9978b8
  3. iritkatriel
    closed this as completedin #104646on May 19, 2023
  4. iritkatriel
    added a commit that references this issue on May 19, 2023

    gh-104645: fix error handling in marshal tests (#104646)

    ac56a85
  5. miss-islington
    added a commit that references this issue on May 19, 2023

    pythongh-104645: fix error handling in marshal tests (pythonGH-104646)

    e1768d9
  6. iritkatriel
    added a commit that references this issue on May 19, 2023

    [3.11] gh-104645: fix error handling in marshal tests (GH-104646) (#1…

    d78c3bc
  7. carljm
    added a commit that references this issue on May 20, 2023

    Merge branch 'main' into gsallam/main

    ea5965a
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

    testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.