-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Properties with opname "LOAD_DEREF" #9
Comments
Hi @Bapt5 Thanks for posting. If you can post a short example here that exhibits the problem, I can take a look at it this coming weekend? The core issue is either a simple oversight on my part, or a change in the opcodes from when I first made autoslot. Either way, it should be quite easy to fix once we have a short example to test it on. |
Hi @cjrh |
Ok I have a test that reproduces. Will fix it shortly. |
Handle `self` obtained via LOAD_DEREF not LOAD_FAST. Fixes #9
@Bapt5 I added the feature and pushed a new release to PyPI. Hopefully it works for you. thanks again for reporting the issue :) |
Thanks a lot |
Hi
I'm using autoslot in a project. But I don't understand why your librairy don't work on some of my class. I tried to debug in your module, and I found that the the opname is equal to
LOAD_DEREF
instead ofLOAD_FAST
. Do you know why it do that? And how can I fix it?The text was updated successfully, but these errors were encountered: