Content-Length: 282434 | pFad | https://github.com/python/cpython/issues/105979

6A Assertion failure in `_imp.get_frozen_object` if data object contains bad marshal data · Issue #105979 · python/cpython · GitHub
Skip to content

Assertion failure in _imp.get_frozen_object if data object contains bad marshal data #105979

@chgnrdv

Description

@chgnrdv

Repro:

import _imp
>>> _imp.get_frozen_object('x', b"6\'\xd5Cu\x12")

Output:

python: Objects/object.c:541: PyObject_Repr: Assertion `!_PyErr_Occurred(tstate)' failed.
Aborted (core dumped)

I'll submit a PR.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/105979

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy