Commit Graph

18 Commits

Author SHA1 Message Date
Stephen Morton
6029bf1819 inheritance for zipimporter (#12920) 2024-10-29 19:47:56 +01:00
Peter Bierma
b208235219 Add deprecation annotation for zipimport.zipimporter.load_module (#12862) 2024-10-20 18:59:00 -07:00
Max Muoto
5522613b99 Add missing zipimporter methods (#12242)
Add missing zipimporter methods
2024-06-30 12:53:02 -07:00
Sebastian Rittau
23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +01:00
Nikita Sobolev
178184c949 Update zipimport for python3.12 (#10240)
The `find_loader` and `find_module` methods were removed: https://github.com/python/cpython/blob/3.12/Lib/zipimport.py
2023-06-02 16:11:13 +01:00
Jelle Zijlstra
ddfaca3200 stdlib: add argument default values (#9501) 2023-01-18 09:37:34 +01:00
Ned Batchelder
379d449894 zipimporter.get_data returns bytes, not str(#9428)
Fixes #9427
2022-12-29 13:59:51 -08:00
Nikita Sobolev
9f0d0b9af7 zipimport: improve bytes handling (#9087) 2022-11-04 17:58:59 -07:00
Alex Waygood
edc0ecd857 Remove Python 3.6 branches from typeshed (#8269) 2022-07-11 10:55:17 +02:00
Alex Waygood
58e505eeb2 Add __all__ for modules beginning with 'u', 'x', 'w' and 'z' (#7374) 2022-02-23 23:04:21 +01:00
Shantanu
b88a6f19cd Upgrade black version (#7089) 2022-01-30 16:27:06 -08:00
Alex Waygood
505ea72641 Never explicitly inherit from object in Python 3-only stubs (#6777) 2022-01-02 07:24:48 +01:00
Alex Waygood
521dd430c6 Add zipimporter.find_spec() and zipimporter.invalidate_caches() (#6446)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-11-29 16:52:20 +02:00
Akuli
994b69ef8f Use lowercase tuple where possible (#6170) 2021-10-14 17:18:19 -07:00
Akuli
ce11072dbe Big diff: use lower-case list and dict (#5888) 2021-08-08 09:26:35 -07:00
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
Akuli
17dcea4a68 Akuli and srittau: Remove Python 2 branches from Python 3 stubs (#5461)
* run script and do some manual changes (Akuli)

* do the whole thing manually (srittau)

* merge changes (Akuli)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2021-05-15 15:33:39 +03:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00