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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moat-lib-path
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Hierarchical path representation and manipulation for MoaT
5
5
  Maintainer-email: Matthias Urlichs <matthias@urlichs.de>
6
6
  Project-URL: homepage, https://m-o-a-t.org
@@ -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.2"
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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moat-lib-path
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Hierarchical path representation and manipulation for MoaT
5
5
  Maintainer-email: Matthias Urlichs <matthias@urlichs.de>
6
6
  Project-URL: homepage, https://m-o-a-t.org
File without changes
File without changes
File without changes
File without changes