Changed
- changed the method `resolve(self, base)` in class `IRIReference` to `resolve(self, relative)` in class `IRI`.
- in line with the previous change, the resolve command-line script now accepts `irirefresolve [-h] [-c] base relative` instead of `irirefresolve [-h] [-c] relative base`
Added
- in line with the previous change, added a method `resolve_seglist(self, seglist)` in class `ÌRI`, allowing to write:
python
base = parser.model_from_str('http://www.lirmm.fr')
resolved = base.resolve_seglist(['foo', 'bar'])
print(resolved.recompose)
to obtain `http://www.lirmm.fr/foo/bar`