Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only re-create elements if the model actually changed #7280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ogoffart
Copy link
Member

@ogoffart ogoffart commented Jan 6, 2025

Being dirty is not enough

Fixes #7245

ChangeLog: Elements of a for now only get re-created if the model is changed, not if it is only dirty

@ogoffart
Copy link
Member Author

ogoffart commented Jan 6, 2025

This probably is too risky for 1.9.2

@ogoffart ogoffart added this to the 1.10 milestone Jan 6, 2025
Copy link
Member

@tronical tronical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably is too risky for 1.9.2

Agreed.

Being dirty is not enough

Fixes #7245

ChangeLog: Elements of a `for` now only get re-created if the model is
changed, not if it is only dirty
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.

Dirty model property shouldn't cause re-creation of all elements in a for
2 participants