-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-XMLtype-featureA feature request or enhancementA feature request or enhancement
Description
Proposal:
In xml.etree.ElementTree.Element.remove
, the exception message is "list.remove(x): x not in list"
. It was suggested to change it to "Element.remove(x): x not in list"
(#126124 (comment)).
Since we don't like changing exception messages in stable branches, we will only do it in main. Note that this change may not necessarily be trivial as the Python implementation also needs to be updated (out there, a list is used and using list.remove() would then use a different message).
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
Linked PRs
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-XMLtype-featureA feature request or enhancementA feature request or enhancement