Title: gh-144270: Fix xml.etree.ElementTree.SubElement signature inconsistency by priyanshu2282-cyber · Pull Request #144313 · python/cpython · GitHub
Open Graph Title: gh-144270: Fix xml.etree.ElementTree.SubElement signature inconsistency by priyanshu2282-cyber · Pull Request #144313 · python/cpython
X Title: gh-144270: Fix xml.etree.ElementTree.SubElement signature inconsistency by priyanshu2282-cyber · Pull Request #144313 · python/cpython
Description: The Python and C implementations of xml.etree.ElementTree.SubElement exposed different call signatures the Python version allowed parent as a keyword argument, while the C version did not. This change makes the Python signature consistent with the C implementation. Passing parent as a keyword argument now raises TypeError. A regression test is added. Issue: gh-144270
Open Graph Description: The Python and C implementations of xml.etree.ElementTree.SubElement exposed different call signatures the Python version allowed parent as a keyword argument, while the C version did not. This cha...
X Description: The Python and C implementations of xml.etree.ElementTree.SubElement exposed different call signatures the Python version allowed parent as a keyword argument, while the C version did not. This cha...
Opengraph URL: https://github.com/python/cpython/pull/144313
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:28d88c44-b2ea-467e-1a95-eb18d6cd577a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A1A0:140460:1AEF0:239E5:6A52ACC7 |
| html-safe-nonce | 8edf46f16f17b892727653c9714b47fac662688f8f490de5006404b147632c39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUEwOjE0MDQ2MDoxQUVGMDoyMzlFNTo2QTUyQUNDNyIsInZpc2l0b3JfaWQiOiI2OTc2ODA2ODkyNDM4OTkwMDI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a22af8e0f6a9a3184c28a4879a58f5d5e8b928438a990a5123caf72fc2f88527 |
| hovercard-subject-tag | pull_request:3220319925 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/144313/files |
| twitter:image | https://avatars.githubusercontent.com/u/234029956?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/234029956?s=400&v=4 |
| og:image:alt | The Python and C implementations of xml.etree.ElementTree.SubElement exposed different call signatures the Python version allowed parent as a keyword argument, while the C version did not. This cha... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width