Skip to content

Conversation

cowgoesmoo69
Copy link

@cowgoesmoo69 cowgoesmoo69 commented Oct 10, 2025

For Windows, os.path.ismount() now returns False, instead of raising FileNotFoundError for paths on drives that don't exist. Also now returns False for non-existent drive roots.

Tests for the new behaviour are included in test_ntpath.py.

Documentation updated to clarify that existent drive roots are mount points.

News entry added.


📚 Documentation preview 📚: https://cpython-previews--139907.org.readthedocs.build/

Added newline at end of News entry.

Removed trailing whitespace on comment in test_ntpath.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant