-
Notifications
You must be signed in to change notification settings - Fork 568
Remove performance papercuts #4675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 20 commits
a163f83
6aec4fb
a454b21
8278cf3
f63d40c
78368b3
155e9aa
0e37a51
9f0c233
f4d06af
0926981
5d62424
fac580d
66f47ec
dd323d6
c9230c5
b7768c5
f8962cc
3f9c41b
e297728
f344c2d
f1a67a2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |
| from collections import namedtuple | ||
| from datetime import datetime, timezone | ||
| from decimal import Decimal | ||
| from functools import partial, partialmethod, wraps | ||
| from functools import lru_cache, partial, partialmethod, wraps | ||
| from numbers import Real | ||
| from urllib.parse import parse_qs, unquote, urlencode, urlsplit, urlunsplit | ||
|
|
||
|
|
@@ -1858,6 +1858,7 @@ def is_module_patched(mod_name): | |
| return False | ||
|
|
||
|
|
||
| @lru_cache(maxsize=1) | ||
|
||
| def is_gevent(): | ||
| # type: () -> bool | ||
| return is_module_patched("threading") or is_module_patched("_thread") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.