Filter
Exclude
Time range
-
Near
Python's stdlib XML parsers (expat, ElementTree) ship with a hash-flooding bug — crafted XML can stall the parser. CVSS 9.8. Full fix needs libexpat 2.8.0 AND the Python patch. If you parse untrusted XML, this matters. nvd.nist.gov/vuln/detail/CVE…

12
CVE-2026-7210: Cpython: The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection openwall.com/lists/oss-secur…

1
7
646
📚 DS独学 Day 1 ・JSONの読み書き ・transform()で列データ変換 ・lambdaで1行関数 ・XMLの解析(ElementTree) ・CSVの読み込みと列名設定 学習時間:1時間 / 累計:1時間 #Python #データサイエンス #100DaysOfCode
1
51
We profiled every boto3 API call. 48% of the time? Not network. Not any S3 Providers. Not your code. Python overhead: - urllib3 socket handling - User-Agent string rebuilt every request - dateutil timestamp parsing (62us per call) - XML ElementTree for S3 responses
3
2
78
9,530
Python XML parsing: ElementTree, minidom, and SAX for reading and creating XML documents. owen-devereaux.com/writing/p…

6
Replying to @chux13786509
This feature works, but handles unreliable SVG files as raw XML with default settings from ElementTree. Because SVG is executable XML, it poses a risk for attacks (such as XXE or DoS at the parser level). Checking file names doesn’t help.🤨
1
32
Replying to @chux13786509
I guess you want to point out a XXE vulnerbility but after fast research ElementTree api don't resolve external entities by default. But one possible problem could be a Billion Laughs attack (nested xml entities DOS attack).
1
2
1,370
3 Dec 2025
Replying to @grok
Why this works 100% now: No more nsmap attribute (not in stdlib ElementTree on Python 3.13) Dynamically extracts default namespace from the actual <kml> tag Still catches prefixed namespaces via regex Fixes the duplicate colors line that caused UnboundLocalError Works with SEGRA_WEST.kmz, Bluebird, and every other file you have Deploy this → both errors gone forever. You're golden.
1
7
Replying to @freeCodeCamp
@freeCodeCamp XML in Python? Built-in power. Prompt: “Parse [XML file] with ElementTree: 3 tags 1 output.” Copy → paste → no libs. Thoughts? 👇 #AI
261
9 Nov 2025
Parsing XML Files in Python (ElementTree Examples) dargslanpublishing.com/parsi…

8
4 Nov 2025
ElementTree使えないのでlxml使ったほうがいいな
108
4 Nov 2025
PythonのElementTreeのXPathの実装、ブチ壊れてるけど大丈夫?
1
1
367
Applied AI Lab(WQU) In today’s lesson, I learned about new libraries: pathlib and ElementTree, and was introduced to the concept of object detection. I parsed an XML file to draw bounding boxes around known objects and label them. #LearningUtsav2025 #FestivalOfLearning #LUD11
40
PythonでRSSを取得する方法3種類をまとめました。 ニュースやブログのタイトル取得に便利。 ✅ feedparser ✅ requests ElementTree ✅ BeautifulSoup 自動ニュース収集やブログ更新チェックに活用してね。 #python #RSS
6
274
21 Aug 2025
Also lxml produces warning about exactly this behavior when you call __bool__() on Element/ElementTree.
2
9
Be careful with Python XML ElementTree and being too casual about truthy/falsey values. Apparently, if an element contains no children, it's falsey even if it has content inside of it. e.g., <PackageVersion>1.2.3</PackageVersion> would be falsey but not None.
1
4
82
Replying to @ue_man
- How the Widget, ElementTree, Render tree interact with each other? - How are size constraints propagated from parent to leaves? - Questions around Widget lifecycle. For example: when is build called, initState, didChangeDependencies. - Check for good habits. Dispose, tests
2
4
610
Replying to @vzhilin_me
я и подключил но имхо это как-то overengineered все, я конечно попытался понять как работает lxml, ElementTree и прочее но потом плюнул и завайбкодил то что мне нужно 👍 гораздо проще было бы JSON отправить чем какие-то нереальные каки на 10 подуровней строить
64
22 Jun 2025
5/11 Sloppy XML offers a quick example demonstrating its streaming API, which can gracefully handle malformed XML content. It also shows how to use the tree parsing feature to obtain an ElementTree despite malformed input. This makes it versatile for various parsing needs. ⬇️
1
10
21 Jun 2025
前半部分はPythonでちゃちゃっと書いて、出力されたCSVを読み込ませるところは手作業で確認。ElementTreeのnamespaceまわりで少しハマりました。addr1/addr2の文字列が長すぎるパターンの検証をしたいところ。 qrz.com/page/current_spec.ht…

20 Jun 2025
qrz.comのXML Logbook APIを使ってSAE送付先のコールサインから住所を取得してCSVに落とし込んだら、ラベル屋さんの差し込み印刷でラベルシールをプリント。前半だけでなく後半も一気通貫で自動化したい。
1
115