From b525b936a028fcc8cb1ab5ff34718f842303c7b3 Mon Sep 17 00:00:00 2001 From: Zane Fink Date: Mon, 13 Jul 2026 14:06:06 -0700 Subject: [PATCH 1/2] docs: clarify Python source path handling --- bindings/python/PythonBindings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/PythonBindings.cpp b/bindings/python/PythonBindings.cpp index 924176bc0..d0c6e3750 100644 --- a/bindings/python/PythonBindings.cpp +++ b/bindings/python/PythonBindings.cpp @@ -31,7 +31,8 @@ struct ArgStorage { }; std::string readSource(py::object Source) { - // Accept either inline source text or a path-like object naming a file. + // Read from a file when Source's string representation names one; otherwise, + // treat the string itself as inline source text. py::object PathLike = Source; if (py::hasattr(Source, "__fspath__")) PathLike = Source.attr("__fspath__")(); From 5c0b99602d9be4a8c6e610f484733346ffe90874 Mon Sep 17 00:00:00 2001 From: Zane Fink Date: Mon, 13 Jul 2026 14:34:56 -0700 Subject: [PATCH 2/2] Trigger Build