GeezerVison is showing github.com — [3.12] gh-118507 : Fix `ntpath.isfile` for pipes. by nineteendo · Pull Request #119381 · python/cpython
Conversation
nineteendo
commented
May 22, 2024
•
edited by bedevere-app
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced May 22, 2024
nineteendo
commented
May 22, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
I think I didn't include unrelated changes. Is it fine to use the C version for ntpath.isjunction() and ntpath.lexists()? (We did so for 3.13 too) Otherwise I'll revert that change.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
nineteendo
changed the title
[3.12] gh-118507 : Refactor nt._path_is* (GH-118755)
[3.12] gh-118507 : Refactor nt._path_is* to improve applicability for other cases (GH-118755)
May 22, 2024
Is it fine to use the C version for ntpath.isjunction() and ntpath.lexists()?
Let's revert those, just to minimise the risk of changed behaviour. We can consider backporting them later once we're more confident.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
nineteendo
commented
May 22, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Done, I also removed the C implementation for these functions to not give anyone ideas...
I can make a draft pull request afterwards to make it clear the issue can't be closed yet.
|
zooba reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
nineteendo
changed the title
[3.12] gh-118507 : Refactor nt._path_is* to improve applicability for other cases (GH-118755)
[3.12] gh-118507 : Fix ntpath.isfile for pipes.
May 22, 2024
|
A draft pull request is a good idea.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.