Skip to main content

Gimmicks and hacks to make some of my other modules more robust and less demanding of others.

Project description

Gimmicks and hacks to make some of my other modules more robust and less demanding of others.

Latest release 20230212: Add gimmicks for cs.lex.r and cs.lex.s.

Function debug(*a, **kw)

Wrapper for debug() which does a deferred import.

Function error(*a, **kw)

Wrapper for error() which does a deferred import.

Function exception(*a, **kw)

Wrapper for exception() which does a deferred import.

Function info(*a, **kw)

Wrapper for info() which does a deferred import.

Function log(*a, **kw)

Wrapper for log() which does a deferred import.

Function trace(*a, **kw)

Wrapper for info() which does a deferred import.

Function warning(*a, **kw)

Wrapper for warning() which does a deferred import.

Release Log

Release 20230212: Add gimmicks for cs.lex.r and cs.lex.s.

Release 20230210: DEVNULL default open for "r+b" instead of "wb".

Release 20221228: Generalise the logging function map, add trace function, bugfix logging call lookup.

Release 20220429: Add DEVNULL symbol, needed before Python 3.3.

Release 20211208: Define TimeoutError.

Release 20210306: Add simple implementations of nullcontext and SimpleNamespace.

Release 20200418.1: Initial release with logging call stubs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cs.gimmicks-20230212.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cs.gimmicks-20230212-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file cs.gimmicks-20230212.tar.gz.

File metadata

  • Download URL: cs.gimmicks-20230212.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for cs.gimmicks-20230212.tar.gz
Algorithm Hash digest
SHA256 eec451a82bbc501f251bb0d9e211eef95e736f3b9912a20ab6c367d7a09b75ca
MD5 0fb4c0ae0424854e6a7fbb27f033efc2
BLAKE2b-256 a8d43eb93d477dca33e3c6fc9e412f14baadd5c8fe3331eb702c943ba5cf7822

See more details on using hashes here.

File details

Details for the file cs.gimmicks-20230212-py3-none-any.whl.

File metadata

  • Download URL: cs.gimmicks-20230212-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for cs.gimmicks-20230212-py3-none-any.whl
Algorithm Hash digest
SHA256 39b0ea679da3788f8b39ee233a107f65b0aee8f8529e6a10f6449d80fb7ee6c5
MD5 eb886ab0c45fcbf0b888f4f927c25d2e
BLAKE2b-256 adcd5baee20245a79baed50c6cb3cdc763ffb1ae8b4c8370e3961e6727d423d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page