Closed AlexWaygood closed 8 months ago
Nice
(I'll probably not get back to this until 27th now — will upstream this then :)
(I'll probably not get back to this until 27th now — will upstream this then :)
Enjoy the days off 🎅🎄🎉
Hm, I think parse_file()
should live where the CLI lives; it is an app function, not a library function.
What do you think of this, @vstinner?
Upstream as python/cpython#115542
Tools/clinic/clinic.py
andTools/clinic/cpp.py
inside theTools/clinic/libclinic
package.clinic.py
into a newlibclinic
submodule,libclinic.cli
Tools/clinic/run_clinic.py
, which simply importslibclinic.cli
and executes the CLI if__name__ == "__main__"
. Update the Makefile etc. so that they runTools/clinic/run_clinic.py
instead ofTools/clinic/clinic.py
.