| Fri, 07 Jan 2022 17:49:33 +0100 |
Franz Glasner |
Tweak setup.py to build packages with pure-Python tags if the extension is not expected to be built (Python 3.4-)
|
| Fri, 07 Jan 2022 00:37:04 +0100 |
Franz Glasner |
fast_interpolate_variables(): allow omission of the cache variable.
|
| Thu, 06 Jan 2022 22:42:09 +0100 |
Franz Glasner |
Style
|
| Thu, 06 Jan 2022 22:36:37 +0100 |
Franz Glasner |
Refactor: signature of _convert_ucs4_to_utf8(): change order of args
|
| Thu, 06 Jan 2022 20:37:29 +0100 |
Franz Glasner |
Some more helper functions (with regard to NULL PyObjects)
|
| Thu, 06 Jan 2022 20:13:10 +0100 |
Franz Glasner |
FIX: Memory-leak
|
| Thu, 06 Jan 2022 20:03:01 +0100 |
Franz Glasner |
FIX: Remove bogus comment
|
| Thu, 06 Jan 2022 19:37:03 +0100 |
Franz Glasner |
Implement and use more helper functions.
|
| Thu, 06 Jan 2022 18:50:09 +0100 |
Franz Glasner |
A simple helper include file with some conveniente functions.
|
| Wed, 05 Jan 2022 16:02:07 +0100 |
Franz Glasner |
An alternate C-implementation of fast_interpolate_variables() that uses the algorithm of the pure-Python implementation
|
| Tue, 04 Jan 2022 21:33:09 +0100 |
Franz Glasner |
For consistency reasons: set tmp to NULL if not useable any more
|
| Tue, 04 Jan 2022 20:53:55 +0100 |
Franz Glasner |
Comment
|
| Mon, 03 Jan 2022 20:20:32 +0100 |
Franz Glasner |
- FIX: Memory-leak with the "filters" local variable
|
| Mon, 03 Jan 2022 00:11:41 +0100 |
Franz Glasner |
Implement a C-version of Configuration.interpolate_variables
|
| Sun, 02 Jan 2022 20:43:24 +0100 |
Franz Glasner |
Do not rstrip() the remaining variable name when parsing out filters from variable names
|
| Sun, 02 Jan 2022 20:40:09 +0100 |
Franz Glasner |
Provide a C implementation of configmix.config._split_filters.
|
| Sun, 02 Jan 2022 16:05:35 +0100 |
Franz Glasner |
Try to interpolate only if the length of the source string exceeds a minimum length
|
| Sun, 02 Jan 2022 02:04:07 +0100 |
Franz Glasner |
Provide a C-implementation of configmix.config.quote() also: fast_quote
|
| Sun, 02 Jan 2022 01:00:10 +0100 |
Franz Glasner |
FIX: Properly raise a UnicodeEncodeError from C
|
| Sat, 01 Jan 2022 21:38:46 +0100 |
Franz Glasner |
FIX: Assign to _JailedConfiguration._path_string only if not yet done
|
| Sat, 01 Jan 2022 21:18:55 +0100 |
Franz Glasner |
Put the value of Py_LIMITED_API into the module dict when the C-extension is compiled against the stable API
|
| Sat, 01 Jan 2022 21:03:05 +0100 |
Franz Glasner |
Automatically select the proper API when building the speedup C-extension:
|
| Sat, 01 Jan 2022 20:36:46 +0100 |
Franz Glasner |
Build the speedup C-extension against the stable API.
|
| Sat, 01 Jan 2022 18:05:32 +0100 |
Franz Glasner |
Type-check is implicitly done by other PyUnicode_NNN functions: skip the extra type-check
|
| Sat, 01 Jan 2022 18:01:32 +0100 |
Franz Glasner |
Added also a fast C-implementation of configmix.config._split_ns
|
| Fri, 31 Dec 2021 21:24:16 +0100 |
Franz Glasner |
Add an optional C-implementation for configmix.config.unquote and configmix.config.pathstr2path.
|
| Wed, 29 Dec 2021 13:33:11 +0100 |
Franz Glasner |
Docs for _split_ns() and _split_filters()
|
| Tue, 28 Dec 2021 19:22:28 +0100 |
Franz Glasner |
_split_ns() and _split_filters() are now module-globals
|
| Tue, 28 Dec 2021 17:28:19 +0100 |
Franz Glasner |
Refactor: the parsing of the quoted and dot-separated path string is put into a function that handles also empty inputs properly
|
| Tue, 28 Dec 2021 16:30:48 +0100 |
Franz Glasner |
more flake8 customizations
|
| Tue, 21 Dec 2021 09:44:36 +0100 |
Franz Glasner |
===== Added signature for changeset 273e18ffb330
|
| Tue, 21 Dec 2021 09:44:22 +0100 |
Franz Glasner |
>>>>> Added tag v0.20 for changeset 16f077229ec2
|
| Tue, 21 Dec 2021 09:44:16 +0100 |
Franz Glasner |
+++++ v0.20
v0.20
|
| Tue, 21 Dec 2021 09:43:34 +0100 |
Franz Glasner |
Changelog
|
| Mon, 20 Dec 2021 22:46:08 +0100 |
Franz Glasner |
Perf script: "once" -> "one"
|
| Mon, 20 Dec 2021 22:45:24 +0100 |
Franz Glasner |
Add timing for non-cached interpolations: using the PY: namespace
|
| Mon, 20 Dec 2021 22:31:58 +0100 |
Franz Glasner |
Optimize jailed configuration somewhat: do not append empty tuples
|
| Mon, 20 Dec 2021 14:33:54 +0100 |
Franz Glasner |
FIX: Handle non-cacheable interpolations properly.
|
| Mon, 20 Dec 2021 14:33:09 +0100 |
Franz Glasner |
Docs
|
| Mon, 20 Dec 2021 13:39:11 +0100 |
Franz Glasner |
Apply None and Empty interpolation filters only on KeyErrors
|
| Mon, 20 Dec 2021 13:12:14 +0100 |
Franz Glasner |
Implement a simple interpolation cache for text types
|
| Mon, 20 Dec 2021 12:45:48 +0100 |
Franz Glasner |
Rename internal cache from __cache to __lookup_cache
|
| Mon, 20 Dec 2021 12:43:17 +0100 |
Franz Glasner |
Change Configuration.expand_variable() to Configuration.interpolate_variables()
|
| Mon, 20 Dec 2021 02:00:03 +0100 |
Franz Glasner |
Implement Configuration.getvar_s() by using Configuration.getvarl() instead of Configuration.getvar().
|
| Sun, 19 Dec 2021 19:01:43 +0100 |
Franz Glasner |
Configuration._split_filters() now does the special filter check for None and Empty also
|
| Sun, 19 Dec 2021 18:53:32 +0100 |
Franz Glasner |
Docs
|
| Sun, 19 Dec 2021 18:51:27 +0100 |
Franz Glasner |
Formatting of NameErrors in ._apply_filters(): put "name" into a tuple explicitely
|
| Sun, 19 Dec 2021 18:47:48 +0100 |
Franz Glasner |
Changelog
|
| Sun, 19 Dec 2021 18:37:37 +0100 |
Franz Glasner |
Docs
|
| Sun, 19 Dec 2021 16:33:31 +0100 |
Franz Glasner |
Remove unneeded "default" keyword argument for Configuration._lookupref() and Configuration.expand_ref_uri()
|
| Sun, 19 Dec 2021 16:04:40 +0100 |
Franz Glasner |
Implement Configuration.items() and Configuration.values() without interpolating the values
|
| Sun, 19 Dec 2021 14:36:18 +0100 |
Franz Glasner |
FIX: Do not filter-out all False values then interpolating (zero int, boolean False)
|
| Sun, 19 Dec 2021 14:10:28 +0100 |
Franz Glasner |
Performance: compute the length of the constant input strinc only once and compute the new rest earlier and use the computed value also in comparisons
|
| Sun, 19 Dec 2021 14:05:14 +0100 |
Franz Glasner |
Move convenient output from the performance script and command line arguments to select all or some performance numbers
|
| Sun, 19 Dec 2021 10:38:20 +0100 |
Franz Glasner |
str.join(): use a list comprehension instead of a generator expression for performance reasons
|
| Sun, 19 Dec 2021 10:35:06 +0100 |
Franz Glasner |
Remove a temporary variable usage
|
| Sat, 18 Dec 2021 18:44:21 +0100 |
Franz Glasner |
Using generator expressions to directly create tuples is a not so good idea performance-wise.
|
| Sat, 18 Dec 2021 18:41:11 +0100 |
Franz Glasner |
FIX: Some other lists that need to converted to tuples
|
| Sat, 18 Dec 2021 18:36:50 +0100 |
Franz Glasner |
FIX: Convert a list ito a tuple before appending it to another tuple
|
| Sat, 18 Dec 2021 11:20:41 +0100 |
Franz Glasner |
More detailed quoting/unquoting performance: with and without outer split
|
| Sat, 18 Dec 2021 11:19:51 +0100 |
Franz Glasner |
Docs
|
| Sat, 18 Dec 2021 11:06:34 +0100 |
Franz Glasner |
Implement clear_cache() for the configuration
|
| Sat, 18 Dec 2021 02:36:30 +0100 |
Franz Glasner |
Measure quote/unquote performance
|
| Sat, 18 Dec 2021 02:35:42 +0100 |
Franz Glasner |
.lstrip() seems to be a little bit faster than .rstrip() when testing whether quoting is needed
|
| Sat, 18 Dec 2021 01:49:48 +0100 |
Franz Glasner |
Use generator comprehensions where possible instead of list comprehensions that are converted to tuples
|
| Sat, 18 Dec 2021 01:26:41 +0100 |
Franz Glasner |
Make quote() and unquote() module globals and also export from configmix
|
| Sat, 18 Dec 2021 01:26:13 +0100 |
Franz Glasner |
Another timing for interpolating a single string completely
|
| Sat, 18 Dec 2021 01:03:49 +0100 |
Franz Glasner |
"quote()" and "unquote()" are now static methods
|
| Sat, 18 Dec 2021 00:43:36 +0100 |
Franz Glasner |
Configuration._lookupvar() now uses an internal cache (positive and negative).
|
| Sat, 18 Dec 2021 00:00:36 +0100 |
Franz Glasner |
FIX: performance test script: make all args unicode
|
| Fri, 17 Dec 2021 23:53:38 +0100 |
Franz Glasner |
Optimize .substitute_variables_in_obj: use dict.items() to avoid one dict lookup
|
| Fri, 17 Dec 2021 23:53:11 +0100 |
Franz Glasner |
A script to measure some basic performance characteristics of configmix.
|
| Fri, 17 Dec 2021 19:34:38 +0100 |
Franz Glasner |
Performance: module-level variable lookup is much faster (similar to local) than class-level (either via CLASS.VARIABLE or self.VARIABLE).
|
| Fri, 17 Dec 2021 19:24:54 +0100 |
Franz Glasner |
Test-script for checking the costs of different variable lookup methods
|
| Fri, 17 Dec 2021 18:58:06 +0100 |
Franz Glasner |
Remove default (i.e. all keyword arguments) from .expand_if_reference() because no-one uses it
|
| Fri, 17 Dec 2021 17:38:17 +0100 |
Franz Glasner |
FIX: Tests when calling getfirstNNNl() and friends properly
|
| Fri, 17 Dec 2021 16:56:31 +0100 |
Franz Glasner |
Remove repeated type(obj) calls
|
| Fri, 17 Dec 2021 16:37:26 +0100 |
Franz Glasner |
Reorder type comparisons by usage
|
| Fri, 17 Dec 2021 16:28:09 +0100 |
Franz Glasner |
Remove unused keyword params for ._lookupvar().
|
| 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:53 +0100 |
Franz Glasner |
More unittests for interpolation
|
| 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:31:32 +0100 |
Franz Glasner |
===== Added signature for changeset db783818a672
|
| Thu, 16 Dec 2021 09:30:52 +0100 |
Franz Glasner |
>>>>> Added tag v0.19.2 for changeset 89bbb66aff02
|
| Thu, 16 Dec 2021 09:30:43 +0100 |
Franz Glasner |
+++++ v0.19.2
v0.19.2
|
| Thu, 16 Dec 2021 09:30:02 +0100 |
Franz Glasner |
Changelog: wording
|
| Thu, 16 Dec 2021 09:27:39 +0100 |
Franz Glasner |
Changelog
|
| 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:34:16 +0100 |
Franz Glasner |
===== Added signature for changeset 4e9ebc4da020
|
| Wed, 15 Dec 2021 09:34:00 +0100 |
Franz Glasner |
>>>>> Added tag v0.19.1 for changeset b6f2450c782c
|
| Wed, 15 Dec 2021 09:33:48 +0100 |
Franz Glasner |
+++++ v0.19.1
v0.19.1
|
| Wed, 15 Dec 2021 09:24:05 +0100 |
Franz Glasner |
Enable documentation of some special methods (dunder) for jailed configurations
|
| Wed, 15 Dec 2021 09:21:39 +0100 |
Franz Glasner |
Changelog
|
| Wed, 15 Dec 2021 09:14:17 +0100 |
Franz Glasner |
Tests for index-based list-style access for jails that are lists and not dicts
|
| 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 01:01:07 +0100 |
Franz Glasner |
Tests: test for iterating the keys of a configuration
|
| Wed, 15 Dec 2021 00:51:10 +0100 |
Franz Glasner |
FIX: unittest: duplicate name of test-method removed
|
| Wed, 15 Dec 2021 00:48:50 +0100 |
Franz Glasner |
Add a test for proper exception formatting when .rebind() raises a KeyError
|
| 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 15:00:45 +0100 |
Franz Glasner |
>>>>> Added tag v0.19.1b1 for changeset 60ac94b64138
|
| Tue, 14 Dec 2021 15:00:34 +0100 |
Franz Glasner |
+++++ v0.19.1b1
v0.19.1b1
|
| Tue, 14 Dec 2021 14:58:45 +0100 |
Franz Glasner |
Changelog
|
| Tue, 14 Dec 2021 14:56:41 +0100 |
Franz Glasner |
Changelog: wording
|
| 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
|