Cyberbrain
Cyberbrain copied to clipboard
Python debugging, redefined.
Since we now put expected values in golden files, it's hard to spot different behaviors between different Python versions, which, is often an indication for potential bugs. In theory, behaviors...
 [source](https://code.visualstudio.com/docs/remote/codespaces#_why-is-an-extension-not-installable-in-the-browser)  TODO: - [ ] Figure out why it won't work - [ ] Make sure it works when connecting to the codespace from desktop [vscode-pyodide](https://marketplace.visualstudio.com/items?itemName=joyceerhl.vscode-pyodide) allows running...
https://www.python.org/dev/peps/pep-0659/ It seems part of the implementation (specialization for `LOAD_METHOD`) is already in: https://github.com/python/cpython/pull/27722, and we should be able to test it.
Now `frame.defined_lineno` is the line of the first decorator. Ideally it should be the line where `def` is at. 
I'll use this issue for adding contributors before everything can be automated. Example https://github.com/laike9m/Cyberbrain/pull/37#issuecomment-719231333 ``` @all-contributors please add @laixintao for documentation ```
- [x] filename - [x] function/method name - [x] lineno - [ ] callsite info Currently we only have relative lineno, we need to get the absolute line number of...
Cyberbrain uses https://github.com/u3u/prettier-eslint-check in CI, but it is no longer maintained. We got an [alert](https://github.com/laike9m/Cyberbrain/security/dependabot/cyberbrain-vsc/package-lock.json/mem/open) from GitHub:  If https://github.com/prettier/prettier-eslint-cli/issues/382 does not provide the `check` capability, I'll need to modify...
 When nodes in a loop are replaced, the lines involving replaced nodes disappear. I believe even if these edges are not accurate after modifying loop counters, they still provide...
After #7 is implemented, this is the next step. Basically, the file to highlight is not always opened or focused in the editor, and we should be able to switch...