summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36407: Fix writing indentations of CDATA section (xml.dom.minidom). ↵Vladimir Surjaninov2019-03-271-1/+2
| | | | (GH-12514)
* bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061)Victor Stinner2018-12-101-2/+2
| | | | | | | | | | | 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>
* bpo-34160: Preserve order of attributes in minidom. (GH-10219)Diego Rojas2018-11-071-2/+1
|
* bpo-34791: xml package obeys ignore env flags (GH-9544)Christian Heimes2018-09-241-1/+3
| | | | | | | | | | The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34791
* bpo-9372: Deprecate several __getitem__ methods (GH-8609)Berker Peksag2018-08-111-0/+7
| | | | | | The __getitem__ methods of DOMEventStream, FileInput, and FileWrapper classes ignore their 'index' parameters and return the next item instead.
* bpo-33274: Compliance with DOM L1: return removed attribute (#7465)arikrupnik2018-06-071-0/+1
| | | | | | * bpo-33274: Compliance with DOM L1: return removed attribute * Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
* bpo-33549: Remove shim and deprecation warning to access DocumentLS.async. ↵Matthias Bussonnier2018-05-171-22/+0
| | | | | | (GH-6924) `obj.async` is now a syntax error, so the warning/shim is quasi-unnecessary.
* bpo-29762: More use "raise from None". (#569)Serhiy Storchaka2017-04-051-1/+1
| | | This hides unwanted implementation details from tracebacks.
* Issue #26182: Raise DeprecationWarning for improper use of async/await keywordsYury Selivanov2016-09-151-3/+3
|
* English spelling and grammar fixesMartin Panter2016-07-111-1/+1
|
* Issue #10131: Fixed deep copying of minidom documents. Based on patchSerhiy Storchaka2015-11-261-3/+3
|\ | | | | | | by Marian Ganisin.
| * Issue #10131: Fixed deep copying of minidom documents. Based on patchSerhiy Storchaka2015-11-261-3/+3
| | | | | | | | by Marian Ganisin.
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-1/+25
| |
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-3/+0
| | | | | | | | implementation in issue #21408 they are redundant.
* | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-251-2/+3
|/ | | | class name instead of hardcoded one.
* Issue #21774: Fix incorrect variable in xml.dom.minidomRaymond Hettinger2014-06-151-1/+1
|
* #12220: improve minidom error when URI contains spaces.R David Murray2014-04-201-1/+3
| | | | Fix by 'amathew', test by Marek Stepniowski.
* Merge from 3.3Andrew Kuchling2013-11-121-1/+5
|\
| * Closes #12828: add docstring text noting this is an internal-only moduleAndrew Kuchling2013-11-121-1/+5
| |
* | merge 3.3 (#19127)Benjamin Peterson2013-09-291-3/+0
|\ \ | |/
| * remove duplicate method (closes #19127)Benjamin Peterson2013-09-291-3/+0
| |
* | modernize some modules' code by using with statement around open()Giampaolo Rodola'2013-02-121-8/+2
|/
* #11379: merge with 3.2.Ezio Melotti2013-01-221-2/+3
|\
| * #11379: rephrase minidom documentation to use the term "minimal" instead of ↵Ezio Melotti2013-01-221-2/+3
| | | | | | | | "lightweight". Patch by Éric Araujo.
* | Issue #15296: Fix minidom.toxml/toprettyxml for non-unicode encodings. ↵Eli Bendersky2012-07-131-10/+12
| | | | | | | | Patch by Serhiy Storchaka, with some minor style adjustments by me.
* | xml.dom.minidom: add more __slots__ to limit resource usage.Florent Xicluna2012-03-052-6/+8
| |
* | xml.dom: fix typo, drop unused imports.Florent Xicluna2012-03-052-5/+1
| |
* | Issue #14168: Check for presence of _attrs before accessing it.Martin v. Löwis2012-03-051-0/+4
| |
* | Create _attr/_attrNS lazily.Martin v. Löwis2012-02-192-9/+34
| |
* | Use __slots__ throughout instead of __dict__, to reduce the memory usage.Martin v. Löwis2012-02-192-141/+114
| |
* | Fix imports in xml.dom.Florent Xicluna2011-12-101-5/+1
|/
* #4147: minidom's toprettyxml no longer adds whitespace around a text node ↵Ezio Melotti2011-11-181-5/+9
| | | | when it is the only child of an element. Initial patch by Dan Kenigsberg.
* #4147: minidom's toprettyxml no longer adds whitespace to text nodes.R David Murray2011-10-011-2/+4
| | | | Patch by Dan Kenigsberg.
* Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode insteadVictor Stinner2011-07-031-1/+1
| | | | of the text mode (using the locale encoding) to avoid encoding issues.
* #11565: Merge with 3.1.Ezio Melotti2011-03-162-2/+2
|\
| * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-162-2/+2
| |
* | #11515: Merge with 3.1.Ezio Melotti2011-03-151-1/+1
|\ \ | |/
| * #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
| |
| * Merged revisions 85530,85532-85534,85538-85543,85546-85548 via svnmerge fromGeorg Brandl2010-11-261-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
| * Merged revisions 82629,82632,82724,82757-82758,82760-82763,82798-82799,82801 ↵Georg Brandl2010-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ r82629 | georg.brandl | 2010-07-07 20:51:43 +0200 (Mi, 07 Jul 2010) | 1 line Make comment out of an awkward note. ........ r82632 | georg.brandl | 2010-07-07 21:04:36 +0200 (Mi, 07 Jul 2010) | 1 line Turn more notes into comments. ........ r82724 | georg.brandl | 2010-07-09 09:33:15 +0200 (Fr, 09 Jul 2010) | 1 line 2.7 is now stable. ........ r82757 | georg.brandl | 2010-07-10 10:58:37 +0200 (Sa, 10 Jul 2010) | 1 line Fix markup. ........ r82758 | georg.brandl | 2010-07-10 12:23:40 +0200 (Sa, 10 Jul 2010) | 1 line Emphasize role of count for Pascal string. ........ r82760 | georg.brandl | 2010-07-10 12:39:57 +0200 (Sa, 10 Jul 2010) | 1 line #3214: improve description of duck-typing in glossary. ........ r82761 | georg.brandl | 2010-07-10 13:40:13 +0200 (Sa, 10 Jul 2010) | 1 line #1434090: properly append child in expatbuilder doctype handler. ........ r82762 | georg.brandl | 2010-07-10 13:51:06 +0200 (Sa, 10 Jul 2010) | 1 line #8338: fix outdated class name. ........ r82763 | georg.brandl | 2010-07-10 14:01:34 +0200 (Sa, 10 Jul 2010) | 1 line #8456: fix signature of sqlite3.connect(). ........ r82798 | georg.brandl | 2010-07-11 11:23:11 +0200 (So, 11 Jul 2010) | 1 line #6774: explain shutdown() behavior varying with platform. ........ r82799 | georg.brandl | 2010-07-11 11:26:57 +0200 (So, 11 Jul 2010) | 1 line Fix typo. ........ r82801 | georg.brandl | 2010-07-11 11:33:39 +0200 (So, 11 Jul 2010) | 1 line #9184: fix default value for "buffering" param of open(). ........
| * Merged revisions 74821,74828-74831,74833,74835 via svnmerge fromGeorg Brandl2009-09-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ................ r74821 | georg.brandl | 2009-09-16 11:42:19 +0200 (Mi, 16 Sep 2009) | 1 line #6885: run python 3 as python3. ................ r74828 | georg.brandl | 2009-09-16 16:23:20 +0200 (Mi, 16 Sep 2009) | 1 line Use true booleans. ................ r74829 | georg.brandl | 2009-09-16 16:24:29 +0200 (Mi, 16 Sep 2009) | 1 line Small PEP8 correction. ................ r74830 | georg.brandl | 2009-09-16 16:36:22 +0200 (Mi, 16 Sep 2009) | 1 line Use true booleans. ................ r74831 | georg.brandl | 2009-09-16 17:54:04 +0200 (Mi, 16 Sep 2009) | 1 line Use true booleans and PEP8 for argdefaults. ................ r74833 | georg.brandl | 2009-09-16 17:58:14 +0200 (Mi, 16 Sep 2009) | 1 line Last round of adapting style of documenting argument default values. ................ r74835 | georg.brandl | 2009-09-16 18:00:31 +0200 (Mi, 16 Sep 2009) | 33 lines Merged revisions 74817-74820,74822-74824 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line Make deprecation notices as visible as warnings are right now. ........ r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line #6880: add reference to classes section in exceptions section, which comes earlier. ........ r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line #6876: fix base class constructor invocation in example. ........ r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line #6891: comment out dead link to Unicode article. ........ r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line #5621: refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign. ........ r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line Remove strange trailing commas. ........ r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line #6892: fix optparse example involving help option. ........ ................
* | #6098: Refrain from claiming DOM level 3 conformance in minidom.Georg Brandl2010-10-151-2/+0
| |
* | #5762: fix handling of empty namespace in minidom, which would result in ↵Georg Brandl2010-10-151-3/+4
| | | | | | | | AttributeError on toxml().
* | #777884: make .normalize() do nothing for childless nodes, instead of ↵Andrew M. Kuchling2010-07-251-0/+4
| | | | | | | | raising an exception
* | #1434090: properly append child in expatbuilder doctype handler.Georg Brandl2010-07-101-1/+1
| |
* | http://bugs.python.org/issue8832Kristján Valur Jónsson2010-06-091-0/+8
| | | | | | | | Issue minidom.unlink with a context manager
* | Use true booleans and PEP8 for argdefaults.Georg Brandl2009-09-162-2/+2
|/
* Merged revisions 71414 via svnmerge fromR. David Murray2009-04-091-18/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71414 | r.david.murray | 2009-04-09 17:54:50 -0400 (Thu, 09 Apr 2009) | 3 lines Issue #2170: refactored xml.dom.minidom.normalize, increasing both its clarity and its speed. ........
* Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ fromMark Dickinson2009-01-271-2/+20
| | | | the standard library and tests.
* Make a new urllib package .Jeremy Hylton2008-06-181-7/+7
| | | | | | | | | | | | | It consists of code from urllib, urllib2, urlparse, and robotparser. The old modules have all been removed. The new package has five submodules: urllib.parse, urllib.request, urllib.response, urllib.error, and urllib.robotparser. The urllib.request.urlopen() function uses the url opener from urllib2. Note that the unittests have not been renamed for the beta, but they will be renamed in the future. Joint work with Senthil Kumaran.