Skip to main content

resourcing related classes and functions

Project description

NestingOpenClosedMixin

This is a mixin class for objects with multiple open/close users. After the last .close, the object’s .shutdown method is called. This also presented the context manager interface to allow open/close thus:

with obj:
  do stuff while open

@notclosed

Decorator for object methods which must not be called after the object is closed.

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.resources-20160827.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

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