Commit Graph

14 Commits

Author SHA1 Message Date
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