[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2022-01-02 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Hi Mike, "patch review" means: "A patch or pull request exists, but it needs review. Any triager or core developer may do the review." https://devguide.python.org/triaging/#stage So we were waiting for someone to review patches listed above under the "Fi

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2021-12-24 Thread mike mcleod
mike mcleod added the comment: I would like to help with this issue. I'm new to this space hence I am not aware of what patch review means. -- nosy: +mikecmcleod ___ Python tracker __

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2014-03-11 Thread Jessica McKellar
Changes by Jessica McKellar : Added file: http://bugs.python.org/file34356/issue4849_2.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2014-03-09 Thread Jessica McKellar
Jessica McKellar added the comment: Sorry, stray submit, one more time: Thanks for the patch, Alexandre.Zani! Your patch had some whitespace issues according to `make patchcheck` (see http://docs.python.org/devguide/patch.html#generation for details). I've uploaded a trivial update to your pa

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2014-03-09 Thread Jessica McKellar
Jessica McKellar added the comment: Thanks for the patch, Alexandre.Zani! -- keywords: +needs review nosy: +jesstess versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ _

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-06-05 Thread Alexander O
Alexander O added the comment: On Jun 2, 2012 7:00 AM, "Alexandre Zani" wrote: > > Alexandre Zani added the comment: > > Here is my patch for it. > > -- > keywords: +patch > Added file: http://bugs.python.org/file25796/easier_element_init.patch > >

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-06-01 Thread Alexandre Zani
Alexandre Zani added the comment: Here is my patch for it. -- keywords: +patch Added file: http://bugs.python.org/file25796/easier_element_init.patch ___ Python tracker ___ _

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-06-01 Thread Alexandre Zani
Alexandre Zani added the comment: I would tend to disagree with the use of **kwargs. It means the argument list would be implicit, not documented by the code and not checked at runtime. We could end up with anything in there. I'll try to propose a patch tonight that implements Jean-Paul's sol

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-25 Thread Alexander O
Alexander O added the comment: stupid question but why shouldn't this be possible ? class Element(_Element): def __init__(self,name,**kwargs): _Element.__init__(self,name) attributes = kwargs.get("attributes") children = kwargs.get("child

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-20 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-20 Thread Alexandre Zani
Changes by Alexandre Zani : -- nosy: +Alexandre.Zani ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2010-07-27 Thread Mark Lawrence
Mark Lawrence added the comment: I think this could be sneaked into 3.2 if needed, but is it more work than the benefits actually deliver in the real world? -- stage: -> needs patch type: behavior -> feature request versions: +Python 3.2 ___ Python

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2010-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: As you Jean-Paul Calderone seem to know what you're talking about could you provide a patch to get this issue going? If not I might even have a go myself, even if I do get shot down in flames. -- nosy: +BreamoreBoy ___

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2009-01-05 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : In order to create an element with an attribute and a child, this is necessary: e = Element("foo") e.setAttribute("bar", "baz") e.appendChild(quux) It would be preferable if Element.__init__ accepted two additional parameters to shorten this