Commit Graph

18 Commits

Author SHA1 Message Date
Joseph Young
b119ff2717 Fix shutil.copy2 stub (#6875) 2022-01-15 15:20:08 -08:00
Joseph Young
8f7dd8c381 Fix return type of shutil.which (#6867)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-01-09 16:29:43 +02:00
Joseph Young
ac623b5036 Support bytes paths in shutil.copy (#6866) 2022-01-09 14:03:26 +02:00
Joseph Young
ea6c562928 Accept bytes in shutil.copymode (#6862) 2022-01-08 20:49:51 +02:00
Joseph Young
0e5a00b97a Add a comment explaining why shutil.move doesn't allow bytes/Pathlike[bytes] args (#6832) 2022-01-08 11:59:02 +02:00
Joseph Young
c78107132c Accept bytes in shutil.copystat (#6836) 2022-01-07 00:32:03 +02:00
Joseph Young
7784c56e11 Accept bytes paths in shutil.copyfile (#6841) 2022-01-07 00:30:31 +02:00
Joseph Young
e504437801 Use StrOrBytesPath in shutil.rmtree (#6835) 2022-01-06 18:22:31 +02:00
Joseph Young
b99e024faf Fix shutil.chown stub (#6833)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-01-05 23:55:36 +02:00
Alex Waygood
5c8e68f0eb Use lowercase set, frozenset and deque where possible (#6346) 2021-11-19 15:05:45 -08:00
Akuli
739cc27cc4 fix shutil.disk_usage() argument type (#6197) 2021-10-25 11:52:04 +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
Sebastian Rittau
841a365284 Remove compatibility aliases (#5464)
* Remove compatibility aliases

Remove a few instances of Text

Use aliases from _typeshed

* Remove unused imports
2021-05-15 20:49:20 +03: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
hatal175
fbf21995e3 Various stubtest fixes (#5230) 2021-04-18 09:30:00 -07: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