Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

PyErr_Fetch always causes a nil pointer exception #37

Closed
@mischief

Description

@mischief

the code

func PyErr_Fetch() (exc, val, tb *PyObject) {
    C.PyErr_Fetch(&exc.ptr, &val.ptr, &tb.ptr)
    return
}

will always cause a nil pointer exception because of the deref of the pointer return values. is this intentional?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy