Skip to content

Conversation

midichef
Copy link
Contributor

@midichef midichef commented Oct 18, 2025

_path.suffix for the path 'foo.' is '.' in Python 3.14. In previous versions it was ''

This fixes a test I noted in #2883 that fails only in Python 3.14.

docs for pathlib say: Changed in version 3.14: A single dot (”.”)
is considered a valid suffix.
Copy link
Owner

@saulpw saulpw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @midichef !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants