Native function registration enhancement
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
Research direction
Start by locating rune_attempt_register_native_functions and tracing how lazy initialization and imports reach it. Check how an existing native registration is represented, then verify that a custom implementation remains unchanged after a later import; add or run focused coverage for both first registration and attempted re-registration.
Written by the indexing model from the issue text.
Description
Feature Request
Description of Problem:
Currently, the rune_attempt_register_native_functions will set or overwrite the native function implementation.
As the initialisation is lazy, it could be misleading if a developer attempts to specify own native function implementation and the n later due to an import the stub redefines the custom installed native function to the system default one.
Potential Solutions:
rune_attempt_register_native_functions to check if the function is already registered and do not override if it is.
- Dominant language
- Python
- Stars
- 0
- Forks
- 3
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from finos/rune-python-runtime
-
bug
finos/rune-python-runtime#39 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
finos/rune-python-runtime#16 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
finos/rune-python-runtime#15 · 1 comment ·
All issues in finos/rune-python-runtime
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100