-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize std::path::Path::ancestors #50894
Conversation
Team member @alexcrichton has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Did the decision around calling this ancestors vs. parents get settled? |
There has been a long lasting debate around the naming issue in the initial PR (#48420). The discussion was then postponed to the tracking issue/stabilization in order to get this feature working on nightly. There has indeed never been a deliberate decision but the discussion immediately ebbed away after the feature was merged. When writing the stabilization PR, I consciously decided not to bring up this issue again in order to see if there's still need for further debate. @Mark-Simulacrum: Thank You for mentioning this, because this shows me that we should indeed talk about this again! Here is a list of arguments already raised: Pro
Pro
There have been arguments against both, I, personally, have a slight tendency towards In order to have both, fast stabilization and a good decision about the name, I propose to announce some kind of a final comment period about the name. This would give anyone the chance to raise new arguments. After that, @rust-lang/libs could decide. |
Just wanted to check that it was brought up before stabilization, but looks like there has been debate about the topic already -- I'm fine with ancestors per the arguments you linked to. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
I have only read @teiesti's recap of the arguments and not the original tracking issue, but I prefer |
The final comment period, with a disposition to merge, as per the review above, is now complete. |
@alexcrichton, what about merging this now? (The final comment period is complete. No concern was listed. The naming debate was - as I understand - finally settled by @dtolnay's comment. Time is running short for having this stabilized in 1.28.0.) |
@bors r+ |
📌 Commit 19aa79f has been approved by |
🔒 Merge conflict |
I've rebased this branch. Can we try again? |
📌 Commit 65d119c has been approved by |
Stabilize std::path::Path::ancestors Closes #48581 r? @BurntSushi
☀️ Test successful - status-appveyor, status-travis |
Closes #48581
r? @BurntSushi