--- 43,47 ----
!
***************
*** 65,82 ****
">
!
! ">
CHECKED>
!
! ">
!
!
!
!
--- 67,84 ----
">
!
! ">
CHECKED>
!
! ">
!
!
!
!
***************
*** 86,90 ****
|
!
|
--- 212,216 ----
|
!
|
***************
*** 225,230 ****
--- 227,236 ----
+
+
+
+
***************
*** 240,244 ****
|
!
|
--- 246,250 ----
|
!
|
Index: lib/python/Products/PythonScripts/zbytecodehacks/VSExec.py
===================================================================
RCS file: /home/cvs/development/external/Zope2/lib/python/Products/PythonScripts/zbytecodehacks/VSExec.py,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -c -2 -r1.1.1.1 -r1.3
*** lib/python/Products/PythonScripts/zbytecodehacks/VSExec.py 2001/02/08 13:08:33 1.1.1.1
--- lib/python/Products/PythonScripts/zbytecodehacks/VSExec.py 2001/02/13 12:23:49 1.3
***************
*** 231,236 ****
def _join_printed(printlist):
return join(printlist, '')
- _join_printed = bind(_join_printed, join=join, map=map, str=str)
general_special_globals['$print_handler'] = _print_handler
general_special_globals['$join_printed'] = _join_printed
--- 231,246 ----
def _join_printed(printlist):
return join(printlist, '')
+ try:
+ # Waaah - nasty DTML dependency
+ from DocumentTemplate.DT_Util import join_unicode
+ except ImportError:
+ # Use pre-unicode methods
+ _join_printed = bind(_join_printed, join=join)
+ _print_handler = bind(_print_handler, str=str)
+ else:
+ _join_printed = bind(_join_printed, join=join_unicode)
+ _print_handler = bind(_print_handler, str=ustr)
+
general_special_globals['$print_handler'] = _print_handler
general_special_globals['$join_printed'] = _join_printed
Index: lib/python/Products/ZCatalog/Catalog.py
===================================================================
RCS file: /home/cvs/development/external/Zope2/lib/python/Products/ZCatalog/Catalog.py,v
retrieving revision 1.1.1.4
retrieving revision 1.6
diff -c -2 -r1.1.1.4 -r1.6
*** lib/python/Products/ZCatalog/Catalog.py 2001/02/08 13:08:33 1.1.1.4
--- lib/python/Products/ZCatalog/Catalog.py 2001/02/08 17:25:13 1.6
***************
*** 386,389 ****
--- 386,391 ----
'bad index object %s.' % str(x)))
+ self.data = data
+
return total
Index: lib/python/ZPublisher/Converters.py
===================================================================
RCS file: /home/cvs/development/external/Zope2/lib/python/ZPublisher/Converters.py,v
retrieving revision 1.1.1.3
retrieving revision 1.6
diff -c -2 -r1.1.1.3 -r1.6
*** lib/python/ZPublisher/Converters.py 2001/02/08 13:08:34 1.1.1.3
--- lib/python/ZPublisher/Converters.py 2001/02/08 17:25:13 1.6
***************
*** 83,87 ****
#
##############################################################################
! __version__='$Revision: 1.1.1.3 $'[11:-2]
import regex
--- 83,87 ----
#
##############################################################################
! __version__='$Revision: 1.6 $'[11:-2]
import regex
***************
*** 181,184 ****
--- 181,222 ----
return v
+
+ class _unicode_converter:
+ def __call__(self,v):
+ # Convert a regular python string. This probably doesnt do what you want,
+ # whatever that might be. If you are getting exceptions below, you
+ # probably missed the encoding tag from a form field name. Use:
+ # |