clj-python / libpython-clj

Python bindings for Clojure
Eclipse Public License 2.0
1.06k stars 69 forks source link

PR-118: add pathing metadata; fix metatype bug #118

Closed jjtolton closed 4 years ago

jjtolton commented 4 years ago

Closes: https://github.com/clj-python/libpython-clj/issues/116

Editors that support "jump to source" can now jump to source using the metadata of Python functions, classes, modules, and methods instantiated via require-python.

Additionally, discovered a bug that prevented socket.SocketIO from being interned with require-python, since it is neither a Python module nor Python type (it is an abc.meta). Put a generic exception wrapper with handling for metatypes.

jumpToSource

jjtolton commented 4 years ago

my laptop was melting down while recording that GIF ... the jumps aren't normally that slow :face_with_head_bandage: