GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute by encukou · Pull Request #142794 · python/cpython Conversation
|
|
Here's a test case: def testSetAttributeNodeWithoutOwnerDocument(self): elem = Element("test") attr = Attr("id") attr.value = "test-id" elem.setAttributeNode(attr) self.assertEqual(elem.getAttribute("id"), "test-id") |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…ocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…ocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
|
GH-142818 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-142819 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the fix! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Lovely. Does this also close #67624? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…Document attribute (GH-142794) (#142818) gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…Document attribute (GH-142794) (#142819) gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
… ownerDocument attribute (pythonGH-142794) (python#142818) pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…GH-142146) (#142211) * gh-142145: Remove quadratic behavior in node ID cache clearing (GH-142146) * gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
… ownerDocument attribute (pythonGH-142794) (python#142818) pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
… ownerDocument attribute (pythonGH-142794) (python#142818) pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
* pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
* pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
* pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
* pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
…GH-142146) (#142213) * gh-142145: Remove quadratic behavior in node ID cache clearing (GH-142146) * Remove quadratic behavior in node ID cache clearing Co-authored-by: Jacob Walls <[email protected]> * Add news fragment --------- (cherry picked from commit 08d8e18) Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Jacob Walls <[email protected]> * [3.14] gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (#142818) gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> * gh-142145: relax the no-longer-quadratic test timing (GH-143030) * gh-142145: relax the no-longer-quadratic test timing * require cpu resource (cherry picked from commit 8d2d7bb) Co-authored-by: Gregory P. Smith <[email protected]> * merge NEWS entries into one --------- Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
…GH-142146) (#142212) * gh-142145: Remove quadratic behavior in node ID cache clearing (GH-142146) * Remove quadratic behavior in node ID cache clearing Co-authored-by: Jacob Walls <[email protected]> * Add news fragment --------- (cherry picked from commit 08d8e18) Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Jacob Walls <[email protected]> * [3.14] gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (#142818) gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> * gh-142145: relax the no-longer-quadratic test timing (GH-143030) * gh-142145: relax the no-longer-quadratic test timing * require cpu resource (cherry picked from commit 8d2d7bb) Co-authored-by: Gregory P. Smith <[email protected]> * merge NEWS entries into one --------- Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
* pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authoded-by: Lumír Balhar <[email protected]>
* pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
* pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) (cherry picked from commit 08d8e18) (cherry picked from commit 8d2d7bb) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authoded-by: Lumír Balhar <[email protected]>
…earing (pythonGH-142146) (python#142213) * pythongh-142145: Remove quadratic behavior in node ID cache clearing (pythonGH-142146) * Remove quadratic behavior in node ID cache clearing Co-authored-by: Jacob Walls <[email protected]> * Add news fragment --------- (cherry picked from commit 08d8e18) Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Jacob Walls <[email protected]> * [3.14] pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (python#142818) pythongh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (pythonGH-142794) (cherry picked from commit 1cc7551) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> * pythongh-142145: relax the no-longer-quadratic test timing (pythonGH-143030) * pythongh-142145: relax the no-longer-quadratic test timing * require cpu resource (cherry picked from commit 8d2d7bb) Co-authored-by: Gregory P. Smith <[email protected]> * merge NEWS entries into one --------- Co-authored-by: Seth Michael Larson <[email protected]> Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> (cherry picked from commit c97e875)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.