-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make creating
RequestInfo
backwards compatible with 3.10
It was unexpected that this object was being created directly outside of aiohttp internals. While it looks like its only used for mocking downstream, we can accomodate that by subclassing the NamedTuple and providing a `__new__` while keeping the faster `tuple.__new__` internally. fixes #9866
- Loading branch information
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters