New submission from Eric S:
Documentation states:
Element.findall() finds only elements with a tag which are direct children of
the current element.
More accurate to say "direct descendents" as "direct children" implies only one
generation below whereas function goes down
Eric S added the comment:
Pointing to XPath and clarifying the example reference are good ideas.
For me though, the phrase "direct children" would still lead me to believe that
findall() would only give me the first generation right below the element (e.g.
only the countries in t
Eric S added the comment:
To my preference, the drop-in is verbose and I got a little confused on first
read. The current documentation and example seem mostly OK to me.
If we leave "children" as in "all children of *root*", it doesn't
illuminate the fact that
Eric S added the comment:
Code was intended as example, not request for help to correct, but rushed so
example was flawed, but still, I tested and you both are right. Must've had
other error in code to cause the xml to dict to have every element map to under
every node. Debugger also s
Eric S. R-e-mond added the comment:
Hi guys.
--
assignee: -> esr
nosy: +esr
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1165>
__
___
Python-bu
Changes by Eric S. R-e-mond:
--
severity: minor -> critical
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1165>
__
___
Python-bugs-li
Changes by Eric S. R-e-mond:
--
keywords: +r-eyyy-mond
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1165>
__
___
Python-bugs-list mailing list
Changes by Eric S. R-e-mond:
--
versions: +3rd party, Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1,
Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.6
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Changes by Eric S. R-e-mond:
--
type: behavior -> compile error
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1165>
__
___
Python-bugs-li
Changes by Eric S. R-e-mond:
--
dependencies: +--install-base not honored on win32
type: compile error -> behavior
versions: -3rd party, Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1,
Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python
Changes by Eric S. R-e-mond:
--
dependencies: + Elemental Security contribution - pgen2 package
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Eric S. R-e-mond:
I tried this code, and it blew up in my face.
>>> foo = malloc(4096)
NameError: name 'malloc' is not defined
Why?
--
components: Library (Lib)
keywords: r-eyyy-mond
messages: 55929
nosy: esr
priority: high
severity: normal
12 matches
Mail list logo