New GitHub issue #95081 from stuaxo:<br>

<hr>

<pre>
**Bug report**

Calling deepcopy on a memoryview raises a TypeError, this looks similar to bug 82474 https://github.com/python/cpython/issues/82474

This also breaks BinaryField when using Django Polymorphic

https://github.com/django-polymorphic/django-polymorphic/issues/524
**Your environment**

<!-- Include as many relevant details as possible about the environment you experienced the bug in -->

- CPython versions tested on:  3.8, 3.10
- Operating system and architecture:  Ubuntu 21.10

```python
>>> a = memoryview(b'123')
>>> from copy import deepcopy
>>> deepcopy(a)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/copy.py", line 161, in deepcopy
    rv = reductor(4)
TypeError: cannot pickle 'memoryview' object
```
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/95081">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>