stackless-dev / stackless

The Stackless Python programming language
http://www.stackless.com/
Other
1.02k stars 60 forks source link

Upstream fix for bpo-39606 breaks Stackless test case test_pickle.TestAsyncGenAThrowPickling #302

Open akruis opened 3 years ago

akruis commented 3 years ago

Commit 925dc7fb1d0 (branch main) / 8dbdf5f275 (branch 3.8) breaks test_pickle.TestAsyncGenAThrowPickling. The test fails with AssertionError: Tuples differ: ((ZeroDivisionError('bla bla'),), 2, True) != ((ZeroDivisionError('bla bla'),), 1, True). The difference is the direct effect of the upstream change.

The fix is trivial.

For now I can apply the fix to branch 3.8-slp. To apply it to branch main-slp, upstream commit 925dc7fb1d0 needs to be merged first.

akruis commented 3 years ago

To fix branch main-slp cherry-pick -x bb3eb7a067fc.