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 reference counts to ObjectGraph #58

Open
mdickinson opened this issue Dec 20, 2016 · 0 comments
Open

Add reference counts to ObjectGraph #58

mdickinson opened this issue Dec 20, 2016 · 0 comments

Comments

@mdickinson
Copy link
Owner

When detecting errors caused by reference counting bugs (e.g., in 3rd party extension modules), it's useful to be able to compare the reference count of an object in a snapshot with the expected reference count based on the number of edges into that object: a mismatch may be evidence of a reference counting bug.

For this, it would be useful to be able to annotate the objects in an ObjectGraph with the result of calling sys.getrefcount on that object, suitably modified for local references.

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

No branches or pull requests

1 participant