Skip to content

Conversation

@gentlegiantJGC
Copy link
Contributor

Description

The current cast implementation for std::filesystem::path is to always cast.
If the argument is marked as noconvert() it will convert regardless.
This change rejects the argument if convert is false and the argument is not an instance of pathlib.Path.

Suggested changelog entry:

  • Implement noconvert() for std::filesystem::path.

gentlegiantJGC and others added 4 commits November 5, 2025 16:43
The current cast implementation for std::filesystem::path is to always cast.
If the argument is marked as noconvert() it will convert regardless.
This change rejects the argument if convert is false and the argument is not an instance of pathlib.Path.
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.

1 participant