clj-python / libpython-clj

Python bindings for Clojure
Eclipse Public License 2.0
1.08k stars 68 forks source link

Some libpython-clj.python missing in 2.000 #179

Closed lucywang000 closed 2 years ago

lucywang000 commented 2 years ago

E.g.

Is this intended? I guess not. The first two are simply macros to provide some syntax suger :)

The last one are just alias to the libpython-clj.python.protocols namespace:

https://github.com/clj-python/libpython-clj/blob/1.46/src/libpython_clj/python.clj#L25-L43

cnuernber commented 2 years ago

It was intended but not intended to be a hard or irreversible decision. The original python.clj namespace had many things that were duplicated in slightly different ways as we struggled to improve the syntax and user experience. I removed a great many things which meant sometimes removing something that people were using -- I apologize for breaking your code.

I am very much in favor of adding these back with proper documentation.