[Checkins] [zopefoundation/Zope] b70a61: Alternate approach to shipping with a standard doc...
GitHub
noreply at github.com
Tue Feb 26 16:42:49 UTC 2013
Branch: refs/heads/philikon-zope2.11-with-standard-docutils
Home: https://github.com/zopefoundation/Zope
Commit: b70a61d9779098f4c3841ff90d7d097fd3902af6
https://github.com/zopefoundation/Zope/commit/b70a61d9779098f4c3841ff90d7d097fd3902af6
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-06 (Wed, 06 Jun 2007)
Log Message:
-----------
Alternate approach to shipping with a standard docutils distribution and still preserving security
measurements that Zope installed.
Commit: 83c2a3d8ab2bf116e46f6e25b28f5504043bbcb2
https://github.com/zopefoundation/Zope/commit/83c2a3d8ab2bf116e46f6e25b28f5504043bbcb2
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-06 (Wed, 06 Jun 2007)
Changed paths:
M lib/python/DocumentTemplate/tests/testDTML.py
M lib/python/Products/ZReST/ZReST.py
M lib/python/Products/ZReST/tests/test_ZReST.py
M lib/python/reStructuredText/__init__.py
M lib/python/reStructuredText/tests/testReST.py
Log Message:
-----------
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.
Commit: 936a547dbafbadae0cd2396a61881fbe8e7cbed9
https://github.com/zopefoundation/Zope/commit/936a547dbafbadae0cd2396a61881fbe8e7cbed9
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-11 (Mon, 11 Jun 2007)
Changed paths:
M lib/python/reStructuredText/tests/testReST.py
Log Message:
-----------
Harden tests a bit and add a test that actually checks whether the monkey patch
that turns off docutils' file insertino feature off by default actually works.
Compare: https://github.com/zopefoundation/Zope/compare/b70a61d97790^...936a547dbafb
More information about the checkins
mailing list