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 — Resolve deprecation warnings in Docs/tools · Issue #119317 · python/cpython

Resolve deprecation warnings in Docs/tools #119317

New issue
Copy link
New issue
Copy link
Closed
#119319
Closed
Resolve deprecation warnings in Docs/tools#119317
#119319
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@drts01
drts01
opened on May 21, 2024
Issue body actions

Documentation

The following scripts are throwing deprecation warnings.

  • Docs/tools/extensions/pyspecific.py
  • Docs/tools/extensions/glossary_search.py
PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by Node.findall()

Linked PRs

  • gh-119317: findall instead of traverse for docutils nodes #119319
  • [3.13] gh-119317: findall instead of traverse for docutils nodes (GH-119319) #119486
  • [3.12] gh-119317: findall instead of traverse for docutils nodes (GH-119319) #119487
Reacted by rubyFeedback

Activity

  1. drts01
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on May 21, 2024
  2. drts01
    added 2 commits that reference this issue on May 21, 2024

    findall instead of traverse for docutils nodes

    This issue will close once commit 2312026 is merged into the 'master' branch.
    2312026

    findall instead of traverse for docutils nodes

    This issue will close once commit 3830593 is merged into the 'master' branch.
    3830593
  3. hugovk commented on May 24, 2024

    @hugovk
    hugovk
    on May 24, 2024
    Member
    More actions

    Looks like this is from docutils 0.18.1 (2021-11-23):

    New method Node.findall(): like Node.traverse() but returns an iterator. Obsoletes Node.traverse().

    https://docutils.sourceforge.io/HISTORY.html#release-0-18-1-2021-11-23

  4. hugovk
    added a commit that references this issue on May 24, 2024

    gh-119317: findall instead of traverse for docutils nodes (#119319)

    0867bce
  5. hugovk
    closed this as completedin #119319on May 24, 2024
  6. miss-islington
    added 2 commits that reference this issue on May 24, 2024

    pythongh-119317: findall instead of traverse for docutils nodes (pyth…

    09b3794

    pythongh-119317: findall instead of traverse for docutils nodes (pyth…

    dd7d926
  7. hugovk
    added 2 commits that reference this issue on May 24, 2024

    [3.12] gh-119317: findall instead of traverse for docutils nodes (GH-…

    2b091b9

    [3.13] gh-119317: findall instead of traverse for docutils nodes (GH-…

    7322ff1
  8. estyxx
    added a commit that references this issue on Jul 17, 2024

    pythongh-119317: findall instead of traverse for docutils nodes (pyth…

    94e2e3e
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

    docsDocumentation in the Doc dirDocumentation in the Doc dir

    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.