3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-17 15:39:27 +00:00
z3/src/api/python
Copilot 56a8259717
Add Z3_mk_polymorphic_datatype to Python, .NET, Go, and TypeScript bindings (#9181)
* Add Z3_mk_polymorphic_datatype to Python, .NET, Go, and TypeScript bindings

Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/13ef481d-61f5-47e1-8659-59cd91692fdd

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Improve Python error message for polymorphic datatype self-reference check

Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/13ef481d-61f5-47e1-8659-59cd91692fdd

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-03-31 14:15:34 -07:00
..
z3 Add Z3_mk_polymorphic_datatype to Python, .NET, Go, and TypeScript bindings (#9181) 2026-03-31 14:15:34 -07:00
.gitignore Minor tweaks to make things more reliable/less obnoxious 2016-09-14 01:49:37 -07:00
CMakeLists.txt BLD: Add CMake option to build Python bindings without rebuilding libz3 (redux) (#8088) 2026-02-18 20:57:00 -08:00
MANIFEST.in MANIFEST.in will now include pyproject.toml (#5979) 2022-04-15 19:53:16 +02:00
pyproject.toml Revert "Fix source installation to create dist-info directory for package dis…" (#7704) 2025-06-29 09:11:32 -07:00
README.txt fix #2131 2019-02-10 10:07:24 -08:00
setup.py add tag for linux/loongarch64 (#9184) 2026-03-31 08:57:20 -07:00
z3test.py fix python for 3.x 2016-09-22 22:24:43 -07:00

On Windows, to build Z3, you should executed the following command
in the Z3 root directory at the Visual Studio Command Prompt

       msbuild /p:configuration=external

If you are using a 64-bit Python interpreter, you should use

       msbuild /p:configuration=external /p:platform=x64


On Linux and macOS, you must install python bindings, before trying example.py.
To install python on Linux and macOS, you should execute the following
command in the Z3 root directory

        sudo make install-z3py