Commit 76ca7ba
Fix creating dom nodes
Python 3.13 introduced a fix
python/cpython#142146
which brought a regression
python/cpython#142754
Discussion shows that one is not supposed to use Element to create
nodes. It used to work but is not really supported. They fixed the
issue in
https://github.com/python/cpython/pull/142794/files
but better create dom nodes the proper way with doc.createElement.
collectiontest.py didn't actually need to create elements any more.1 parent 445d64b commit 76ca7ba
2 files changed
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 38 | | |
51 | 39 | | |
52 | 40 | | |
| |||
0 commit comments