Skip to content

Commit

Permalink
Improve change log.
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Michael Howitz committed May 17, 2018
1 parent 27d7e59 commit ee440c0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions docs/CHANGES.rst
Expand Up @@ -4,18 +4,19 @@ Changes
4.0b4 (unreleased)
------------------

- Allow the following magic methods to be defined on classes. They cannot be
called directly but by the built-in way to us them (e. g.
- Allow the following magic methods to be defined on classes.
(`#104 <https://github.com/zopefoundation/RestrictedPython/issues/104>`_)
They cannot be called directly but by the built-in way to use them (e. g.
class instantiation, or comparison):

+ \_\_init\_\_
+ \_\_contains\_\_
+ \_\_lt\_\_
+ \_\_le\_\_
+ \_\_eq\_\_
+ \_\_ne\_\_
+ \_\_gt\_\_
+ \_\_ge\_\_
+ ``__init__``
+ ``__contains__``
+ ``__lt__``
+ ``__le__``
+ ``__eq__``
+ ``__ne__``
+ ``__gt__``
+ ``__ge__``

- Imports like `from a import *` (so called star imports) are now forbidden as
they allow to import names starting with an underscore which could override
Expand Down

0 comments on commit ee440c0

Please sign in to comment.