SVN: r25825 - trunk/quixote/doc
David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Wed, 5 Jan 2005 11:22:16 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dbinger
Date: 2005-01-05 08:33:33 -0500 (Wed, 05 Jan 2005)
New Revision: 25825
Modified:
trunk/quixote/doc/PTL.txt
Log:
Remove $-substitution docs. Add not about other import-order requirements.
Modified: trunk/quixote/doc/PTL.txt
===================================================================
--- trunk/quixote/doc/PTL.txt 2005-01-05 13:25:58 UTC (rev 25824)
+++ trunk/quixote/doc/PTL.txt 2005-01-05 13:33:33 UTC (rev 25825)
@@ -220,22 +220,7 @@
Python and a second one implemented as a C extension. Both versions
have seen production use.
-$-substitution in templates.
-----------------------------
-In Quixote 2, ptl was modified to provide automatic $-substitution
-in literals in templates. The substitution works like Python 2.4's
-string.Template class, except that it is implemented by a compile-time
-transformation. The transformation causes expressions like
-
- '<h1>${title}</h1>' or '<h1>$title</h1>'
-
-to mean
-
- ('<h1>%(title)s</h1>' % vars())
-
-To escape this transformation, use '$$' to replace '$'.
-
PTL modules
-----------
@@ -252,7 +237,8 @@
(Note: if you're using ZODB, always import ZODB *before* installing the
PTL import hook. There's some interaction which causes importing the
TimeStamp module to fail when the PTL import hook is installed; we
-haven't debugged the problem.)
+haven't debugged the problem. A similar problem has been reported for
+BioPython and win32com.client imports.)
Once the import hook is installed, PTL files can be imported as if they
were Python modules. If all the example templates shown here were put
@@ -276,5 +262,3 @@
This is useful if you want to interactively play with a PTL module.
-
-$Id$