blob: a464a6324b7bea813db8846bd6c69fe9cdec433f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
v1.2.0
======
#44: ``zipp.Path.open()`` now supports a compatible signature
as ``pathlib.Path.open()``, accepting text (default) or binary
modes and soliciting keyword parameters passed through to
``io.TextIOWrapper`` (encoding, newline, etc). The stream is
opened in text-mode by default now. ``open`` no
longer accepts ``pwd`` as a positional argument and does not
accept the ``force_zip64`` parameter at all. This change is
a backward-incompatible change for that single function.
v1.1.1
======
#43: Restored performance of implicit dir computation.
v1.1.0
======
#32: For read-only zip files, complexity of ``.exists`` and
``joinpath`` is now constant time instead of ``O(n)``, preventing
quadratic time in common use-cases and rendering large
zip files unusable for Path. Big thanks to Benjy Weinberger
for the bug report and contributed fix (#33).
v1.0.0
======
Re-release of 0.6 to correspond with release as found in
Python 3.8.
v0.6.0
======
#12: When adding implicit dirs, ensure that ancestral directories
are added and that duplicates are excluded.
The library now relies on
`more_itertools <https://pypi.org/project/more_itertools>`_.
v0.5.2
======
#7: Parent of a directory now actually returns the parent.
v0.5.1
======
Declared package as backport.
v0.5.0
======
Add ``.joinpath()`` method and ``.parent`` property.
Now a backport release of the ``zipfile.Path`` class.
v0.4.0
======
#4: Add support for zip files with implied directories.
v0.3.3
======
#3: Fix issue where ``.name`` on a directory was empty.
v0.3.2
======
#2: Fix TypeError on Python 2.7 when classic division is used.
v0.3.1
======
#1: Fix TypeError on Python 3.5 when joining to a path-like object.
v0.3.0
======
Add support for constructing a ``zipp.Path`` from any path-like
object.
``zipp.Path`` is now a new-style class on Python 2.7.
v0.2.1
======
Fix issue with ``__str__``.
v0.2.0
======
Drop reliance on future-fstrings.
v0.1.0
======
Initial release with basic functionality.
|