wrapt 2.3.0rc2__tar.gz → 2.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wrapt-2.3.0rc2/src/wrapt.egg-info → wrapt-2.4.0}/PKG-INFO +2 -1
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/pyproject.toml +1 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/__init__.py +33 -1
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/_wrappers.c +1164 -683
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/decorators.py +2 -2
- wrapt-2.4.0/src/wrapt/exceptions.py +69 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/importer.py +6 -2
- wrapt-2.4.0/src/wrapt/patches.py +851 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/synchronization.py +72 -7
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/wrappers.py +1 -9
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt-stubs/__init__.pyi +118 -6
- {wrapt-2.3.0rc2 → wrapt-2.4.0/src/wrapt.egg-info}/PKG-INFO +2 -1
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/SOURCES.txt +14 -1
- wrapt-2.4.0/tests/core/test_attribute_wrapper.py +321 -0
- wrapt-2.4.0/tests/core/test_find_wrapper.py +240 -0
- wrapt-2.4.0/tests/core/test_missing_sentinel.py +32 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_monkey_patching.py +57 -44
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy.py +1 -1
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_post_import_hooks.py +36 -0
- wrapt-2.4.0/tests/core/test_resolve_path.py +380 -0
- wrapt-2.4.0/tests/core/test_scoped_function_wrapper.py +153 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_synchronized_markers.py +275 -0
- wrapt-2.4.0/tests/core/test_transient_function_wrapper.py +348 -0
- wrapt-2.4.0/tests/core/test_unwrap_object.py +588 -0
- wrapt-2.4.0/tests/core/test_wrapper_chain.py +238 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patch_function_wrapper_t1.out +3 -2
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patch_function_wrapper_t1.py +11 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patching_primitives_t1.out +1 -1
- wrapt-2.4.0/tests/stress/runner.py +67 -0
- wrapt-2.4.0/tests/stress/stress_function_wrapper_call.py +97 -0
- wrapt-2.4.0/tests/stress/stress_init_reinit.py +70 -0
- wrapt-2.4.0/tests/stress/stress_inplace_ops.py +88 -0
- wrapt-2.4.0/tests/stress/stress_read_during_mutate.py +95 -0
- wrapt-2.4.0/tests/stress/stress_set_wrapped.py +71 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tox.ini +1 -3
- wrapt-2.3.0rc2/src/wrapt/patches.py +0 -284
- wrapt-2.3.0rc2/tests/core/test_attribute_wrapper.py +0 -24
- wrapt-2.3.0rc2/tests/core/test_resolve_path.py +0 -104
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/LICENSE +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/MANIFEST.in +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/README.md +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/RELEASE.rst +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/setup.cfg +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/setup.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/__wrapt__.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/arguments.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/caching.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/proxies.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/signature.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/weakrefs.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/dependency_links.txt +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/not-zip-safe +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/requires.txt +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/top_level.txt +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/conftest.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/compat.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/module1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/module2.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_adapter.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_adapter_annotations.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_adapter_kwonly.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_annotations.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_auto_object_proxy.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_callable_binding_no_args.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_callable_object_proxy.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_class.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_class_mro_entries.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_copy.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_decorator_state.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_decorators.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_deferred_patching.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_descriptor_get_class_access.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_descriptors.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_enabled_bool_error.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_entry_points.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_formatargspec.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_function.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_function_wrapper.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inheritance.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inner_classmethod.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inner_staticmethod.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inplace_operators.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_instancemethod.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_lazy_object_proxy.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_lru_cache.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_memoize.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_nested_function.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy_hook.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy_self_dict.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy_type_checks.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_outer_classmethod.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_outer_staticmethod.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_pickle.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_pyerr_clear_propagation.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_runtime_type_hints.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_synchronized_async.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_synchronized_lock.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_type_module_attribute.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_update_attributes.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_weak_function_proxy.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_with_signature.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_auto_object_proxy_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_auto_object_proxy_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_decorator_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_decorator_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t2.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t2.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t3.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t3.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t4.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t4.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t5.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t5.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t6.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t6.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t7.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t7.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t8.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t8.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t2.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t2.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t3.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t3.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t4.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t4.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t5.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t5.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t6.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t6.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t7.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t7.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_arithmetic_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_arithmetic_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_container_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_container_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_context_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_context_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_partial_callable_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_partial_callable_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patching_primitives_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_post_import_hooks_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_post_import_hooks_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_synchronized_lock_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_synchronized_lock_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_transient_function_wrapper_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_transient_function_wrapper_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_weak_function_proxy_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_weak_function_proxy_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t1.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t1.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t2.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t2.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t3.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t3.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t4.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t4.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t5.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t5.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t6.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t6.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t7.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t7.py +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t8.out +0 -0
- {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t8.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wrapt
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
4
4
|
Summary: Module for decorators, wrappers and monkey patching.
|
|
5
5
|
Author-email: Graham Dumpleton <Graham.Dumpleton@gmail.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
22
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
22
23
|
Requires-Python: >=3.9
|
|
@@ -23,6 +23,7 @@ classifiers = [
|
|
|
23
23
|
"Programming Language :: Python :: 3.12",
|
|
24
24
|
"Programming Language :: Python :: 3.13",
|
|
25
25
|
"Programming Language :: Python :: 3.14",
|
|
26
|
+
"Programming Language :: Python :: 3.15",
|
|
26
27
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
27
28
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
28
29
|
]
|
|
@@ -13,7 +13,7 @@ def _format_version(parts):
|
|
|
13
13
|
)
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
__version_info__ = ("2", "
|
|
16
|
+
__version_info__ = ("2", "4", "0")
|
|
17
17
|
__version__ = _format_version(__version_info__)
|
|
18
18
|
|
|
19
19
|
from .__wrapt__ import (
|
|
@@ -31,6 +31,14 @@ from .decorators import (
|
|
|
31
31
|
bind_state_to_wrapper,
|
|
32
32
|
decorator,
|
|
33
33
|
)
|
|
34
|
+
from .exceptions import (
|
|
35
|
+
PathResolutionError,
|
|
36
|
+
TargetModuleNotFoundError,
|
|
37
|
+
WrapperChainTooDeepError,
|
|
38
|
+
WrapperNotFoundError,
|
|
39
|
+
WrapperNotInitializedError,
|
|
40
|
+
WrapperNotOutermostError,
|
|
41
|
+
)
|
|
34
42
|
from .importer import (
|
|
35
43
|
discover_post_import_hooks,
|
|
36
44
|
notify_module_loaded,
|
|
@@ -38,14 +46,23 @@ from .importer import (
|
|
|
38
46
|
when_imported,
|
|
39
47
|
)
|
|
40
48
|
from .patches import (
|
|
49
|
+
MISSING,
|
|
50
|
+
AttributeWrapper,
|
|
41
51
|
apply_patch,
|
|
52
|
+
find_wrapper,
|
|
42
53
|
function_wrapper,
|
|
54
|
+
is_wrapped_by,
|
|
43
55
|
patch_function_wrapper,
|
|
56
|
+
resolve_owner,
|
|
44
57
|
resolve_path,
|
|
58
|
+
scoped_function_wrapper,
|
|
45
59
|
transient_function_wrapper,
|
|
60
|
+
unwrap_object,
|
|
61
|
+
unwrapped,
|
|
46
62
|
wrap_function_wrapper,
|
|
47
63
|
wrap_object,
|
|
48
64
|
wrap_object_attribute,
|
|
65
|
+
wrapper_chain,
|
|
49
66
|
)
|
|
50
67
|
from .proxies import AutoObjectProxy, LazyObjectProxy, ObjectProxy, lazy_import
|
|
51
68
|
from .signature import with_signature
|
|
@@ -67,6 +84,12 @@ __all__ = (
|
|
|
67
84
|
"LazyObjectProxy",
|
|
68
85
|
"ObjectProxy",
|
|
69
86
|
"PartialCallableObjectProxy",
|
|
87
|
+
"PathResolutionError",
|
|
88
|
+
"TargetModuleNotFoundError",
|
|
89
|
+
"WrapperChainTooDeepError",
|
|
90
|
+
"WrapperNotFoundError",
|
|
91
|
+
"WrapperNotInitializedError",
|
|
92
|
+
"WrapperNotOutermostError",
|
|
70
93
|
"partial",
|
|
71
94
|
"AdapterFactory",
|
|
72
95
|
"adapter_factory",
|
|
@@ -83,14 +106,23 @@ __all__ = (
|
|
|
83
106
|
"notify_module_loaded",
|
|
84
107
|
"register_post_import_hook",
|
|
85
108
|
"when_imported",
|
|
109
|
+
"MISSING",
|
|
110
|
+
"AttributeWrapper",
|
|
86
111
|
"apply_patch",
|
|
112
|
+
"find_wrapper",
|
|
87
113
|
"function_wrapper",
|
|
114
|
+
"is_wrapped_by",
|
|
88
115
|
"lazy_import",
|
|
89
116
|
"patch_function_wrapper",
|
|
117
|
+
"resolve_owner",
|
|
90
118
|
"resolve_path",
|
|
119
|
+
"scoped_function_wrapper",
|
|
91
120
|
"transient_function_wrapper",
|
|
121
|
+
"unwrap_object",
|
|
122
|
+
"unwrapped",
|
|
92
123
|
"wrap_function_wrapper",
|
|
93
124
|
"wrap_object",
|
|
94
125
|
"wrap_object_attribute",
|
|
126
|
+
"wrapper_chain",
|
|
95
127
|
"WeakFunctionProxy",
|
|
96
128
|
)
|