Jelle Zijlstra
62ddebb65c
fcntl: fix fcntl arg type (s#) ( #9052 )
2022-11-01 12:34:04 +01:00
Jelle Zijlstra
4d40fc6c8a
logging: StreamHandler.send takes ReadableBuffer ( #9057 )
2022-11-01 11:52:30 +01:00
Jelle Zijlstra
7ab933f3c3
email: improve bytes handling ( #9032 )
2022-11-01 10:13:30 +01:00
Jelle Zijlstra
3e46f9a9ee
dbm: fix bytes handling ( #9030 )
2022-11-01 10:10:37 +01:00
Jelle Zijlstra
39936cd18a
hmac: also support bytearray in 3.7 branch ( #9054 )
2022-10-31 23:28:53 -07:00
Jelle Zijlstra
524cd53d73
gzip: remove Any usage ( #9053 )
2022-10-31 23:14:12 -07:00
Nikita Sobolev
34e147fcd9
plistlib: improve bytes handling ( #9048 )
2022-10-31 21:01:23 -07: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
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
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
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
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
Shantanu
4c48fd63b1
pyexpat: fix bytes usage ( #9017 )
2022-10-28 13:41:24 -07: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
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
LeeeeT
cf9bdc2d98
Make the first argument of float.__new__ positional-only ( #8991 )
...
Closes #8990
2022-10-26 15:42:17 -07:00
Nikita Sobolev
5bbba5d008
Collection is Sized (#8977 )
2022-10-25 06:08:28 -07:00
Alex Waygood
8b9b96c9f8
datetime.timedelta: Remove explicit inheritance from SupportsAbs (#8972 )
...
Fixes #8971
2022-10-23 15:28:44 -07:00
Nikita Sobolev
327ae91627
ValuesView is a Collection, not Iterable (#8953 )
...
See https://github.com/python/cpython/issues/98500 and 49f61068f4/Lib/_collections_abc.py (L893)
2022-10-21 09:47:44 -07:00
Nikita Sobolev
7ed599e848
Remove parts of tkinter from pyright exclude ( #8958 )
2022-10-21 19:18:04 +03:00
Stanislav Zmiev
ae34688034
Add pathlib.Path.walk() ( #8921 )
2022-10-18 21:22:08 +01:00
Jelle Zijlstra
1b04ef2673
bytes, bytearray constructors: support buffers ( #8924 )
2022-10-18 19:20:20 +01:00
Alex Waygood
928f006318
typing.pyi: Improve comments for IO/TextIO (#8913 )
...
#8726 proposed to make these properties abstract, but it would have broken half the typed-Python ecosystem, and we've since decided that it's not worth taking action on this (https://github.com/python/typeshed/issues/2146#event-7450564547 ). This PR rephrases the comments to make clear that there isn't really anything actionable that can be done here.
2022-10-17 12:44:40 +02:00
Nikita Sobolev
e6682a5fa7
Remove ABCMeta from tzinfo ( #8910 )
2022-10-17 09:12:52 +01:00
Nikita Sobolev
9c5a588078
datetime.tzinfo is abstract (#8908 )
2022-10-16 16:20:31 -07:00
Nikita Sobolev
ce4668a132
Use Incomplete instead of Any in __getattr__ ( #8903 )
2022-10-15 18:54:21 +01:00