Some basic functions and exceptions for various semantics shared by modules.
Latest release 20250103: Initial PyPI release: ClosedError and @not_closed.
Class ClosedError(builtins.Exception)
Exception for operations which are invalid when something is closed.
not_closed(*da, **dkw)
A decorator to wrap methods of objects with a .closed property
which should raise when self.closed.
This raised ClosedError if the object is closed.
Excample:
@not_closed
def doit(self):
... proceed know we were not closed ...
Release Log
Release 20250103: Initial PyPI release: ClosedError and @not_closed.
Metadata
Release files for cs-semantics 20250103
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cs_semantics-20250103.tar.gz | 2.5 kB | Without provenance | Details for cs_semantics-20250103.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cs_semantics-20250103-py3-none-any.whl | Python 3 | none | any | Details for cs_semantics-20250103-py3-none-any.whl |
Total release size: 5.0 kB
Release files / cs_semantics-20250103.tar.gz
| Download URL | cs_semantics-20250103.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67356bef68351881e3c587dc955f67178816c1fd5fe911e27a12e1c93c12fe32
|
|
BLAKE2b-256 checksum How to use checksums |
3e6bc13d329f89edd6a278cd22b4b6bf89c6ae42306e08469dcc08fb26a17573
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / cs_semantics-20250103-py3-none-any.whl
| Download URL | cs_semantics-20250103-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
355e3b22a118a51a0b0ef2e87e02b61492004b42779fbd0a295cbcb193d3b369
|
|
BLAKE2b-256 checksum How to use checksums |
4901d34b0fdc8bcec1ccdb2828cd4f72d44126f141cc2d30f6fa7d86f12e8e25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Security for cs-semantics 20250103
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.