reStructuredText package makes it impossible to override settings

Bug #143852 reported by strank on 2007-01-07
Affects Status Importance Assigned to Milestone
Zope 2

Bug Description

The reStructuredText package in Zope is overzealous to impose its settings dict on rendering docutils-restructuredtext.
Attached is a patch that honours all of the settings dict passed in by users.

Instead of copying the settings dict first, it uses it to update a new dict, after adding overridable settings and before adding settings based on the keyword parameters.

strank (strank) wrote :
Andreas Jung (ajung) wrote :

There is no patch

Changed in zope2:
status: New → Incomplete
strank (strank) wrote :

Yes there is. Launchpad, however, does not want you to find it... Click on 'View original description' and you will get the link:

Changed in zope2:
status: Incomplete → New
Simon Michael (simon) wrote :

+1 for applying this patch.

Tres Seaver (tseaver) wrote :

The patch needs a review to ensure that the re-ordering doesn't allow for unexpected
propagation of Zope-unsafe options, e.g.: file inclusion.

It should also include tests.

Changed in zope2:
importance: Medium → Low
status: New → Triaged
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see and If this bug is still relevant, please refile it at

Changed in zope2:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers