py-tree-sitter icon indicating copy to clipboard operation
py-tree-sitter copied to clipboard

feat: loggers and dot graphs

Open ObserverOfTime opened this issue 1 year ago • 1 comments

Additions:

  • Language.copy()
  • Language.node_kind_is_supertype(int)
  • Language.__copy__()
  • LogType (enum)
  • Node.field_name_for_named_child(int)
  • Parser.print_dot_graphs(TextIO | None)
  • Parser.logger (getter + setter) - closes #264
  • Tree.copy()
  • Tree.print_dot_graph(TextIO)
  • Tree.__copy__()

Deprecations:

  • Language(int) (updated parser bindings return capsules)

Internals:

  • Drop support for Python 3.9.
  • Disable musl aarch64 wheels.

ObserverOfTime avatar Oct 17 '24 14:10 ObserverOfTime

I don't understand why the process exits with 1 on Windows despite all the tests succeeding.

ObserverOfTime avatar Oct 18 '24 05:10 ObserverOfTime

Hi, can you explain to me why did you opted to remove the int constructor in favor of the object constructor, won't this be an issue for the users of custom .so/.dll parsers?

abdorah avatar Jul 28 '25 17:07 abdorah