New GitHub issue #121412 from hirezadehghani:<br>
<hr>
<pre>
# Bug report
### Bug description:
The open method for opening a file with too long path showing error that
_Exception has occurred: FileNotFoundError
_
otherwise error handler should get too long path error or the path variable support files in too long path I think that error maybe for that.
```python
file = open("/home/user/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dataset/f1.txt")
```
### CPython versions tested on:
3.10
### Operating systems tested on:
Linux
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/121412">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>