-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-33274: Compliance with DOM L1: return removed attribute #7464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…les (GH-4977) (#4979) This is more complicated than it should be because we need to preserve the useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar has. We only look for the pickled grammar file with pkgutil.get_data and only if the source file does not exist. (cherry picked from commit 8a58771)
It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed. (cherry picked from commit 7f7de37)
glibc has removed Sun RPC. Use replacement libtirpc headers and library in nis module Signed-off-by: Christian Heimes <[email protected]> (cherry picked from commit f3031b8)
) (cherry picked from commit 3a9ccee) Co-authored-by: Marcel Plch <[email protected]>
…addch (GH-5179) (GH-6406) (cherry picked from commit ef5ce88) Co-authored-by: Jay Crotts <[email protected]>
(cherry picked from commit 9265dd7) Co-authored-by: Raymond Hettinger <[email protected]>
When bpo-12015 got resolved by increasing the length of the random string generated by _RandomNameSequence from six to eight characters, the docstring of the class was not adjusted accordingly. (cherry picked from commit 9c463ec) Co-authored-by: Wolfgang Maier <[email protected]>
The protocol parameter can be any protocol supported by the pickle module. (cherry picked from commit 2ef65f3) Co-authored-by: Serhiy Storchaka <[email protected]>
…`` script. (GH-6259) Based on patch by Oleg Krasnikov. (cherry picked from commit c93938b) Co-authored-by: Serhiy Storchaka <[email protected]>
…le (GH-6417) (GH-6438) (cherry picked from commit 0f914b5) Co-authored-by: Aaron Ang <[email protected]>
…-6439) (cherry picked from commit f178028) Co-authored-by: Devon R <[email protected]>
The examples in argparse documentation use `error: too few arguments` error message which was removed in this commit f97c59a in 2011. (cherry picked from commit 04e8293) Co-authored-by: suic86 <[email protected]>
W3C DOM Level 1[1] requires `removeAttributeNode()` to return the removed node: removeAttributeNode: Removes the specified attribute. Return Value: The Attr node that was removed. Current implementation returns `None`. [1]https://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#method-removeAttributeNode test cases for Element.testRemoveAttributeNode()
Tried to open PR from wrong branch. Closing. Correct PR #7465 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
W3C DOM Level 1[1] requires removeAttributeNode() to return the removed node:
removeAttributeNode: Removes the specified attribute.
Return Value: The Attr node that was removed.
Current implementation returns None.
[1]https://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#method-removeAttributeNode
https://bugs.python.org/issue33274
https://bugs.python.org/issue33274