go-python / go-python/gpython

[Question] How to implement object methods?

Open
#10 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
1k
Forks
105
PR merge metrics
No merged PRs in 30d

Description

I want to try to implement `hashlib` (PR will follow).

For now I have implemented `Type`, `module`, module method and some "magic methods", but I cannot figure out how to implement object methods such as `update`, `hexdigest` etc.

Here is my WIP [implementation](https://github.com/bbrodriges/gpython/compare/master...stdlib_hashlib).

Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.