Skip to content

PYTHONOPTIMIZE 2 is breaking import of pottery #702

@FairyTail2000

Description

@FairyTail2000

Describe the bug
The code crashes when importing pottery with PYTHONOPTIMIZE=2 set.

To Reproduce
Steps to reproduce the behavior:

  1. import pottery
  2. set enviroment variable PYTHONOPTIMIZE=2
  3. run the script
  4. See error

Expected behavior
Successful import

Environment (please complete the following information):

  • OS: Linux
  • Python version: 3.11.5
  • Redis version: not applicable

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions