Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pybond: need a better way to exclude 'self'/'cls' #4

Open
xkrogen opened this issue Oct 13, 2015 · 1 comment
Open

pybond: need a better way to exclude 'self'/'cls' #4

xkrogen opened this issue Oct 13, 2015 · 1 comment

Comments

@xkrogen
Copy link
Collaborator

xkrogen commented Oct 13, 2015

Current way that we exclude the self and cls parameters is hacky. Need something better

@gnecula
Copy link
Owner

gnecula commented Oct 13, 2015

I'd say that we exclude the 'cls' always. I have written some code to try to detect what kind of function we are annotating, but unfortunately it is not very solid.

As for spying 'self' I can imagine that sometimes we want that. But this is related to how we serialize instances (relates to issue #5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants