Describe the bug
The code crashes when importing pottery with PYTHONOPTIMIZE=2 set.
To Reproduce
Steps to reproduce the behavior:
- import pottery
- set enviroment variable PYTHONOPTIMIZE=2
- run the script
- See error
Expected behavior
Successful import
Environment (please complete the following information):
- OS: Linux
- Python version: 3.11.5
- Redis version: not applicable