Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf10.ini @ 499:f46932e8a84c
Configuration._lookupvar() now uses an internal cache (positive and negative).
This give a nice performance boost.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 18 Dec 2021 00:43:36 +0100 |
| parents | 816327e178b0 |
| children | 88bfa76463a6 |
line wrap: on
line source
# -*- coding: utf-8 -*- [DEFAULT] replvalue1 = in the root namespace -- too [config] key1 = in the root namespace key2 = %(replvalue1)s [config.tree1] key3 = :int:0x20 [config.tree1.tree2] key4 = get this as `tree1.tree2.key4' key5 = :bool:TRUE key6 = off
