Skip to content

PathBuf: add str subscript to os.PathLike#5897

Merged
bschoenmaeckers merged 1 commit intoPyO3:mainfrom
Tpt:tpt/path-like-type
Mar 19, 2026
Merged

PathBuf: add str subscript to os.PathLike#5897
bschoenmaeckers merged 1 commit intoPyO3:mainfrom
Tpt:tpt/path-like-type

Conversation

@Tpt
Copy link
Contributor

@Tpt Tpt commented Mar 19, 2026

os.PathLike expects a subscript and mypy strict mode complains about it

@Tpt Tpt changed the title PathBuf: add str subscript to os.PathLink PathBuf: add str subscript to os.PathLike Mar 19, 2026
os.PathLike expects a subscript and mypy strict mode complains about it
@Tpt Tpt force-pushed the tpt/path-like-type branch from f30f1b3 to c66f992 Compare March 19, 2026 15:35
@Tpt Tpt marked this pull request as ready for review March 19, 2026 15:55
@bschoenmaeckers bschoenmaeckers added this pull request to the merge queue Mar 19, 2026
Merged via the queue into PyO3:main with commit 0a89df1 Mar 19, 2026
45 checks passed
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