Commit 92f0c4a0 authored by Jim Fulton's avatar Jim Fulton

added str to DT_Util import to address pickling lamosities

parent e28781df
...@@ -54,11 +54,11 @@ ...@@ -54,11 +54,11 @@
"""HTML formated DocumentTemplates """HTML formated DocumentTemplates
$Id: DT_HTML.py,v 1.9 1998/09/02 21:06:03 jim Exp $""" $Id: DT_HTML.py,v 1.10 1998/09/08 15:05:30 jim Exp $"""
from DT_String import String, FileMixin from DT_String import String, FileMixin
import DT_String, regex import DT_String, regex
from DT_Util import ParseError from DT_Util import ParseError, str
from string import strip, find, split, join from string import strip, find, split, join
class dtml_re_class: class dtml_re_class:
......
...@@ -117,10 +117,10 @@ __doc__='''Conditional insertion ...@@ -117,10 +117,10 @@ __doc__='''Conditional insertion
variable is not reevaluated. variable is not reevaluated.
''' '''
__rcs_id__='$Id: DT_If.py,v 1.11 1998/09/02 21:06:03 jim Exp $' __rcs_id__='$Id: DT_If.py,v 1.12 1998/09/08 15:05:31 jim Exp $'
__version__='$Revision: 1.11 $'[11:-2] __version__='$Revision: 1.12 $'[11:-2]
from DT_Util import ParseError, parse_params, name_param from DT_Util import ParseError, parse_params, name_param, str
class If: class If:
blockContinuations='else','elif' blockContinuations='else','elif'
...@@ -184,6 +184,9 @@ class Else(Unless): ...@@ -184,6 +184,9 @@ class Else(Unless):
########################################################################## ##########################################################################
# #
# $Log: DT_If.py,v $ # $Log: DT_If.py,v $
# Revision 1.12 1998/09/08 15:05:31 jim
# added str to DT_Util import to address pickling lamosities
#
# Revision 1.11 1998/09/02 21:06:03 jim # Revision 1.11 1998/09/02 21:06:03 jim
# many changes for thread safety, bug fixes, and faster import # many changes for thread safety, bug fixes, and faster import
# #
......
...@@ -349,10 +349,10 @@ ...@@ -349,10 +349,10 @@
''' #' ''' #'
__rcs_id__='$Id: DT_In.py,v 1.27 1998/09/02 21:06:04 jim Exp $' __rcs_id__='$Id: DT_In.py,v 1.28 1998/09/08 15:05:31 jim Exp $'
__version__='$Revision: 1.27 $'[11:-2] __version__='$Revision: 1.28 $'[11:-2]
from DT_Util import ParseError, parse_params, name_param from DT_Util import ParseError, parse_params, name_param, str
from DT_Util import render_blocks, InstanceDict from DT_Util import render_blocks, InstanceDict
from string import find, atoi, join from string import find, atoi, join
import ts_regex import ts_regex
...@@ -690,6 +690,9 @@ def int_param(params,md,name,default=0, st=type('')): ...@@ -690,6 +690,9 @@ def int_param(params,md,name,default=0, st=type('')):
############################################################################ ############################################################################
# $Log: DT_In.py,v $ # $Log: DT_In.py,v $
# Revision 1.28 1998/09/08 15:05:31 jim
# added str to DT_Util import to address pickling lamosities
#
# Revision 1.27 1998/09/02 21:06:04 jim # Revision 1.27 1998/09/02 21:06:04 jim
# many changes for thread safety, bug fixes, and faster import # many changes for thread safety, bug fixes, and faster import
# #
......
...@@ -65,10 +65,10 @@ ...@@ -65,10 +65,10 @@
<!--#/if--> <!--#/if-->
''' '''
__rcs_id__='$Id: DT_Raise.py,v 1.6 1998/09/02 21:06:04 jim Exp $' __rcs_id__='$Id: DT_Raise.py,v 1.7 1998/09/08 15:05:31 jim Exp $'
__version__='$Revision: 1.6 $'[11:-2] __version__='$Revision: 1.7 $'[11:-2]
from DT_Util import parse_params, name_param, render_blocks from DT_Util import parse_params, name_param, render_blocks, str
class Raise: class Raise:
blockContinuations=() blockContinuations=()
...@@ -103,6 +103,9 @@ class Raise: ...@@ -103,6 +103,9 @@ class Raise:
########################################################################## ##########################################################################
# #
# $Log: DT_Raise.py,v $ # $Log: DT_Raise.py,v $
# Revision 1.7 1998/09/08 15:05:31 jim
# added str to DT_Util import to address pickling lamosities
#
# Revision 1.6 1998/09/02 21:06:04 jim # Revision 1.6 1998/09/02 21:06:04 jim
# many changes for thread safety, bug fixes, and faster import # many changes for thread safety, bug fixes, and faster import
# #
......
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
# (540) 371-6909 # (540) 371-6909
# #
############################################################################## ##############################################################################
"$Id: DT_String.py,v 1.16 1998/09/02 21:16:45 jim Exp $" "$Id: DT_String.py,v 1.17 1998/09/08 15:05:32 jim Exp $"
from string import split, strip from string import split, strip
import regex, ts_regex import regex, ts_regex
from DT_Util import ParseError, InstanceDict, TemplateDict, render_blocks from DT_Util import ParseError, InstanceDict, TemplateDict, render_blocks, str
from DT_Var import Var, Call, Comment from DT_Var import Var, Call, Comment
......
...@@ -164,10 +164,10 @@ Evaluating expressions without rendering results ...@@ -164,10 +164,10 @@ Evaluating expressions without rendering results
''' # ' ''' # '
__rcs_id__='$Id: DT_Var.py,v 1.17 1998/09/02 21:06:05 jim Exp $' __rcs_id__='$Id: DT_Var.py,v 1.18 1998/09/08 15:05:32 jim Exp $'
__version__='$Revision: 1.17 $'[11:-2] __version__='$Revision: 1.18 $'[11:-2]
from DT_Util import parse_params, name_param, html_quote from DT_Util import parse_params, name_param, html_quote, str
import regex, string, sys, regex import regex, string, sys, regex
from string import find, split, join from string import find, split, join
...@@ -390,6 +390,9 @@ class Comment: ...@@ -390,6 +390,9 @@ class Comment:
############################################################################ ############################################################################
# $Log: DT_Var.py,v $ # $Log: DT_Var.py,v $
# Revision 1.18 1998/09/08 15:05:32 jim
# added str to DT_Util import to address pickling lamosities
#
# Revision 1.17 1998/09/02 21:06:05 jim # Revision 1.17 1998/09/02 21:06:05 jim
# many changes for thread safety, bug fixes, and faster import # many changes for thread safety, bug fixes, and faster import
# #
......
...@@ -75,10 +75,10 @@ ...@@ -75,10 +75,10 @@
''' '''
__rcs_id__='$Id: DT_With.py,v 1.3 1998/09/02 21:06:06 jim Exp $' __rcs_id__='$Id: DT_With.py,v 1.4 1998/09/08 15:05:32 jim Exp $'
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
from DT_Util import parse_params, name_param, InstanceDict, render_blocks from DT_Util import parse_params, name_param, InstanceDict, render_blocks, str
class With: class With:
blockContinuations=() blockContinuations=()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment