diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-08 10:50:25 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-06-17 12:29:56 +0300 |
| commit | 992a93bcef47972c75464d1878c4c4b0469b1fbf (patch) | |
| tree | b6dab1d7e16f05ab96a97cfe5bfafeb25a665019 /mesonbuild/modules/python.py | |
| parent | 2be42a5423209a88551cf88dd3b49f8e4da50963 (diff) | |
| download | meson-992a93bcef47972c75464d1878c4c4b0469b1fbf.tar.gz | |
interpreter: make operator functions binary
In preparation for moving them to the class, make the operator functions
binary. Adjust the lambdas for trivial operators, and store unbound
methods for non-trivial ones.
Note that this requires adding operators manually for every override,
even subclasses. It's decidedly ugly at this temporary stage; later
it will result in just an extra @InterpreterObject.operator decorator
on the subclasses.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/modules/python.py')
0 files changed, 0 insertions, 0 deletions
