-
Notifications
You must be signed in to change notification settings - Fork 53
Comparing changes
Open a pull request
base repository: CESNET/libyang-python
base: v3.2.0
head repository: CESNET/libyang-python
compare: v3.3.0
- 7 commits
- 7 files changed
- 3 contributors
Commits on Oct 16, 2025
-
schema: adds ability to get when context nodes
This patch adds ability to get context schema node from which when contition is evaluated. It also fixes memory leak of original when_conditions Signed-off-by: Stefan Gula <steweg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 74b7d1d - Browse repository at this point
Copy the full SHA 74b7d1dView commit details -
schema: adds libyang.Enum to package
This patch adds missing Enum class to __init__.py to allow imports by library users Signed-off-by: Stefan Gula <steweg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2cae616 - Browse repository at this point
Copy the full SHA 2cae616View commit details
Commits on Nov 11, 2025
-
context: fix libyang abort/crash on parse_data validation error
This crash (abort) is hit when the parsed data does not validate: python3: ..validation.c:1998: lyd_validate: Assertion `tree && ctx' failed. Aborted The `tree` mentioned in the assert is from last value ffi.NULL that was passed in in the `parent is not None` case. Instead just pass a pointer for a return value regardless of the parent value. Signed-off-by: Christian Hopps <chopps@labn.net>Configuration menu - View commit details
-
Copy full SHA for ddb7e99 - Browse repository at this point
Copy the full SHA ddb7e99View commit details
Commits on Nov 12, 2025
-
context: add option all_implemented and enable_imp_features
includes the default context options LY_CTX_ALL_IMPLEMENTED and LY_CTX_ENABLE_IMP_FEATURES into the ctor of Context class. Signed-off-by: Esben Laursen <hyber@hyber.dk>
Configuration menu - View commit details
-
Copy full SHA for 4cf965c - Browse repository at this point
Copy the full SHA 4cf965cView commit details -
The arg is added as `str` but the fmt requires `int`, causes exception when turning on python logging -- fix. Signed-off-by: Christian Hopps <chopps@labn.net>
Configuration menu - View commit details
-
Copy full SHA for cec98f8 - Browse repository at this point
Copy the full SHA cec98f8View commit details -
log: expose ly_temp_log_options with a context manager
When one wishes to disable logging temporarily (e.g., when calling API functions when an error result is expected and OK), libyang provides ly_temp_log_options(). We need access to this in python, so export access to the function and add a python context (i.e., "with") manager API for using it idiomatically as well. ex usage: ``` with temp_log_options(0): ly_unwanted_logging_call(); ``` Signed-off-by: Christian Hopps <chopps@labn.net>Configuration menu - View commit details
-
Copy full SHA for ad059d6 - Browse repository at this point
Copy the full SHA ad059d6View commit details -
tests: add a logging test for new temp_log_options API
Add a new log unit test. Add a test for the newly exposed temp_log_options() function as well as the already implemented configure_logging() function. Signed-off-by: Christian Hopps <chopps@labn.net>
Configuration menu - View commit details
-
Copy full SHA for 1deecd8 - Browse repository at this point
Copy the full SHA 1deecd8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.2.0...v3.3.0