Plaintools

Latest version: v1.3.241103.1

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

Scan your dependencies

Page 2 of 3

1.2.241017

DEPRECATED

1.2.241017.0

- Introduced new `__enter()__` and `__exit()__` methods for the `pt.Container` class, allowing it to be entered as a context. Doing so will include every `k: v` pair in the Container as a `variable = value` in the context's namespace.
python
var1 = 10
CT = pt.Container(var1=20, var2=40)

with CT:
var1 *= 2 CT[var1] = 40
print(var1, var2) 40 40

exiting the context restores the previous namespace, including non-keys!
print(var1) 10
print(CT) {'var1': 40, 'var2': 40} ks: vs were modified after exiting the context

1.2.241011

DEPRECATED

1.2.241011.0

- Fixed `prange()`, `psequence()` and `pinterval()` to properly use the `pnumber()` constructors.

1.2.241009.3

- Quickfix to `SEVAL` namespace access including the Package's.

1.2.241009.2

- Quickfix to `Container` self references (cls).

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.