Cached Function?

Still learning PyCharm here. I'm running a Jupyter notebook with a cell that has a function definition. In another cell, I'll execute the function, it might error because I am a poor programmer :) So I fix it, execute the function cell and testing cell. But it references the old function definition. I have to restart PyCharm and everything is oK. What am I missing?

0
2 comments

Just to clarify, after correcting the code you ran the cell one more time before running a cell with the function call, right?


Could you check your idea.log (Help | Show Log in...), are there relevant exceptions/errors?

The issue is likely related to https://youtrack.jetbrains.com/issue/PY-40756

0
Avatar
Permanently deleted user

Correct, and thanks for the link to the other issue. I'll try using the keyboard shortcut instead to run the cell and see if that behaves. Thanks!

0

Please sign in to leave a comment.