Guo Ci
1218f18d89
[zipfile] Add _for_archive method for zipfile.ZipInfo ( #15077 )
2025-11-24 23:29:31 +01:00
Jelle Zijlstra
f32d9f08bd
stdlib: add __slots__ ( #14611 )
2025-08-21 07:24:59 -07:00
Jelle Zijlstra
02a4b07b54
stdlib: add some parameter defaults ( #14610 )
2025-08-21 09:17:33 +02:00
Brian Schubert
622df68c1c
Add @type_check_only to stub-only private classes in stdlib ( #14512 )
2025-08-03 10:13:16 +02:00
Sebastian Rittau
82edad066f
Updates for Python 3.14rc1 ( #14446 )
2025-07-24 16:30:00 +02:00
Sebastian Rittau
38ec95323e
Update to Python 3.14.0b2 ( #14182 )
2025-05-28 12:02:19 +02:00
Max Muoto
dc3b05c85d
Add data_offset property to ZipFile (3.14) ( #14118 )
2025-05-22 08:28:14 +02:00
Sebastian Rittau
30b16c168d
Drop Python 3.8 branches ( #13776 )
2025-04-03 10:35:36 +02:00
Sebastian Rittau
90d89f8983
Remove redundant version_info checks ( #13588 )
...
`zipfile._path` was split into a separate module in Python 3.12.
Originally, we just copied the definition for `CompleteDirs` and `Path`
from `zipfile.pyi` to `zipfile/_path/__init__.pyi` and left the now
defunct version_info branches. This removes the unnecessary branches
from the respective stub files.
2025-03-06 17:02:48 +01:00
Stephen Morton
4890153e61
add zipfile._path.glob ( #13154 )
2024-12-03 13:42:15 +01:00
Stephen Morton
3c869a3165
add zipfile._path.__all__ ( #13040 )
2024-11-19 03:49:17 -08:00
Andrej
f4d099dd77
fix missing 'at' attribute in zipfile.Path ( #12533 )
2024-08-16 16:29:27 +02:00
Max Muoto
dc0b63fd68
Accurate overloads for ZipFile.__init__ ( #12119 )
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
2024-08-11 16:17:06 -07:00
Max Muoto
ea14235f74
Use Final for zipfile constants ( #12446 )
2024-07-28 12:03:57 +02:00
Max Muoto
706a0ff801
Update zipfile for 3.13 ( #12321 )
2024-07-11 16:50:43 -07:00
Shantanu
2d146e7da2
Use PEP 570 syntax in comments ( #11552 )
2024-03-09 15:06:25 -08:00
Shantanu
470a13ab09
Use PEP 570 syntax in stdlib ( #11250 )
2024-03-09 14:50:16 -08:00
Sebastian Rittau
53a8193d64
Update typing_extensions imports in stdlib ( #11244 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2024-01-05 08:15:19 -08:00
Sebastian Rittau
23604858a6
Remove Python 3.7 branches ( #11238 )
2024-01-05 11:39:39 +01:00
Stephen Morton
a53bfebb3f
add zipfile._path ( #11150 )
2023-12-18 14:45:20 +01:00