Ivan Levkivskyi added the comment:

Yury, Guido, I think I understand why test_typing crashes in refleak hunting 
mode. The test relies on caching, namely type variables are compared by id, so 
that if cache is cleared between those two lines, then test fails. I think we 
should just update those test to use a usual class in forward reference. The 
patch is attached.

(Patch fixes the crash in refleak hunting mode, but the refleak is still there)

----------
Added file: http://bugs.python.org/file45415/fix-typing-test.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to