File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,21 @@ Note that version 1.16.0 drops support for Python 2.7 and 3.5. Python version
2222 object proxies so they properly proxy pass access to attributes/functions of
2323 the wrapped loader or finder.
2424
25+ * Code files in the implementation have been reorganized such that the pure
26+ Python version of the ``ObjectProxy `` class is directly available even if the
27+ C extension variant is being used. This is to allow the pure Python variant to
28+ be used in exceptional cases where the C extension variant is not fully
29+ compatible with the pure Python implementation and the behaviour of the pure
30+ Python variant is what is required. This should only be relied upon if have
31+ absolutely no choice. The pure Python variant is not as performant as the C
32+ extension.
33+
34+ To access the pure Python variant use ``from wrapt.wrappers import
35+ ObjectProxy `` instead of just ``from wrapt import ObjectProxy ``. Note that
36+ prior to this version if you had used ``from wrapt.wrappers import
37+ ObjectProxy `` you would have got the C extension variant of the class rather
38+ than the pure Python version if the C extension variant was available.
39+
2540**Bugs Fixed **
2641
2742* It was not possible to update the ``__class__ `` attribute through the
You can’t perform that action at this time.
0 commit comments