Message273199
_PyGen_Finalize() should not fail with an exception. Doing so can cause various SystemErrors or even fatal errors. For example, run this with "python -Werror":
import gc
async def f():
pass
f()
gc.collect() # RuntimeWarning, but with -Werror
Patch attached. Test missing (turn the above example in a test; also I didn't re-run all tests with this patch). |
|
Date |
User |
Action |
Args |
2016-08-20 09:35:05 | arigo | set | recipients:
+ arigo |
2016-08-20 09:35:05 | arigo | set | messageid: <1471685705.62.0.520066392301.issue27811@psf.upfronthosting.co.za> |
2016-08-20 09:35:05 | arigo | link | issue27811 messages |
2016-08-20 09:35:05 | arigo | create | |
|