Skip to content

Enable weak references to typing types#348

Merged
gvanrossum merged 1 commit into
python:masterfrom
ilevkivskyi:fix-weakref
Jan 18, 2017
Merged

Enable weak references to typing types#348
gvanrossum merged 1 commit into
python:masterfrom
ilevkivskyi:fix-weakref

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

Fixes #345

This is a simple fix adding __weakref__ to __slots__ in _TypingBase (+ test with a random selection of types).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Since 3.6: TypeError: cannot create weak reference to '_Any' object

3 participants