Skip to main content

No project description provided

Project description

If you use the weakref module, you may be aware that some object do not support being weakly referenced to. For example, built-ins dict and list.

Trying to create a weak reference will raise a TypeError.

There does not seam to be any way from Python itself to check whether an object can be weakref’d, though the CPython C-layer make that pretty easy.

This just exposes this functionality at the python level

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

weakrefable-0.0.1.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

weakrefable-0.0.1-cp35-cp35m-macosx_10_6_x86_64.whl (4.3 kB view hashes)

Uploaded CPython 3.5m macOS 10.6+ x86-64

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