GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Using `winreg.DeleteTree` in `test_winreg` · Issue #142103 · python/cpython

Using winreg.DeleteTree in test_winreg #142103

New issue
Copy link
New issue
Copy link
Open
Open
Using winreg.DeleteTree in test_winreg#142103
Copy link
Labels
OS-windowstestsTests in the Lib/test dirTests in the Lib/test dirtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)

Description

@aisk
aisk
opened on Nov 30, 2025
Issue body actions

There is a recursive function delete_tree in test_winreg to delete the entire key. We can use the newly added winreg.DeleteTree to do this for more robust code and to simplify our code base.

Linked PRs

  • gh-142103: Using winreg.DeleteTree to replace delete_tree in test_winreg #142104

Activity

  1. aisk
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    OS-windows
    on Nov 30, 2025
  2. StanFromIreland
    added
    type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
    on Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowstestsTests in the Lib/test dirTests in the Lib/test dirtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.