wirawan
4aff740f55
* Parameters value lookup: use try..except EAFP rather LBYL approach.
...
* Add simple checks for _p, _opts_ default arguments in case they are not
indexable/dict-like objects. This is needed to avoid bizzare error messages
later then the Parameters object is in use.
13 years ago
wirawan
6d043f6721
* Simple clarification on example.
14 years ago
wirawan
6641410d89
* Moving the fancy "Parameters" parameter lookup class to its own module.
...
From now on, use it as wpylib.params.flat class.
14 years ago
wirawan
5392a71943
* Correcting minor mistake.
14 years ago
wirawan
f1b8746147
* Updating Parameters class: now based on dict.
...
* Can add two Parameters together, which means joining the two or more dicts,
much like what function dict_join does.
14 years ago
wirawan
fcba27ae24
* Added list_join, much like dict_join, except for list.
...
* Added ranges "magic" object to define piecewise ranges.
14 years ago
wirawan
ffd21689be
* Parameters class: a way to look for parameters in definite search order
...
across functions, so that these parameters do not have to be passed in
kitchen-sink manner.
WARNING: STILL UNDER TESTING.
15 years ago
wirawan
ba3fcb6b6f
* Added: dict_join to join several dicts, with keys from latter dicts taking
...
higher precedence.
15 years ago
wirawan
37b556ded8
* Added dict_slice, a slicing tool returning a subset of a given dict
...
(or other dict-like object).
15 years ago
wirawan
5af79a8000
* Syntactic sugars for quick-and-dirty python programming.
15 years ago