-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix overwriting config_section definitions:
* "name" and "param_name" is strongly connected with plugin's code (even in base classes) so these MUST be not changed by subclasses (subclass MUST use same names) * separate "param_name" from "name" to detect overwriting "param_name" by subclasses to raise errors and add "variable_name" method as internal utility * make it possible to change default values in finalized sections because it's very popular that 3rd party plugin prefer different default value for built-in predefined parameters * make it possible to change "init" specification of finalized sections because newly added/changed default values might be able to init sections
- Loading branch information
Showing
5 changed files
with
163 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.