Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
460cbffb3c
Merge c68cb4d6f6 into 7099af8f5e
2025-12-08 06:11:03 +02:00
Seth Michael Larson
08d8e18ad8
gh-142145: Remove quadratic behavior in node ID cache clearing (GH-142146)
...
* Remove quadratic behavior in node ID cache clearing
Co-authored-by: Jacob Walls <38668450+jacobtylerwalls@users.noreply.github.com>
* Add news fragment
---------
Co-authored-by: Jacob Walls <38668450+jacobtylerwalls@users.noreply.github.com>
2025-12-02 23:16:37 -08:00
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
7b1666d73d
Update Lib/xml/dom/minidom.py
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2025-05-13 09:45:46 +05:30
Srinivas Reddy Thatiparthy
19d245ca44
Update docstrings
2025-01-16 18:57:35 +05:30
Srinivas Reddy Thatiparthy
b97d812e6d
Address review comments
2025-01-16 18:30:52 +05:30
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
49a12e6b3c
Update Lib/xml/dom/minidom.py
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2025-01-06 18:13:38 +05:30
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
8b6373060d
Update Lib/xml/dom/minidom.py
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2025-01-06 18:13:31 +05:30
Srinivas Reddy Thatiparthy
ecb4a54d05
Update doc strings
2025-01-06 18:08:01 +05:30
Srinivas Reddy Thatiparthy
2da171f4c5
Add space back
2025-01-06 15:14:19 +05:30
Srinivas Reddy Thatiparthy
727af86547
Update docstrings as it was done in argument clinic
2025-01-06 15:13:00 +05:30
Srinivas Reddy Thatiparthy
8df6795526
Undo removing comment
2025-01-06 15:10:44 +05:30
Srinivas Reddy Thatiparthy
cca0fda656
Update docstring as recommended by argument clinic
2025-01-06 15:09:19 +05:30
Srinivas Reddy Thatiparthy
38be045d4d
Update docstring as recommended by argument clinic
2025-01-06 15:06:00 +05:30
Srinivas Reddy Thatiparthy
a4840f33d3
Convert doc string to imperative mode
2025-01-06 14:50:55 +05:30
Srinivas Reddy Thatiparthy
14bb77e4b5
Update docstrings for cloneNode(...)
2025-01-06 12:48:09 +05:30
Srinivas Reddy Thatiparthy
afa51efa54
Update docstring for cloneNode(...)
2025-01-06 12:45:40 +05:30
Srinivas Reddy Thatiparthy
8b7ff8ec58
Update the docstring for _clone_node(...)
2025-01-06 12:42:13 +05:30
Srinivas Reddy Thatiparthy
b0a91293f0
Revert __repr__ change
2025-01-06 11:36:20 +05:30
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
f4f633445a
Update Lib/xml/dom/minidom.py
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2025-01-06 11:35:07 +05:30
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
eb0208b0e1
Update Lib/xml/dom/minidom.py
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2025-01-06 11:34:55 +05:30
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
f16761bb44
Update Lib/xml/dom/minidom.py
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2025-01-06 11:34:47 +05:30
Srinivas Reddy Thatiparthy
21bb3743d9
Update and Add docstrings for functions and methods in minidom.py module
2025-01-04 15:59:32 +05:30
Serhiy Storchaka
154477be72
gh-50002: xml.dom.minidom now preserves whitespaces in attributes (GH-107947)
...
Also double quotes (") are now only quoted in attributes.
2023-08-23 15:23:41 +03:00
Kevin Kirsche
58f6953d6d
gh-96175: add missing self._localName assignment in xml.dom.minidom.Attr ( #96176 )
...
X-Ref: https://github.com/python/typeshed/pull/8590#discussion_r951473977
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-08-23 09:16:02 -07:00
Alex Itkes
63e5b59c06
bpo-13743: Add some documentation strings to xml.dom.minidom (GH-16355)
2020-04-12 16:21:58 +02:00
Henry Harutyunyan
dc04a0571e
bpo-37534: Allow adding Standalone Document Declaration when generating XML documents (GH-14912)
2020-02-29 09:22:19 +01:00
Vladimir Surjaninov
384b81d923
bpo-36407: Fix writing indentations of CDATA section (xml.dom.minidom). (GH-12514)
2019-03-27 07:58:49 +02:00
Victor Stinner
8e04186889
bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061)
...
Fix xml.dom.minidom cloneNode() on a document with an entity: pass
the correct arguments to the user data handler of an entity (fix an
old copy/paste mistake).
Bug spotted and fix proposed by Charalampos Stratakis, initial
reproducer written by Petr Viktorin.
Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
Co-Authored-By: Petr Viktorin <encukou@gmail.com>
2018-12-10 11:12:53 +01:00
Diego Rojas
5598cc90c7
bpo-34160: Preserve order of attributes in minidom. (GH-10219)
2018-11-07 16:09:04 +02:00
arikrupnik
5bfa058e65
bpo-33274: Compliance with DOM L1: return removed attribute ( #7465 )
...
* bpo-33274: Compliance with DOM L1: return removed attribute
* Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
2018-06-07 00:42:38 -04:00
Serhiy Storchaka
08448a1f4d
Issue #23326 : Removed __ne__ implementations. Since fixing default __ne__
...
implementation in issue #21408 they are redundant.
2015-01-31 12:05:05 +02:00
Serhiy Storchaka
465e60e654
Issue #22033 : Reprs of most Python implemened classes now contain actual
...
class name instead of hardcoded one.
2014-07-25 23:36:00 +03:00
Raymond Hettinger
92a4055343
Issue #21774 : Fix incorrect variable in xml.dom.minidom
2014-06-15 14:48:19 -07:00
Benjamin Peterson
72a98541f0
remove duplicate method ( closes #19127 )
2013-09-29 11:15:31 -04:00
Ezio Melotti
564e4d8dc9
#11379 : merge with 3.2.
2013-01-22 22:49:46 +02:00
Ezio Melotti
da4b5b82a3
#11379 : rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
2013-01-22 22:47:57 +02:00
Eli Bendersky
8a80502d2c
Issue #15296 : Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch by Serhiy Storchaka, with some minor style adjustments by me.
2012-07-13 09:52:39 +03:00
Florent Xicluna
8cf4b51fa4
xml.dom.minidom: add more __slots__ to limit resource usage.
2012-03-05 12:37:02 +01:00
Martin v. Löwis
67245a6ed4
Issue #14168 : Check for presence of _attrs before accessing it.
2012-03-05 07:01:49 +01:00
Martin v. Löwis
7b77188e89
Create _attr/_attrNS lazily.
2012-02-19 20:55:05 +01:00
Martin v. Löwis
14aa280de2
Use __slots__ throughout instead of __dict__, to reduce the memory usage.
2012-02-19 20:25:12 +01:00
Ezio Melotti
8008f2aba0
#4147 : minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg.
2011-11-18 17:34:26 +02:00
R David Murray
791744b070
#4147 : minidom's toprettyxml no longer adds whitespace to text nodes.
...
Patch by Dan Kenigsberg.
2011-10-01 16:19:51 -04:00
Ezio Melotti
3b3499ba69
#11565 : Merge with 3.1.
2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 11:05:33 +02:00
Ezio Melotti
4969f709cc
#11515 : Merge with 3.1.
2011-03-15 05:59:46 +02:00
Ezio Melotti
42da663e6f
#11515 : fix several typos. Patch by Piotr Kasprzyk.
2011-03-15 05:18:48 +02:00
Georg Brandl
c524cff3d3
Merged revisions 85530,85532-85534,85538-85543,85546-85548 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r85530 | georg.brandl | 2010-10-15 17:32:05 +0200 (Fr, 15 Okt 2010) | 1 line
Refrain from using inline suites.
........
r85532 | georg.brandl | 2010-10-15 18:03:02 +0200 (Fr, 15 Okt 2010) | 1 line
#7771 : reference to documentation of dictview methods and operations.
........
r85533 | georg.brandl | 2010-10-15 18:07:41 +0200 (Fr, 15 Okt 2010) | 1 line
#9683 : remove broken dead code dealing with nested arguments removed from Py3k, and update the docs and docstrings accordingly.
........
r85534 | georg.brandl | 2010-10-15 18:19:43 +0200 (Fr, 15 Okt 2010) | 1 line
#9801 : document how list and dict proxies created by Managers behave w.r.t. mutable items.
........
r85538 | georg.brandl | 2010-10-15 18:35:46 +0200 (Fr, 15 Okt 2010) | 1 line
#7303 : add documentation for useful pkgutil functions and classes.
........
r85539 | georg.brandl | 2010-10-15 18:42:14 +0200 (Fr, 15 Okt 2010) | 1 line
Fix issue references.
........
r85540 | georg.brandl | 2010-10-15 18:42:37 +0200 (Fr, 15 Okt 2010) | 1 line
#6798 : fix wrong docs for the arguments to several trace events.
........
r85541 | georg.brandl | 2010-10-15 18:53:24 +0200 (Fr, 15 Okt 2010) | 1 line
#4968 : updates to inspect.is* function docs.
........
r85542 | georg.brandl | 2010-10-15 19:01:15 +0200 (Fr, 15 Okt 2010) | 1 line
#7790 : move table of struct_time members to the actual description of struct_time.
........
r85543 | georg.brandl | 2010-10-15 19:03:02 +0200 (Fr, 15 Okt 2010) | 1 line
#4785 : document strict argument of JSONDecoder, plus add object_pairs_hook in the docstrings.
........
r85546 | georg.brandl | 2010-10-15 19:58:45 +0200 (Fr, 15 Okt 2010) | 1 line
#5762 : fix handling of empty namespace in minidom, which would result in AttributeError on toxml().
........
r85547 | georg.brandl | 2010-10-15 20:00:35 +0200 (Fr, 15 Okt 2010) | 1 line
#6098 : Refrain from claiming DOM level 3 conformance in minidom.
........
r85548 | georg.brandl | 2010-10-15 21:46:19 +0200 (Fr, 15 Okt 2010) | 1 line
#10072 : assume a bit less knowledge of the FTP protocol in the ftplib docs.
........
2010-11-26 08:42:45 +00:00
Georg Brandl
3844f0d7cd
#6098 : Refrain from claiming DOM level 3 conformance in minidom.
2010-10-15 18:00:35 +00:00
Georg Brandl
b9cd72a9f7
#5762 : fix handling of empty namespace in minidom, which would result in AttributeError on toxml().
2010-10-15 17:58:45 +00:00