moat-lib-path 0.3.2__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {moat_lib_path-0.3.2/src/moat_lib_path.egg-info → moat_lib_path-0.3.3}/PKG-INFO +1 -1
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/debian/changelog +12 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/pyproject.toml +1 -1
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/src/moat/lib/path/_impl.py +4 -1
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3/src/moat_lib_path.egg-info}/PKG-INFO +1 -1
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/LICENSE.txt +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/Makefile +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/README.md +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/debian/.gitignore +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/debian/control +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/debian/rules +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/setup.cfg +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/src/moat/lib/path/__init__.py +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/src/moat_lib_path.egg-info/SOURCES.txt +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/src/moat_lib_path.egg-info/dependency_links.txt +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/src/moat_lib_path.egg-info/requires.txt +0 -0
- {moat_lib_path-0.3.2 → moat_lib_path-0.3.3}/src/moat_lib_path.egg-info/top_level.txt +0 -0
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
moat-lib-path (0.3.3-1) unstable; urgency=medium
|
|
2
|
+
|
|
3
|
+
* New release for 26.1.10
|
|
4
|
+
|
|
5
|
+
-- Matthias Urlichs <matthias@urlichs.de> Thu, 23 Apr 2026 21:17:55 +0200
|
|
6
|
+
|
|
7
|
+
moat-lib-path (0.3.2-2) unstable; urgency=medium
|
|
8
|
+
|
|
9
|
+
* New release for 26.1.7
|
|
10
|
+
|
|
11
|
+
-- Matthias Urlichs <matthias@urlichs.de> Wed, 15 Apr 2026 16:36:43 +0200
|
|
12
|
+
|
|
1
13
|
moat-lib-path (0.3.2-1) unstable; urgency=medium
|
|
2
14
|
|
|
3
15
|
* New release for 26.1.5
|
|
@@ -22,7 +22,7 @@ name = "moat-lib-path"
|
|
|
22
22
|
maintainers = [{email = "matthias@urlichs.de",name = "Matthias Urlichs"}]
|
|
23
23
|
description='Hierarchical path representation and manipulation for MoaT'
|
|
24
24
|
readme = "README.md"
|
|
25
|
-
version = "0.3.
|
|
25
|
+
version = "0.3.3"
|
|
26
26
|
|
|
27
27
|
[project.urls]
|
|
28
28
|
homepage = "https://m-o-a-t.org"
|
|
@@ -611,6 +611,9 @@ class Path(Sequence[PathElem]):
|
|
|
611
611
|
def __repr__(self):
|
|
612
612
|
return f"P({str(self)!r})"
|
|
613
613
|
|
|
614
|
+
def __format__(self, spec):
|
|
615
|
+
return str(self).__format__(spec)
|
|
616
|
+
|
|
614
617
|
@classmethod
|
|
615
618
|
def from_str(cls, path, *, mark="", scan=False):
|
|
616
619
|
"""
|
|
@@ -1107,7 +1110,7 @@ class PathLongener:
|
|
|
1107
1110
|
Caution: this longener ignores path marks.
|
|
1108
1111
|
"""
|
|
1109
1112
|
|
|
1110
|
-
cls = Path
|
|
1113
|
+
cls: type[Path] = Path
|
|
1111
1114
|
|
|
1112
1115
|
def __init__(self, prefix: Path | PathTuple = ()):
|
|
1113
1116
|
if isinstance(prefix, Path):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|