Skip to content

test_xml_etree case test_deeply_nested_deepcopy fails under PGO on macOS #149285

Closed

Description

@zanieb

This is the same as #140125 but for test_xml_etree.

cpython-3.14> ======================================================================
cpython-3.14> FAIL: test_deeply_nested_deepcopy (test.test_xml_etree_c.BadElementTest.test_deeply_nested_deepcopy)
cpython-3.14> ----------------------------------------------------------------------
cpython-3.14> Traceback (most recent call last):
cpython-3.14>   File "/private/var/folders/1r/b8l6nzhj4zdbz5jmjdhqbprw0000gn/T/tmppy3sq3k2/Python-3.14.5rc1/Lib/test/test_xml_etree.py", line 3111, in test_deeply_nested_deepcopy
cpython-3.14>     with self.assertRaises(RecursionError):
cpython-3.14>          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
cpython-3.14> AssertionError: RecursionError not raised
cpython-3.14> 
cpython-3.14> ----------------------------------------------------------------------

There's not much to say here, as I believe the previous discussion covers the topic adequately.

Linked PRs

Activity

  1. zanieb commented on May 2, 2026

    @zanieb
    ContributorAuthor
  2. added
    testsTests in the Lib/test dir
    3.14bugs and security fixes
    3.15bugs and security fixes
    type-bugAn unexpected behavior, bug, or error
    on May 2, 2026
  3. added 2 commits that reference this issue on May 2, 2026
  4. StanFromIreland commented on May 2, 2026

    @StanFromIreland
    Member

    I updated the 3.13 backport which has not landed yet.

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

    3.14bugs and security fixes3.15bugs and security fixesOS-mactestsTests in the Lib/test dirtopic-XMLtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions