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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page