D4118: index: make node tree a Python object

Yuya Nishihara yuya at tcha.org
Thu Aug 23 09:08:57 EDT 2018


>   > Perhaps the easiest way around is to convert an internal nodetree back to
>   >  a plain C struct.
>   
>   You mean to embed that plain C struct in the `parsers.index` Python type and in the `parsers.nodetree` type as you suggested earlier? Yes, that's probably our best option. I'll start working on that in a bit.

Yes, that's one way, and I think is the simplest option.


More information about the Mercurial-devel mailing list