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

Wrap WeakRefs in object with custom #inspect #897

Merged
merged 1 commit into from Jul 3, 2016
Merged

Conversation

@ddfreyne
Copy link
Member

@ddfreyne ddfreyne commented Jul 3, 2016

Inspecting a WeakRef can cause a WeakRef::RefError. To prevent these errors from happening, use a wrapper for WeakRef that has a custom implementation of #inspect.

Fixes #877.

@ddfreyne ddfreyne force-pushed the weak-ref-inspect branch from e153db3 to 2d00ee1 Jul 3, 2016
@ddfreyne ddfreyne added this to the 4.2.3 milestone Jul 3, 2016
@ddfreyne ddfreyne merged commit d07e34d into release-4.2.x Jul 3, 2016
1 check passed
Loading
@ddfreyne ddfreyne deleted the weak-ref-inspect branch Jul 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant