Skip to content

Commit

Permalink
Fix change notes formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Mar 18, 2022
1 parent de2d235 commit 7262759
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ Version 1.14.0

**Bugs Fixed**

* Python 3.11 dropped `inspect.formatargspec()` which was used in creating
* Python 3.11 dropped ``inspect.formatargspec()`` which was used in creating
signature changing decorators. Now bundling a version of this function
which uses `Parameter` and `Signature` from `inspect` module when available.
The replacement function is exposed as `wrapt.formatargspec()` if need it
for your own code.
which uses ``Parameter`` and ``Signature`` from ``inspect`` module when
available. The replacement function is exposed as ``wrapt.formatargspec()``
if need it for your own code.

* When using a decorator on a class, `isinstance()` checks wouldn't previously
work as expected and you had to manually use `Type.__wrapped__` to access
the real type when doing instance checks. The `__instancecheck__` hook is now
implemented such that you don't have to use `Type.__wrapped__` instead of
`Type` as last argument to `isinstance()`.
* When using a decorator on a class, ``isinstance()`` checks wouldn't previously
work as expected and you had to manually use ``Type.__wrapped__`` to access
the real type when doing instance checks. The ``__instancecheck__`` hook is
now implemented such that you don't have to use ``Type.__wrapped__`` instead
of ``Type`` as last argument to ``isinstance()``.

* Eliminated deprecation warnings related to Python module import system, which
would have turned into broken code in Python 3.12. This was used by the post
import hook mechanism.

**New Features**

* Binary wheels provided on PyPi for `aarch64` Linux systems and macOS
native silicon where supported by Python when using `pypa/cibuildwheel`.
* Binary wheels provided on PyPi for ``aarch64`` Linux systems and macOS
native silicon where supported by Python when using ``pypa/cibuildwheel``.

Version 1.13.3
--------------
Expand Down

0 comments on commit 7262759

Please sign in to comment.