Commit Graph

7085 Commits

Author SHA1 Message Date
Nikita Sobolev
b91ebd3096 Remove pytz from pyrights exclude (#9041) 2022-10-31 21:08:41 -07:00
Nikita Sobolev
34e147fcd9 plistlib: improve bytes handling (#9048) 2022-10-31 21:01:23 -07:00
github-actions[bot]
7f476e1ddb [stubsabot] Bump pytz to 2022.6 (#9049)
Release: https://pypi.org/pypi/pytz/2022.6
Homepage: http://pythonhosted.org/pytz

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2022-11-01 00:31:32 +00:00
github-actions[bot]
70037c7cc0 [stubsabot] Bump regex to 2022.10.31 (#9050)
Release: https://pypi.org/pypi/regex/2022.10.31
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.9.13...2022.10.31

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 3.
 - Total lines of Python code deleted: 2.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2022-11-01 00:27:58 +00:00
github-actions[bot]
4b11801b2c [stubsabot] Mark emoji as obsolete since 2.2.0 (#9051)
Release: https://pypi.org/pypi/emoji/2.2.0
Homepage: https://github.com/carpedm20/emoji/
Diff: https://github.com/carpedm20/emoji/compare/v2.1.0...v2.2.0

Co-authored-by: stubsabot <>
2022-11-01 00:26:33 +00:00
Nikita Sobolev
8036bbdce1 marshal: improve bytes handling (#9047)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-31 13:24:18 -07:00
Jelle Zijlstra
3d8d744eb4 ctypes: improve bytes handling (#9029) 2022-10-31 15:26:09 +01:00
Nikita Sobolev
ae75d68fe9 hmac: improve bytes handling (#9046) 2022-10-31 07:11:50 -07:00
Sebastian Rittau
ac563c6641 Update caldav stubs to 0.10 (#9044) 2022-10-31 07:04:31 -07:00
Jelle Zijlstra
c347c29417 builtins: improve bytes handling (#9027) 2022-10-30 17:32:07 -07:00
Nikita Sobolev
6569deaa44 json: improve bytes handling (#9042) 2022-10-30 16:26:48 -07:00
Nikita Sobolev
fb61f37d13 encodings: improve bytes handling (#9043) 2022-10-30 16:24:46 -07:00
Steve Dignam
1f191a6c13 stripe: test clocks resource (#9026)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-30 16:23:07 -07:00
Samuel T
a46c48136b pywin32 stubs update (#9040)
boolean methods
win32gui_struct
MonitorFromRect, FindWindow, FindWindowEx, GetWindowPlacement, GetMenuItemRect
2022-10-30 16:04:37 -07:00
Nikita Sobolev
e8595f3df3 gzip: improve bytes handling (#9037) 2022-10-30 13:21:31 -07:00
Nikita Sobolev
b24a22c359 asyncore: improve bytes handling (#9034) 2022-10-30 06:42:32 -07:00
Nikita Sobolev
6fcd68185a zlib: improve bytes handling (#9036) 2022-10-30 06:39:59 -07:00
Nikita Sobolev
a96cb58160 binhex: improve bytes handling (#9035) 2022-10-30 06:36:30 -07:00
github-actions[bot]
ded1090337 [stubsabot] Bump httplib2 to 0.21.* (#9038)
Release: https://pypi.org/pypi/httplib2/0.21.0
Homepage: https://github.com/httplib2/httplib2
Diff: https://github.com/httplib2/httplib2/compare/v0.20.4...v0.21.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 77.
 - Total lines of Python code deleted: 21.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2022-10-30 09:48:23 +00:00
github-actions[bot]
ef788b899d [stubsabot] Bump Pillow to 9.3.* (#9039)
Release: https://pypi.org/pypi/Pillow/9.3.0
Homepage: https://python-pillow.org
Changelog: https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst
Diff: https://github.com/python-pillow/Pillow/compare/9.2.0...9.3.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 4163.
 - Total lines of Python code deleted: 3435.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2022-10-30 01:29:38 +01:00
Jelle Zijlstra
276a4d7d69 difflib: diff_bytes accepts bytearray (#9031) 2022-10-28 19:42:47 -07:00
Shantanu
4d3cc1f613 dis: fix types (#9025)
`_get_code_object` cannot take bytes
2022-10-28 17:51:29 -07:00
github-actions[bot]
921ddae863 [stubsabot] Mark prettytable as obsolete since 3.5.0 (#9023)
Release: https://pypi.org/pypi/prettytable/3.5.0
Homepage: https://github.com/jazzband/prettytable
Diff: https://github.com/jazzband/prettytable/compare/3.4.1...3.5.0

Co-authored-by: stubsabot <>
2022-10-28 17:30:44 -07:00
Jelle Zijlstra
583b600db0 asyncio: improve bytes handling (#9013) 2022-10-29 00:36:44 +02:00
Jelle Zijlstra
b8659e69f5 array: one more bad bytes type (#9022) 2022-10-28 14:18:19 -07:00
Nikita Sobolev
49d3393732 imaplib: fix bytes usage (#9021) 2022-10-28 14:06:55 -07:00
Jelle Zijlstra
b5c4580d52 CONTRIBUTING: Note no bytearray promotion (#9005)
Closes #9001
2022-10-28 13:48:59 -07:00
Shantanu
4c48fd63b1 pyexpat: fix bytes usage (#9017) 2022-10-28 13:41:24 -07:00
Shantanu
c5fe795c91 xmltodict: improve parse input types (#9018) 2022-10-28 21:46:46 +02:00
Nikita Sobolev
d3a87eb45d Improve types and bytes usage of pathlib (#9016) 2022-10-28 21:45:41 +02:00
Shantanu
093c58bfa2 ast: parse accepts PathLike filename (#9020) 2022-10-28 11:18:38 -07:00
Shantanu
7edad955a2 typed-ast: fix get_docstring, allow buffer (#9019) 2022-10-28 11:05:16 -07:00
Jelle Zijlstra
05acb6c5c3 _msi: improve types (#9008) 2022-10-28 15:36:57 +02:00
Jelle Zijlstra
287fce4872 ssl, socket, array: Improve bytes handling (#8997) 2022-10-28 15:35:51 +02:00
Jelle Zijlstra
bcd876f77e _codecs: Fix buffer parameters (#9003) 2022-10-28 11:25:21 +02:00
Jelle Zijlstra
f792b14e7f _tcl: fix bytes usage (#9010) 2022-10-28 11:07:56 +02:00
Jelle Zijlstra
cb90e9d3a5 bz2: fix bytes parameters (#9015) 2022-10-28 11:01:03 +02:00
Jelle Zijlstra
97d8519f33 base64: fix a85decode param type (#9014) 2022-10-27 21:07:10 -07:00
Jelle Zijlstra
6438c7355c _winapi: takes a ReadableBuffer (#9011) 2022-10-27 20:24:45 -07:00
Jelle Zijlstra
e8e69efd2b antigravity: takes a ReadableBuffer (#9012) 2022-10-27 20:19:24 -07:00
Jelle Zijlstra
51c92d8975 _posixsubprocess: improve types (#9009) 2022-10-27 20:00:21 -07:00
Jelle Zijlstra
e0aa539854 _curses: improve bytes handling (#9007) 2022-10-27 19:48:08 -07:00
Jelle Zijlstra
5bcd4c1a93 ast: parse takes a ReadableBuffer (#9002)
parse() is basically just a wrapper around compile(), which we
already have as taking ReadableBuffer.
2022-10-27 13:28:02 -07:00
Alex Waygood
8d941f0e53 Remove unnecessary pyright: ignore (#9000) 2022-10-27 08:27:28 -07:00
Jelle Zijlstra
739711e947 lzma: Takes ReadableBuffer, not bytes (#8996) 2022-10-27 07:02:57 -07:00
Shantanu
86ada9e41a io: use ReadableBuffer for BytesIO (#8995) 2022-10-27 11:42:11 +02:00
github-actions[bot]
f66da87c84 [stubsabot] Bump flake8-bugbear to 22.10.27 (#8992)
Release: https://pypi.org/pypi/flake8-bugbear/22.10.27
Homepage: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/22.10.25...22.10.27

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `bugbear.py`.
 - Total lines of Python code added: 193.
 - Total lines of Python code deleted: 28.
2022-10-27 01:29:19 +01:00
LeeeeT
cf9bdc2d98 Make the first argument of float.__new__ positional-only (#8991)
Closes #8990
2022-10-26 15:42:17 -07:00
Nikita Sobolev
fd75bc21fc Use 3.11 instead of 3.11-dev (#8983) 2022-10-26 15:52:24 +02:00
Anton Grübel
84682a1d54 Add a couple of missing type hints in pyyaml.constructor (#8965) 2022-10-26 09:15:35 +02:00