Access-modifiers

Latest version: v0.3.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.1

Fixed

- Make `disable()` available as `access_modifiers.disable()` instead of `access_modifiers.access_modifiers.disable()`. Fixes [14](https://github.com/fniessink/access-modifiers/issues/14).

0.3.0

Added

- Added `access_modifiers.disable()` to disable access checks, e.g. in production. This method should be called before any access modifier decorators are compiled, so somewhere at the start of your program. Closes [3](https://github.com/fniessink/access-modifiers/issues/3).

0.2.1

Fixed

- A public method calling a private method calling another private method would raise an AccessException. Fixes [10](https://github.com/fniessink/access-modifiers/issues/10).

0.2.0

Added

- Allow for static private methods. Closes [4](https://github.com/fniessink/access-modifiers/issues/4).

0.1.4

Fixed

- Make the access modifiers work when called from a dict comprehension, list comprehension, lambda, or other code block that gets its own frame. Fixes [5](https://github.com/fniessink/access-modifiers/issues/5).

0.1.3

Fixed

- Another small performance improvement by using `sys._getframe()` instead of the inspect module to get the caller's frame. Fixes [2](https://github.com/fniessink/access-modifiers/issues/2).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.