Skip to content
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

build-graph tries to look into non-closure code #531

Open
foredu opened this issue Jul 7, 2023 · 0 comments
Open

build-graph tries to look into non-closure code #531

foredu opened this issue Jul 7, 2023 · 0 comments

Comments

@foredu
Copy link

foredu commented Jul 7, 2023

build-graph uses location provided by symbol's meta information and assumes Clojure source code. In some cases it isn't. E.g. libpython-clj refers to Python source code. Watching a foreign source code location might be still useful for watching file changes.

This:

(ns non-clojure-source
  (:require [libpython-clj2.python :refer [initialize!]]
            [libpython-clj2.require :refer [require-python]]))

(initialize!)
(require-python 'numpy)
(numpy/loadtxt "/dev/null")

fails with Invalid symbol: BagObj:, which is related to a Python class definition in the source file ("numpy/lib/npyio.py").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant