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 — Remove xml.etree.ElementTree.Element.copy() (Python implementation): use copy.copy() instead · Issue #94383 · python/cpython

Remove xml.etree.ElementTree.Element.copy() (Python implementation): use copy.copy() instead #94383

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove xml.etree.ElementTree.Element.copy() (Python implementation): use copy.copy() instead#94383
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@vstinner
vstinner
opened on Jun 28, 2022
Issue body actions

The xml.etree.ElementTree.Element.copy() method (Python implementation) was deprecated in Python 3.10 by commit 7d952de: see issue #76605 for the rationale.

The method only exists in the pure Python implementation. The C implementation only has a __copy__() method.

Use copy.copy() instead.

Activity

  1. vstinner
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jun 28, 2022
  2. vstinner
    added a commit that references this issue on Jul 4, 2022

    gh-94383: Remove ElementTree.Element.copy() method (#94384)

    fd76eb5
  3. vstinner
    closed this as completedon Jul 4, 2022
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

    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.