[Zope-Checkins] SVN: Zope/branches/2.9/ Fixed ZClass test breakage due to non-pickleability of 'zope.interface.Implements'

2007-06-06 Thread Tres Seaver
Log message for revision 76392:
  Fixed ZClass test breakage due to non-pickleability of 
'zope.interface.Implements' 
  
  N.B.: updated 'zope.interface' package to Zope 3.2 branch;
should be pinned to a tag or a release before releasing
2.9.8).
  

Changed:
  U   Zope/branches/2.9/doc/CHANGES.txt
  _U  Zope/branches/2.9/lib/python/zope/

-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===
--- Zope/branches/2.9/doc/CHANGES.txt   2007-06-06 09:32:42 UTC (rev 76391)
+++ Zope/branches/2.9/doc/CHANGES.txt   2007-06-06 09:41:58 UTC (rev 76392)
@@ -8,6 +8,13 @@
 
Bugs fixed
 
+  - Fixed ZClass test breakage due to non-pickleability of
+'zope.interface.Implements' 
+
+N.B.: updated 'zope.interface' package to Zope 3.2 branch;
+  should be pinned to a tag or a release before releasing
+  2.9.8).
+
   - Collector #2260: fixed a bug in Examples.zexp
 
   - Collector #2321: Skip trusted proxies when extracting the client IP


Property changes on: Zope/branches/2.9/lib/python/zope
___
Name: svn:externals
   - cachedescriptors  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/cachedescriptors
component 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/component
configuration 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/configuration
documenttemplate  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/documenttemplate
event svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/event
exceptions
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/exceptions
hookable  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/hookable
i18n  svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/i18n
i18nmessageid 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/i18nmessageid
interface 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/interface
modulealias   
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/modulealias
pagetemplate  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/pagetemplate
proxy svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/proxy
publisher 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/publisher
schemasvn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/schema
security  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/security
serversvn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/server
structuredtext
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/structuredtext
tal   svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/tal
tales svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/tales
threadsvn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/thread
deprecation   
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/deprecation
dottedname
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/dottedname
formlib   
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/formlib
index svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/index
testbrowser   
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/testbrowser
testing   
svn://svn.zope.org/repos/main/zope.testing/tags/3.0/src/zope/testing
contentprovider   
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/contentprovider
viewlet   
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/viewlet



   + cachedescriptors  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/cachedescriptors
component 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/component
configuration 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/configuration
documenttemplate  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/documenttemplate
event svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/event
exceptions
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/exceptions
hookable  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/hookable
i18n  svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/i18n
i18nmessageid 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/i18nmessageid
interface 
svn://svn.zope.org/repos/main/Zope3/branches/3.2/src/zope/interface
modulealias   
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/modulealias
pagetemplate  
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/pagetemplate
proxy svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/proxy
publisher 
svn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/publisher
schemasvn://svn.zope.org/repos/main/Zope3/tags/3.2.2/src/zope/schema
security

[Zope-Checkins] SVN: Zope/branches/philikon-zope2.11-with-standard-docutils/ Alternate approach to shipping with a standard docutils distribution and still preserving security

2007-06-06 Thread Philipp von Weitershausen
Log message for revision 76421:
  Alternate approach to shipping with a standard docutils distribution and 
still preserving security
  measurements that Zope installed.
  

Changed:
  A   Zope/branches/philikon-zope2.11-with-standard-docutils/

-=-
Copied: Zope/branches/philikon-zope2.11-with-standard-docutils (from rev 76420, 
Zope/trunk)

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/ Alternate approach to forbidding file inclusion in reStructuredText that's used from Zope:

2007-06-06 Thread Philipp von Weitershausen
Log message for revision 76433:
  Alternate approach to forbidding file inclusion in reStructuredText that's 
used from Zope:
* ship with a standard docutils package
* don't monkey patch docutils functions, rather change the default setting 
for
  file_inclusion_enabled in the docutils parser.
  
  This changes the behaviour, however. Instead of failing with a 
NotImplementedError, users
  will now see the rendered document with a warning message.  I think this is 
much more
  sensible, anyway.
  

Changed:
  _U  Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/
  U   
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/DocumentTemplate/tests/testDTML.py
  U   
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/Products/ZReST/ZReST.py
  U   
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/Products/ZReST/tests/test_ZReST.py
  U   
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/reStructuredText/__init__.py
  U   
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/reStructuredText/tests/testReST.py

-=-

Property changes on: 
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python
___
Name: svn:externals
   - ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1
BTrees -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/BTrees
persistent -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/persistent
ThreadedAsync  -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ThreadedAsync
transaction-r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/transaction
ZEO-r 68677 svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ZEO
ZODB   -r 68677 svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ZODB
ZopeUndo   -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ZopeUndo
zdaemon-r 40792 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon
pytz   -r 69031 
svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/pytz
zodbcode   -r 69031 
svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zodbcode
mechanize  -r 69031 
svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/mechanize
docutils   svn://svn.zope.org/repos/main/docutils/tags/0.4.0-zope
ClientForm svn://svn.zope.org/repos/main/Zope3/trunk/src/ClientForm
RestrictedPython   
svn://svn.zope.org/repos/main/RestrictedPython/tags/3.4.0/src/RestrictedPython

   + ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1
BTrees -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/BTrees
persistent -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/persistent
ThreadedAsync  -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ThreadedAsync
transaction-r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/transaction
ZEO-r 68677 svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ZEO
ZODB   -r 68677 svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ZODB
ZopeUndo   -r 68677 
svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/ZopeUndo
zdaemon-r 40792 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon
pytz   -r 69031 
svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/pytz
zodbcode   -r 69031 
svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zodbcode
mechanize  -r 69031 
svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/mechanize
docutils   svn://svn.zope.org/repos/main/docutils/tags/0.4.0
ClientForm svn://svn.zope.org/repos/main/Zope3/trunk/src/ClientForm
RestrictedPython   
svn://svn.zope.org/repos/main/RestrictedPython/tags/3.4.0/src/RestrictedPython


Modified: 
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/DocumentTemplate/tests/testDTML.py
===
--- 
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/DocumentTemplate/tests/testDTML.py
2007-06-06 15:48:08 UTC (rev 76432)
+++ 
Zope/branches/philikon-zope2.11-with-standard-docutils/lib/python/DocumentTemplate/tests/testDTML.py
2007-06-06 15:54:34 UTC (rev 76433)
@@ -16,7 +16,7 @@
 __rcs_id__='$Id$'
 __version__='$Revision: 1.15 $'[11:-2]
 
-import sys, os
+import sys, os, cgi
 import unittest
 
 if __name__=='__main__':
@@ -43,6 +43,14 @@
 
 def d(**kw): return kw
 
+docutils_include_warning = '''\
+p class=system-message-titleSystem Message: WARNING/2 (tt 
class=docutilslt;stringgt;/tt, line 1)/p
+pquot;includequot; directive disabled./p'''
+
+docutils_raw_warning = '''\
+p class=system-message-titleSystem Message: WARNING/2 (tt 
class=docutilslt;stringgt;/tt, line 1)/p
+pquot;rawquot; directive disabled./p'''
+
 class PukeError(Exception):
 Exception raised in test code.
 
@@ -340,38 +348,51 @@
 source = '.. include:: /etc/passwd'