- 02 Feb, 2001 3 commits
-
-
Jeffrey Shell authored
-
Chris McDonough authored
This tempfile module is r1.27 from the Python MAIN CVS branch. It fixes two rac e conditions. We will place this in lib/python and try to keep it up to date until we ditch Py thon 1.52, at which time we can rely on the (patched) tempfile.py that ships wit h the Python 2.X series.
-
- 01 Feb, 2001 1 commit
-
- 31 Jan, 2001 12 commits
-
-
Chris McDonough authored
-
Jeffrey Shell authored
-
Jeffrey Shell authored
-
Jeffrey Shell authored
-
Jeffrey Shell authored
-
Jeffrey Shell authored
-
Jeffrey Shell authored
-
Christopher Petrilli authored
in it.
-
Christopher Petrilli authored
-
Guido van Rossum authored
discussed in today's meeting.
-
Guido van Rossum authored
-
Guido van Rossum authored
- Don't use a wrapper function around macroIndexer.
-
- 30 Jan, 2001 9 commits
-
-
Christopher Petrilli authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Running the test suite with this version ("./runtest.sh -c") now shows two failures: - test2: the checked-in test output is missing the xmlns="..." attributes because the Printer module doesn't emit these for prefix-less xmlns attributes (in cases where node.namespaceURI is set but node.prefix is None). - test8: this version emits a redundant xmlns:m attribute on the expanded macro element. AFAICT this is OK according to the XMLNS standard. The redundant attribute is emitted because macros are compiled without context (since they may be used in a different context).
-
Guido van Rossum authored
- Added (untested) insertStructure().
-
Guido van Rossum authored
(by applying str() if it is neither).
-
Tres Seaver authored
-
Guido van Rossum authored
-
- 29 Jan, 2001 15 commits
-
-
Guido van Rossum authored
- z:omit is gone - new, separate command to loop over a subtree: <tag z:repeat="var expr"> - remove syntactic sugar from z:define (no "as"), z:attributes (no "=") TALInterpreter needed no change. Note that TALCompiler doesn't yet emit proper xmlns attributes.
-
Guido van Rossum authored
-
Guido van Rossum authored
- z:omit is gone - new, separate command to loop over a subtree: <tag z:repeat="var expr"> - remove syntactic sugar from z:define (no "as"), z:attributes (no "=") - refactored a bit to accommodate this
-
Guido van Rossum authored
next version of the syntax.
-
Guido van Rossum authored
status 0.
-
Christopher Petrilli authored
-
Christopher Petrilli authored
-
Guido van Rossum authored
-
Guido van Rossum authored
TALVisitor.
-
Guido van Rossum authored
getAttributeNodeNS(). - Move parseAttributeReplacements() and splitParts() out of the class (they can be simple functions), so they can be imported by TALCompiler and TALInterpreter. - Remove a redundant key argument from doReplaceLoop() and doInsertLoop(). - Add an XXX comment warning that we don't check for z:replace on the documentElement.
-
Guido van Rossum authored
This really makes a difference! Some timing statistics (on test/test2.html, a document with no TAL contents): talizetree : 2.190 secs for 10 calls, i.e. 219 msecs per call printtree : 2.870 secs for 10 calls, i.e. 287 msecs per call compiletree : 0.250 secs for 10 calls, i.e. 25 msecs per call interpretit : 0.110 secs for 10 calls, i.e. 11 msecs per call There are two ways to go from a DOM tree to text (the assumption is that the DOM tree is already in memory): talize + print : total 506 msec compile+interpret : total 36 msec, or about 14x faster If we cache the compiled program, we're down to 12 msec, or over 40x faster. So compilation + interpretation are well worth it! (I.o.w., creating a DOM tree is very slow.)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Christopher Petrilli authored
-