
On Thu, 4 Aug 2016 at 15:47 Alexander Belopolsky < alexander.belopolsky@gmail.com> wrote:
On Thu, Aug 4, 2016 at 2:19 PM, Larry Hastings <larry@hastings.org> wrote:
AFAIK the Clinic DSL can handle all of Python's C extensions. I have no plans to "revise the whole approach"; if someone else does I haven't heard about it.
I was just wondering that with so much effort to bring typing to the mainstream, a more "pythonic" DSL may emerge for describing the signatures of functions in C modules.
BTW, is there any document describing the syntax of "text signatures" such as:
os.rename.__text_signature__ '($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None)'
?
What does the "$module, /," part mean?
Don't remember what the $module means but the / means positional-only arguments.