Commit Graph

24 Commits

Author SHA1 Message Date
Stephen Morton
4ce28d2539 add encodings.ascii and encodings.latin_1 (#13113) 2024-11-26 21:01:33 -08:00
Stephen Morton
c53442c30d add encodings.raw_unicode_escape and encodings.unicode_escape (#13114) 2024-11-26 20:45:48 -08:00
Stephen Morton
3d00ca80f1 add byte-to-byte encodings submodules (#13120) 2024-11-26 20:34:39 -08:00
Stephen Morton
3f9c6d5845 Add a batch of encodings submodules (#13112)
Also align encodings.utf_8 so the stub file is formatted the same
as these others that match
2024-11-26 20:24:29 -08:00
Stephen Morton
8d7436b3ef add encodings.utf_16 and encodings.utf_32 (#13121) 2024-11-26 20:03:53 -08:00
Stephen Morton
900e5c5b1b Add encodings.mbcs and encodings.oem (#13122) 2024-11-26 20:02:49 -08:00
Stephen Morton
720946c9d2 add the remaining encodings submodules (#13123) 2024-11-26 20:00:19 -08:00
Stephen Morton
927302347f add another batch of encoding submodules (#13088) 2024-11-25 07:31:06 -08:00
Stephen Morton
0a541ad47f add multi-byte encodings submodules (#13093) 2024-11-25 12:14:59 +01:00
Stephen Morton
37eba41407 Add a bunch of encodings submodules (#13087)
each file in this set is the exact same
2024-11-24 07:56:36 -08:00
Shantanu
470a13ab09 Use PEP 570 syntax in stdlib (#11250) 2024-03-09 14:50:16 -08:00
Alex Waygood
6ba28ae547 Remove unused type: ignore comments (#9801) 2023-02-23 12:59:50 -08:00
Alex Waygood
1d7dda7fa1 stdlib: Add defaults for positional-only parameters (#9655) 2023-02-01 21:44:08 +00:00
Jelle Zijlstra
ddfaca3200 stdlib: add argument default values (#9501) 2023-01-18 09:37:34 +01:00
Nikita Sobolev
fb61f37d13 encodings: improve bytes handling (#9043) 2022-10-30 16:24:46 -07:00
Nikita Sobolev
ce4668a132 Use Incomplete instead of Any in __getattr__ (#8903) 2022-10-15 18:54:21 +01:00
Nikita Sobolev
0259068ad6 Remove duplicate definitions in sub-classes (#8594) 2022-08-26 17:10:55 +02:00
Joseph Young
8bf46faf5f Add encodings.utf_8_sig stubs (#6691) 2021-12-25 22:47:20 +02:00
Akuli
994b69ef8f Use lowercase tuple where possible (#6170) 2021-10-14 17:18:19 -07:00
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
Jukka Lehtosalo
8bd3e16eef Add back module-level __getattr__ to encodings (#5261)
This is needed for submodules, such as `encodings.cp437`.
2021-04-28 07:45:15 -07:00
hatal175
82be016aa4 Various packages stubtest fixes (#5221) 2021-04-15 21:04:40 -07:00
Eric Traut
faa5c70f25 Added missing type information for encodings module (#5106)
Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-03-10 17:18:32 -08: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