New GitHub issue #110264 from sobolevn:<br>
<hr>
<pre>
# Bug report
https://github.com/python/cpython/blob/8c071373f12f325c54591fe990ec026184e48f8f/Modules/posixmodule.c#L574-L585
Here we should decref `cpy` and early return if `reverse` fails.
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/110264">View on GitHub</a>
<p>Labels: type-bug, extension-modules</p>
<p>Assignee: sobolevn</p>