trillian
b195038142
configparser: allow ConfigParser()[UNNAMED_SECTION] ( #14759 )
2025-09-22 11:48:04 +02:00
Jelle Zijlstra
82926783a4
stdlib: add a few more defaults ( #14618 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-08-21 21:13:06 +01:00
Semyon Moroz
fb0940e6c1
[stdlib] Deprecate old functions ( #14553 )
...
* [stdlib] Deprecate many functions
* Fix typo
* Imporove message for asyncio/trsock
* Apply suggestions from code review
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
* Add Python before version
* [pre-commit.ci] auto fixes from pre-commit.com hooks
* Wrap comment lines
* fix the rest
---------
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-10 22:27:35 +01:00
Semyon Moroz
d2eb9ac91a
[configparser] Add several deprecated attributes ( #14487 )
2025-08-08 12:13:30 +02:00
Brian Schubert
622df68c1c
Add @type_check_only to stub-only private classes in stdlib ( #14512 )
2025-08-03 10:13:16 +02:00
Semyon Moroz
4860c36f01
[configparser] Add missing default values ( #14450 )
2025-07-26 05:43:50 +02:00
Semyon Moroz
692c0e9e3e
Bump configparser to 3.14 ( #14007 )
2025-05-11 00:03:41 -07:00
Sebastian Rittau
f1b121cf29
[configparser] Fix missing fallback argument in SectionProxy.get ( #13559 )
...
Closes : #13556
2025-02-28 03:33:10 -08:00
mtnpke
0647903db3
Support configparser.UNNAMED_SECTION ( #13542 ) ( #13544 )
2025-02-27 12:19:38 +01:00
Stephen Morton
b286a59514
add configparser.RawConfigParser.converters ( #13146 )
2024-11-27 19:55:22 -08:00
Brian Schubert
b15c302227
Update configparser.SectionProxy.get* to return T | None when fallback is not specified ( #12936 )
2024-11-25 18:34:29 +01:00
Brian Schubert
03114380b7
Add overload w.r.t. fallback parameter to configparser.SectionProxy.get ( #12935 )
2024-11-25 17:02:41 +01:00
Max Muoto
0df6028dc8
Use Final for Constant Literals in the stdlib ( #12332 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-07-15 18:07:34 +01:00
Amin Alaee
124d02034d
ast, configparser, glob: Python 3.13 updates (#12050 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-06-01 07:13:10 -07:00
Sebastian Rittau
53a8193d64
Update typing_extensions imports in stdlib ( #11244 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2024-01-05 08:15:19 -08:00
Nikita Sobolev
8888ac0d6d
Update configparser to 3.12 ( #10635 )
2023-08-30 11:07:50 +02:00
Alex Waygood
2c3449694b
Run mypy and pyright on our py312 stubs in CI ( #10119 )
2023-04-30 15:31:08 +01:00
Alex Waygood
dd2818a41d
Stdlib: add container default values ( #9909 )
2023-03-21 09:12:34 +01:00
Alex Waygood
7958a7f934
RawConfigParser.__init__: fix overloads (#9613 )
2023-01-30 18:00:43 +01:00
Alex Waygood
33a62ae42d
Add more defaults to the stdlib ( #9606 )
...
Continuing work towards #8988 .
The first five commits were created using stubdefaulter on various Python versions; the following commits were all created manually by me to fix various problems. The main things this adds that weren't present in #9501 are:
- Defaults in Windows-only modules and Windows-only branches (because I'm running a Windows machine)
- Defaults in non-py311 branches
- Defaults for float parameters
- Defaults for overloads
2023-01-29 01:51:23 +00:00
Jelle Zijlstra
ddfaca3200
stdlib: add argument default values ( #9501 )
2023-01-18 09:37:34 +01:00
Kevin Kirsche
41435ef25a
Allow handling None return values of RawConfigParser.get ( #8380 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-07-27 01:23:58 +03:00
Alex Waygood
6348a58b8b
Import Match and Pattern from re, not typing ( #8277 )
2022-07-12 15:32:48 +02:00
Alex Waygood
edc0ecd857
Remove Python 3.6 branches from typeshed ( #8269 )
2022-07-11 10:55:17 +02:00
Alex Waygood
abea36c069
Improve configparser alias names ( #8254 )
2022-07-07 16:17:09 +01:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
Alex Waygood
f4ae363b56
stdlib: correct many pos-or-kw arg names in dunder methods ( #7451 )
2022-03-07 16:40:03 +01:00
Alex Waygood
6fc4c14181
Add missing objects in codecs, configparser, and multiprocessing.dummy ( #7360 )
2022-02-22 18:25:27 +01:00
Alex Waygood
4343153c8c
Add configparser.__all__ ( #7300 )
2022-02-19 12:28:28 -08:00
Alex Waygood
fbc279e3f5
stdlib: Add many missing dunder overrides ( #7231 )
2022-02-16 06:25:47 -08:00
Nikita Sobolev
e8cc83e62e
Use Literal type in configparser ( #6900 )
2022-01-12 08:18:24 -08:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Akuli
a5bc1e037f
Add mypy error codes to '# type: ignore' comments ( #6379 )
2021-11-26 07:07:56 +01:00
Alex Waygood
9707cb00f6
Python 3.11 removals in stdlib ( #6374 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-25 19:34:12 +02:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Sebastian Rittau
2f3964e24b
Return ItemsView/KeysView from Mapping methods ( #6014 )
...
* Return ItemsView/KeysView from Mapping methods
* Make RawConfigParser compatible with Mapping
2021-09-09 07:37:26 -07:00
Oleg Höfling
64f481189f
drop ellipsis assignments from module vars, classvars and instance attrs ( #5914 )
...
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com >
2021-08-11 19:26:58 +02:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
df6a211855
Use new union syntax in rest of stdlib ( #5884 )
2021-08-08 15:44:30 +02:00
Akuli
e3f662b648
switch to lower-case "# undocumented" comments ( #5871 )
2021-08-07 08:00:41 -07:00
Sebastian Rittau
f0bf6eebbd
AnyStr cleanup ( #5487 )
...
* Replace all uses of StrPath, BytesPath, and AnyPath in Python 2 stubs.
* Add StrOrBytesPath as preferred alias for AnyPath.
* Replace all remaining AnyPath instances with StrOrBytesPath.
* Mark AnyPath as obsolete.
Part of #5470
2021-05-17 20:45:48 +02:00
hatal175
25bac1d716
csv, ctypes, configparser explanations ( #5204 )
2021-04-10 19:18:22 -07:00
Dominic Davis-Foster
839d711c6f
Fix constructor annotation for configparser.DuplicateOptionError ( #5142 )
...
Fixes #5141
2021-03-26 18:36:19 +01: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