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 — py/bind: better pythonization · Issue #2 · go-python/py

py/bind: better pythonization #2

New issue
Copy link
New issue
Copy link
Open
Open
py/bind: better pythonization#2
Copy link
Assignees
sbinet

Description

@sbinet
sbinet
opened on Jan 30, 2015
Issue body actions

go functions returning an error such as:

func Get() (int, error) {
  return 42, nil
}

should be wrapped as:

def get():
  return 42

where a python Exception is raised if the go error is non-nil.

Activity

  1. sbinet
    self-assigned this
    on Jan 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @sbinet
    sbinet

Labels

No labels
No labels

Type

No type

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.