confuse icon indicating copy to clipboard operation
confuse copied to clipboard

painless YAML config files for Python

Results 56 confuse issues
Sort by recently updated
recently updated
newest added

Hi, I encountered an expected natural behavior, When I wanted to override nested keys for instance `config["global"]["name"].set( "new_name")` the object "global" load from yaml file is emptied, and the only...

## Motivation * Over at [trakt-scrobbler](https://github.com/iamkroot/trakt-scrobbler), some of my confuse templates are getting more and more computationally expensive. Example: I have a template that needs to parse a list of...

Hello ! I replaced pyyaml by Ruamel. This is needed by beetbox/beets#4188 and fixes #52 I removed the hack to keep comments but is there another hack elsewhere ?

@sampsyo - are you open to merge something like this to allow removing sources and deleting config items. (This branch is for a review and not for merging now as...

Please consider this contribution to allow storing dynamic config changes in file.

I know I keep doing new PRs, sorry. Hopefully this will be the last one!! **Basically the goal is:** ConfigSources manage their entire state and minimal assumptions are made about...

Ok so I figured I would pump this out tonight so that I can continue on with other things tomorrow :) Summary of things: - you can pass custom config...

I discovered that config.dump() throws StopIteration if my config_default.yaml has comments in the end of the file. The reason was how original restore_yaml_comments() processed default_data. Also, original restore_yaml_comments() would put...

I moved the changes to a branch, killing the old pull request. This way you can rebase onto master for a clean log if you want.

`yaml_util.restore_yaml_comments` has an explicit call to `next` without catching `StopIteration`, which is raised if the last processed line is empty or a comment. This seems to happen in `Configuration.dump` if...