Commit Graph
3 Commits
Author SHA1 Message Date
Alyssa CoghlanandGitHub 3f41b30535 Revert "Improve [Async]ContextDecorator type hinting (#13416)" (#13436)
This reverts commit 57d7c4334b.

The attempted fix loses all type overload information during type
inferencing, so postpone fixing the issue until we have a solution
which doesn't impose such a dramatic loss in functionality.

Reopens #13403
2025-02-13 20:49:51 -08:00
Alyssa CoghlanandGitHub 57d7c4334b Improve [Async]ContextDecorator type hinting (#13416)
Updated annotations allow access to `__wrapped__` on
decorated callables without complaints from typecheckers.
2025-01-20 17:58:52 +01:00
Alyssa CoghlanandGitHub bed832da8a Allow float for TarInfo.mtime (#12521) 2024-08-13 10:57:21 +02:00