Miss Islington (bot)
1b12ad5970
[3.12] gh-118404: Fix inspect.signature() for non-comparable callables (GH-118405) (GH-118424)
...
(cherry picked from commit 11f8348d78
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-30 12:33:54 +00:00
Miss Islington (bot)
0691bd860d
[3.12] gh-118013: Use weakrefs for the cache key in inspect._shadowed_dict
(GH-118202) ( #118232 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-24 15:27:08 +00:00
Nikita Sobolev
2dbc77e1ec
[3.12] gh-116780: Fix test_inspect
in -OO
mode (GH-116788) ( #116799 )
2024-03-17 13:33:38 +03:00
Miss Islington (bot)
c4a22ad899
[3.12] gh-116785: Fix direct invocation of test_inspect
(GH-116787) ( #116794 )
...
gh-116785: Fix direct invocation of `test_inspect` (GH-116787)
(cherry picked from commit 66fb613d90
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-03-14 10:20:20 +00:00
Miss Islington (bot)
d341098c59
[3.12] gh-101293: Fix support of custom callables and types in inspect.Signature.from_callable() (GH-115530) (GH-116198)
...
Support callables with the __call__() method and types with
__new__() and __init__() methods set to class methods, static
methods, bound methods, partial functions, and other types of
methods and descriptors.
Add tests for numerous types of callables and descriptors.
(cherry picked from commit 59167c962e
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-03-01 12:59:49 +00:00
Miss Islington (bot)
418e720413
[3.12] gh-112006: Fix inspect.unwrap() for types where __wrapped__ is a data descriptor (GH-115540) (GH-115966)
...
(cherry picked from commit 68c79d21fa
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-27 18:32:34 +00:00
Serhiy Storchaka
fc4d2c3dc6
[3.12] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113429)
...
(cherry picked from commit 4e5b27e6a3
)
2023-12-23 11:50:01 +00:00
Miss Islington (bot)
7eff607deb
[3.12] gh-111058: Change coro.cr_frame/gen.gi_frame to be None for a closed coroutine/generator. (GH-112428) ( #112589 )
2023-12-01 14:13:15 +00:00
Miss Islington (bot)
378a96e361
[3.12] gh-112001: Fix test_builtins_have_signatures in test_inspect (GH-112002) (GH-112003)
...
(cherry picked from commit 40752c1c1e
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-11-12 13:20:36 +00:00
Nikita Sobolev
0102faf0ca
[3.12] gh-108303: Move all inspect test files to test_inspect/
(GH-109607) ( #110732 )
...
(cherry picked from commit 732532b0af
)
2023-10-13 19:05:03 +02:00