connorferster/handcalcs

'CALL_FUNCTION' Keyword Error

muhammedsural opened this issue ยท 10 comments

Hi,
I did a little test to learn handcalcs with VScode. When I run the code, I get a 'CALL_FUNCTION' keyword error. Is there a point where I'm doing it wrong?

image

That seems strange. Can you post the full traceback?

You can see full traceback as below. I'm using python 3.11.2 version.

image

I'm having the same issue, Windows 10, Python vers 3.11.3
Same issue in Jupyter notebook in browser, or in VSCode

image

As a side question, is there a general forum for non-issue questions?
I was wanting to find somewhere to ask if anyone has been able to render handcalcs using Quarto, but this issues area didn't seem like the right place to ask.

I think this is an upstream issue with innerscope and Python 3.11

@eriknw Do you happen to know if there was a breaking change with Python 3.11 that would affect innerscope?

Oh, my bad! Yeah, I need to update innerscope to 3.11, as there were some breaking changes. I'll do my best to get this done and released this weekend. Should be fun!

๐ŸŽ‰ ๐Ÿš€ innerscope 0.6.0 has been released ๐Ÿš€ ๐ŸŽ‰

It adds Python 3.11 support and drops Python 3.7. It should also fix the issue reported above (which, btw, was caused by "CALL_FUNCTION" being renamed to "CALL").

@connorferster I'm sorry for the long delay for supporting Python 3.11. I'll strive to support new Python versions sooner. As always, please ping me with any issues!

p.s. And, yes, updating innerscope was indeed fun ๐Ÿ˜„

The problem seems solved. Thank you for your interest. @connorferster @eriknw