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

Add cache reset for when G._node is changed #5894

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

dschult
Copy link
Member

@dschult dschult commented Jul 25, 2022

Fixes #5893
Add a data descriptor which resets the cached G.nodes whenever G._node is set to a new object.

@dschult dschult added this to the networkx-2.8.6 milestone Jul 25, 2022
@dschult dschult merged commit f99f1a6 into networkx:main Jul 25, 2022
@dschult dschult deleted the fix_cached_nodes branch November 25, 2022 15:27
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Critical NetworkX 2.8.X bug with mutable cached_properties
2 participants