clj-python / libpython-clj

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

https://github.com/clj-python/libpython-clj/issues/138 #139

Closed vxe closed 3 years ago

vxe commented 3 years ago

platform key change in python3.9

before

user> (libpython-clj.python.interpreter/python-library-regex (libpython-clj.python.interpreter/python-system-info "/usr/local/bin/python3"))
Execution error (IllegalArgumentException) at libpython-clj.python.interpreter/python-library-regex (interpreter.clj:91).
No matching clause: :darwin

after

user> (require 'libpython-clj.python.interpreter)
nil
user> (libpython-clj.python.interpreter/python-library-regex (libpython-clj.python.interpreter/python-system-info "/usr/local/bin/python3"))
#"libpython3.9m?.dylib$"