Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
Drop deprecated formatter module from globalmodules.zcml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jul 11, 2019
1 parent 2313b39 commit af38fdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ CHANGES

- Drop support for Python 3.4.

- Drop security declarations for the deprecated ``formatter`` standard library
module from globalmodules.zcml.

Note that globalmodules.zcml should be avoided. It's better to make
declarations for only what you actually need to use.


4.0.0 (2017-04-27)
------------------
Expand Down
5 changes: 0 additions & 5 deletions src/zope/app/security/globalmodules.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,6 @@

<!-- 12. Internet Data Handling -->

<module module="formatter">
<allow attributes="AS_IS AbstractFormatter AbstractWriter DumbWriter
NullFormatter NullWriter" />
</module>

<module module="email">
<allow attributes="message_from_file message_from_string" />
</module>
Expand Down

0 comments on commit af38fdf

Please sign in to comment.