Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-39495: Remove default value from C impl of TreeBuilder.start #18275
Conversation
This comment has been minimized.
This comment has been minimized.
As suggested by Serhiy, this changes the C implementation of Note however, that the C implementation of TreeBuilder.start still accepts I looked into changing the C implementation to also throw a cpython/Modules/_elementtree.c Line 3315 in 188bb5b
|
@@ -0,0 +1 @@ | |||
Remove default value from ``attrs`` parameter of ``xml.etree.ElementTree.TreeBuilder.start`` for consistency between Python and C implementations. |
This comment has been minimized.
This comment has been minimized.
corona10
Feb 1, 2020
Member
Remove default value from ``attrs`` parameter of ``xml.etree.ElementTree.TreeBuilder.start`` for consistency between Python and C implementations. | |
Remove default value from *attrs* parameter of :meth:`xml.etree.ElementTree.TreeBuilder.start` for consistency between Python and C implementations. |
This comment has been minimized.
This comment has been minimized.
Thank you for your PR @hauntsaninja. I prefer to remove also the support of None as a value of
|
This comment has been minimized.
This comment has been minimized.
Or you can just use |
hauntsaninja commentedJan 30, 2020
•
edited by bedevere-bot
https://bugs.python.org/issue39495