New GitHub issue #118507 from nineteendo:<br>

<hr>

<pre>
# Feature or enhancement

### Proposal:

Quoting @eryksun:

> I agree that all of these _path_is* and _path_[l]exists helpers are a lot of code to maintain, taken together. It could be refactored into smaller inline helper functions that can be reused, which would also make the code more readable.

### Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

### Links to previous discussion of this feature:

- #117842
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/118507">View on GitHub</a>
<p>Labels: type-feature</p>
<p>Assignee: </p>