Xiang Zhang added the comment:

Saida, I changed your test program to use set instead of self created type (see 
attachment). I tested it under Py2.7 and it seems no crash happens.

python test.py 1 1
2.7.10 (default, Oct 14 2015, 16:09:02) 
[GCC 5.2.1 20151010]
0x101010101010101
0x1010101010101
Segmentation fault (core dumped)

python test.py 1 1
2.7.10 (default, Oct 14 2015, 16:09:02) 
[GCC 5.2.1 20151010]
(nil)
(nil)

It's appreciated if you are willing to make more tests or even in your build 
environment. :-)

----------
Added file: http://bugs.python.org/file46516/weakref_crash.c

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

Reply via email to