Skip to content

EVAL-10: Fix Symbol __dict__ Issue#1

Open
hey-pebble[bot] wants to merge 1 commit into
1.7from
fix-symbol-dict-issue
Open

EVAL-10: Fix Symbol __dict__ Issue#1
hey-pebble[bot] wants to merge 1 commit into
1.7from
fix-symbol-dict-issue

Conversation

@hey-pebble

@hey-pebble hey-pebble Bot commented Apr 29, 2025

Copy link
Copy Markdown

Description

Symbols in sympy should not have a __dict__ when __slots__ is defined. This ensures memory savings and prevents unintended attribute assignments. This PR enforces the use of __slots__ effectively in the Symbol class to prevent __dict__ creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants