Skip to content

Conversation

felixxm
Copy link
Member

@felixxm felixxm commented Sep 8, 2023

ticket-34821, check out logs.

Regression in 6b965c6.

@felixxm felixxm requested a review from a team September 8, 2023 08:35
Copy link
Member

@jacobtylerwalls jacobtylerwalls left a comment

Choose a reason for hiding this comment

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

Can we get by without setattr?

…ttings from mutating the main STORAGES.

Regression in 6b965c6.
@felixxm
Copy link
Member Author

felixxm commented Sep 8, 2023

@jacobtylerwalls Thanks for checking 👍 Updated.

Copy link
Member

@David-Wobrock David-Wobrock left a comment

Choose a reason for hiding this comment

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

👍

Would it make sense to add some safe guard to avoid mutating self.STORAGES?

@felixxm
Copy link
Member Author

felixxm commented Sep 10, 2023

👍

Would it make sense to add some safe guard to avoid mutating self.STORAGES?

Thanks for checking 👍 Do you think more is needed than current tests?

@David-Wobrock
Copy link
Member

👍
Would it make sense to add some safe guard to avoid mutating self.STORAGES?

Thanks for checking 👍 Do you think more is needed than current tests?

Not necessarily. I had more in mind something in the runtime, that would raise a warning or exception every time we modify self.STORAGES. But that could introduce a bit of unnecessary overhead 🤔

@felixxm felixxm merged commit a7c73b9 into django:main Sep 11, 2023
@felixxm felixxm deleted the issue-34821 branch September 11, 2023 11:26
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.

3 participants