Skip to content
Snippets Groups Projects
Commit 4dc52789 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[python] Allow to pass optional pythonName to algorithm.load()

The used downstream generator uses an argument
`pythonName` which seems to be only used in
logging output. So far `dune.generator.algorithm.load()`
always passes the function signature as `pythonName`.

When jit-compiling functions with many arguments
and complicated type names, this may provide very
verbose output. On the other hand, it's very well
possible that in many instances of generated
functions the signature coincides, while the
significant difference is in the actual function
body rending the verbose output useless.

This patch adds support for passing a custom value
for `pythonName` to `dune.generator.algorithm.load()`
by a corresponding keyword argument. If the argument
is not passed, the signature is used as before.
parent 7c4b51c2
Loading
Pipeline #69013 passed
Pipeline: Dune Nightly Test

#69015

    Loading
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment