Message9174
regrtests are fixed now:
https://bitbucket.org/stewori/jynithon/commits/9405afa1c1c9896fb4e19883cf195c94dd61b8be
(The 26 currently failing tests also failed before the patch and appear not to be related) I noticed I forgot to add two files to hg in the former changeset. So it would not have been usable at all. This is also fixed now.
The current solution preserves the result of weakref.getweakrefs(...) in resurrection cases, even in a resurrection case where CPython does not. However I see no reason to clear this list artificially as long as the referent is actually alive.
So there is a test in test_resurrection_attr_preserve.py that CPython fails: test_weakref_after_self_resurrection
Keep in mind that this is about getting the referrers, not the referent. The referent is still not preserved and doing so would be much harder and potentially expensive. |
|
Date |
User |
Action |
Args |
2014-10-28 03:40:48 | stefan.richthofer | set | messageid: <1414467648.23.0.258346968286.issue2224@psf.upfronthosting.co.za> |
2014-10-28 03:40:48 | stefan.richthofer | set | recipients:
+ stefan.richthofer |
2014-10-28 03:40:48 | stefan.richthofer | link | issue2224 messages |
2014-10-28 03:40:47 | stefan.richthofer | create | |
|