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.
Files changed (168) hide show
  1. {wrapt-2.3.0rc2/src/wrapt.egg-info → wrapt-2.4.0}/PKG-INFO +2 -1
  2. {wrapt-2.3.0rc2 → wrapt-2.4.0}/pyproject.toml +1 -0
  3. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/__init__.py +33 -1
  4. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/_wrappers.c +1164 -683
  5. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/decorators.py +2 -2
  6. wrapt-2.4.0/src/wrapt/exceptions.py +69 -0
  7. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/importer.py +6 -2
  8. wrapt-2.4.0/src/wrapt/patches.py +851 -0
  9. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/synchronization.py +72 -7
  10. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/wrappers.py +1 -9
  11. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt-stubs/__init__.pyi +118 -6
  12. {wrapt-2.3.0rc2 → wrapt-2.4.0/src/wrapt.egg-info}/PKG-INFO +2 -1
  13. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/SOURCES.txt +14 -1
  14. wrapt-2.4.0/tests/core/test_attribute_wrapper.py +321 -0
  15. wrapt-2.4.0/tests/core/test_find_wrapper.py +240 -0
  16. wrapt-2.4.0/tests/core/test_missing_sentinel.py +32 -0
  17. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_monkey_patching.py +57 -44
  18. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy.py +1 -1
  19. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_post_import_hooks.py +36 -0
  20. wrapt-2.4.0/tests/core/test_resolve_path.py +380 -0
  21. wrapt-2.4.0/tests/core/test_scoped_function_wrapper.py +153 -0
  22. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_synchronized_markers.py +275 -0
  23. wrapt-2.4.0/tests/core/test_transient_function_wrapper.py +348 -0
  24. wrapt-2.4.0/tests/core/test_unwrap_object.py +588 -0
  25. wrapt-2.4.0/tests/core/test_wrapper_chain.py +238 -0
  26. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patch_function_wrapper_t1.out +3 -2
  27. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patch_function_wrapper_t1.py +11 -0
  28. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patching_primitives_t1.out +1 -1
  29. wrapt-2.4.0/tests/stress/runner.py +67 -0
  30. wrapt-2.4.0/tests/stress/stress_function_wrapper_call.py +97 -0
  31. wrapt-2.4.0/tests/stress/stress_init_reinit.py +70 -0
  32. wrapt-2.4.0/tests/stress/stress_inplace_ops.py +88 -0
  33. wrapt-2.4.0/tests/stress/stress_read_during_mutate.py +95 -0
  34. wrapt-2.4.0/tests/stress/stress_set_wrapped.py +71 -0
  35. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tox.ini +1 -3
  36. wrapt-2.3.0rc2/src/wrapt/patches.py +0 -284
  37. wrapt-2.3.0rc2/tests/core/test_attribute_wrapper.py +0 -24
  38. wrapt-2.3.0rc2/tests/core/test_resolve_path.py +0 -104
  39. {wrapt-2.3.0rc2 → wrapt-2.4.0}/LICENSE +0 -0
  40. {wrapt-2.3.0rc2 → wrapt-2.4.0}/MANIFEST.in +0 -0
  41. {wrapt-2.3.0rc2 → wrapt-2.4.0}/README.md +0 -0
  42. {wrapt-2.3.0rc2 → wrapt-2.4.0}/RELEASE.rst +0 -0
  43. {wrapt-2.3.0rc2 → wrapt-2.4.0}/setup.cfg +0 -0
  44. {wrapt-2.3.0rc2 → wrapt-2.4.0}/setup.py +0 -0
  45. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/__wrapt__.py +0 -0
  46. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/arguments.py +0 -0
  47. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/caching.py +0 -0
  48. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/proxies.py +0 -0
  49. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/signature.py +0 -0
  50. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt/weakrefs.py +0 -0
  51. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/dependency_links.txt +0 -0
  52. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/not-zip-safe +0 -0
  53. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/requires.txt +0 -0
  54. {wrapt-2.3.0rc2 → wrapt-2.4.0}/src/wrapt.egg-info/top_level.txt +0 -0
  55. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/conftest.py +0 -0
  56. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/compat.py +0 -0
  57. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/module1.py +0 -0
  58. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/module2.py +0 -0
  59. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_adapter.py +0 -0
  60. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_adapter_annotations.py +0 -0
  61. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_adapter_kwonly.py +0 -0
  62. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_annotations.py +0 -0
  63. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_auto_object_proxy.py +0 -0
  64. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_callable_binding_no_args.py +0 -0
  65. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_callable_object_proxy.py +0 -0
  66. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_class.py +0 -0
  67. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_class_mro_entries.py +0 -0
  68. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_copy.py +0 -0
  69. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_decorator_state.py +0 -0
  70. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_decorators.py +0 -0
  71. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_deferred_patching.py +0 -0
  72. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_descriptor_get_class_access.py +0 -0
  73. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_descriptors.py +0 -0
  74. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_enabled_bool_error.py +0 -0
  75. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_entry_points.py +0 -0
  76. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_formatargspec.py +0 -0
  77. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_function.py +0 -0
  78. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_function_wrapper.py +0 -0
  79. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inheritance.py +0 -0
  80. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inner_classmethod.py +0 -0
  81. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inner_staticmethod.py +0 -0
  82. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_inplace_operators.py +0 -0
  83. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_instancemethod.py +0 -0
  84. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_lazy_object_proxy.py +0 -0
  85. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_lru_cache.py +0 -0
  86. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_memoize.py +0 -0
  87. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_nested_function.py +0 -0
  88. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy_hook.py +0 -0
  89. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy_self_dict.py +0 -0
  90. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_object_proxy_type_checks.py +0 -0
  91. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_outer_classmethod.py +0 -0
  92. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_outer_staticmethod.py +0 -0
  93. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_pickle.py +0 -0
  94. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_pyerr_clear_propagation.py +0 -0
  95. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_runtime_type_hints.py +0 -0
  96. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_synchronized_async.py +0 -0
  97. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_synchronized_lock.py +0 -0
  98. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_type_module_attribute.py +0 -0
  99. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_update_attributes.py +0 -0
  100. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_weak_function_proxy.py +0 -0
  101. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/core/test_with_signature.py +0 -0
  102. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_auto_object_proxy_t1.out +0 -0
  103. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_auto_object_proxy_t1.py +0 -0
  104. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_decorator_t1.out +0 -0
  105. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_decorator_t1.py +0 -0
  106. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t1.out +0 -0
  107. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t1.py +0 -0
  108. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t2.out +0 -0
  109. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t2.py +0 -0
  110. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t3.out +0 -0
  111. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t3.py +0 -0
  112. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t4.out +0 -0
  113. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t4.py +0 -0
  114. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t5.out +0 -0
  115. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t5.py +0 -0
  116. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t6.out +0 -0
  117. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t6.py +0 -0
  118. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t7.out +0 -0
  119. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t7.py +0 -0
  120. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t8.out +0 -0
  121. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_cls_t8.py +0 -0
  122. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t1.out +0 -0
  123. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t1.py +0 -0
  124. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t2.out +0 -0
  125. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t2.py +0 -0
  126. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t3.out +0 -0
  127. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t3.py +0 -0
  128. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t4.out +0 -0
  129. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t4.py +0 -0
  130. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t5.out +0 -0
  131. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t5.py +0 -0
  132. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t6.out +0 -0
  133. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t6.py +0 -0
  134. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t7.out +0 -0
  135. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_function_wrapper_fn_t7.py +0 -0
  136. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_arithmetic_t1.out +0 -0
  137. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_arithmetic_t1.py +0 -0
  138. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_container_t1.out +0 -0
  139. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_container_t1.py +0 -0
  140. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_context_t1.out +0 -0
  141. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_object_proxy_context_t1.py +0 -0
  142. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_partial_callable_t1.out +0 -0
  143. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_partial_callable_t1.py +0 -0
  144. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_patching_primitives_t1.py +0 -0
  145. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_post_import_hooks_t1.out +0 -0
  146. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_post_import_hooks_t1.py +0 -0
  147. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_synchronized_lock_t1.out +0 -0
  148. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_synchronized_lock_t1.py +0 -0
  149. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_transient_function_wrapper_t1.out +0 -0
  150. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_transient_function_wrapper_t1.py +0 -0
  151. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_weak_function_proxy_t1.out +0 -0
  152. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_weak_function_proxy_t1.py +0 -0
  153. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t1.out +0 -0
  154. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t1.py +0 -0
  155. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t2.out +0 -0
  156. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t2.py +0 -0
  157. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t3.out +0 -0
  158. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t3.py +0 -0
  159. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t4.out +0 -0
  160. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t4.py +0 -0
  161. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t5.out +0 -0
  162. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t5.py +0 -0
  163. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t6.out +0 -0
  164. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t6.py +0 -0
  165. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t7.out +0 -0
  166. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t7.py +0 -0
  167. {wrapt-2.3.0rc2 → wrapt-2.4.0}/tests/mypy/mypy_wrap_function_wrapper_t8.out +0 -0
  168. {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.0rc2
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", "3", "0", "rc2")
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
  )