log configmix/config.py @ 488:298510ec8171

age author description
Fri, 17 Dec 2021 16:17:17 +0100 Franz Glasner Simplify logic by not using many negations
Fri, 17 Dec 2021 16:06:49 +0100 Franz Glasner Instead of using u(str(v)) use specialized functions for PY2 and PY3
Fri, 17 Dec 2021 15:56:33 +0100 Franz Glasner Use the new contant _EMPTY_STR where appropriate
Fri, 17 Dec 2021 15:55:51 +0100 Franz Glasner Avoid repeaded string concatenations in .expand_variable(): use a list of string parts and proper indexes into the source string
Fri, 17 Dec 2021 14:14:36 +0100 Franz Glasner Optimize .quote() by using str.translate() instead of repeatedly calling str.replace()
Fri, 17 Dec 2021 13:53:25 +0100 Franz Glasner Remove unneeded __future__ import because we are on Python 2.6+
Fri, 17 Dec 2021 13:12:19 +0100 Franz Glasner Use a quick-check for .quote() if no quoting is needed
Fri, 17 Dec 2021 12:49:07 +0100 Franz Glasner Because we are Pytho 2.6+ remove some compatibility code for pre-Python 2.6
Fri, 17 Dec 2021 11:52:56 +0100 Franz Glasner Optimize .unquote(): instead of doing string comparisone do this with characters
Fri, 17 Dec 2021 11:46:36 +0100 Franz Glasner Avoid some repeated string/unicode conversions for constants used by quoting
Fri, 17 Dec 2021 11:42:47 +0100 Franz Glasner Optimize .unquote() by aliasing some methods to locals and avoiding the first append call
Fri, 17 Dec 2021 11:09:14 +0100 Franz Glasner Optimize ._split_filters() for the most common case of no-filters: use s.partition() first
Fri, 17 Dec 2021 10:57:59 +0100 Franz Glasner Optimize ._split_ns(): use str.partition() if possible instead of str.split(n, 1)
Thu, 16 Dec 2021 09:19:50 +0100 Franz Glasner Docs
Thu, 16 Dec 2021 09:15:18 +0100 Franz Glasner Index list-access for jailed configurations: be more generic by calling also __getitem__ in the base
Wed, 15 Dec 2021 22:59:05 +0100 Franz Glasner len-support for jailed configurations: implement a proper __len__() method
Wed, 15 Dec 2021 09:10:01 +0100 Franz Glasner Proper boolean context for jailed configurations: __bool__()/__nonzero__()
Wed, 15 Dec 2021 08:48:37 +0100 Franz Glasner Implement proper iteration support for jailed configurations
Wed, 15 Dec 2021 00:17:27 +0100 Franz Glasner "yield" is only supported for older Python versions if "generators" are imported from __future__
Tue, 14 Dec 2021 14:35:39 +0100 Franz Glasner Make exception formatting more robuts: pack all %-style formatting args explicitely into tuples
Tue, 14 Dec 2021 14:28:10 +0100 Franz Glasner FIX: KeyError formatting.
Sat, 11 Dec 2021 19:56:35 +0100 Franz Glasner Attribute-style access for jailed configurations
Fri, 10 Dec 2021 09:27:47 +0100 Franz Glasner FIX: Merge properly when the configuration's __getitem__ do now interpolate: prohibit duplicate interpolation and interpolation while merging
Fri, 10 Dec 2021 03:00:11 +0100 Franz Glasner Add proper .get() support for jailed and unjailed configurations
Fri, 10 Dec 2021 02:20:54 +0100 Franz Glasner FIX: Handle "list"-type keys in __contains__ and __getitem__ properly: convert to tuples for contatenation with tuple
Fri, 10 Dec 2021 02:18:16 +0100 Franz Glasner Optimize __getitem__() in jailed configurations: call base directly
Fri, 10 Dec 2021 02:15:00 +0100 Franz Glasner Optimized __contains__() implementation for jailed and unjailed configurations
Fri, 10 Dec 2021 01:44:12 +0100 Franz Glasner Style
Fri, 10 Dec 2021 01:33:37 +0100 Franz Glasner - Dict-level access to a configuration key now does variable interpolation.
Thu, 09 Dec 2021 22:51:10 +0100 Franz Glasner Proper "repr()" for a jailed configuration: put the root path into the output