◐ Shell
clean mode source ↗

GH-125413: Revert addition of `pathlib.Path.scandir()` method by barneygale · Pull Request #127377 · python/cpython

Conversation

@barneygale

@barneygale barneygale commented

Nov 29, 2024

edited by github-actions Bot

Loading

zooba

Choose a reason for hiding this comment

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

Sorry, I think we need a bit more code duplication in order to keep subclassing reliable.

@barneygale

@zooba would you mind if I tackle removing _scandir() in a follow-up PR?

@zooba

Sure. Provided it's not part of the public/subclassing interface, I'm happy.

…CN0vv.rst

Co-authored-by: Steve Dower <steve.dower@microsoft.com>

zooba

srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request

Jan 8, 2025

Labels

2 participants

@barneygale @zooba