One function
Pool in omnilib/aiomultiprocess
The author described this change as “fix bug for function returns None”. It counts as a record because the check below fails on the code as it stood at e0ae1153f and passes on da4b4d8b2, with nothing else changed between the two runs.
Projectomnilib/aiomultiprocess
Fix saved2019-08-02
Sharing licenceMIT · LICENSE
Change size+0 −2
What the code was meant to do, written into the code itself as a docstring
Execute coroutines on a pool of child processes.
The change
| 90 | 90 | result, tb = self._results.pop(tid) | |
| 91 | 91 | if tb is not None: | |
| 92 | 92 | raise ProxyException(tb) | |
| 93 | - | if result is None: | |
| 94 | - | raise Exception("Missing both result and exception") | |
| 95 | 93 | ready[tid] = result | |
| 96 | 94 | pending.remove(tid) | |
| 97 | 95 |
The check that tells the two apart
fail→pass·aiomultiprocess/tests/core.py::CoreTest::test_none
Check file aiomultiprocess/tests/core.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.
Origin and history
The code before ite0ae1153f6ad48f59af39ea866d89e27cd09bebf
Broken version dated2019-07-31
Moduleaiomultiprocess.core
Units changedPool
Fingerprintfc0fdf4fa85b54cf
Checked2026-08-18 by goldset/0.1
Every field above is generated by our program. None of it is written by hand.