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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file weakrefable-0.0.1.tar.gz
.
File metadata
- Download URL: weakrefable-0.0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 080257ceff517b4b93fb22aba6e511f455ed560427a8e0f1fdffaa0514b67c01 |
|
MD5 | 6d3cce4bbc10e2f6bccb1b214934594a |
|
BLAKE2b-256 | 43289126e100cc05698e984ec07d68e43db9cebd46d3f0fc9e9b5e8114d1c7ef |
File details
Details for the file weakrefable-0.0.1-cp35-cp35m-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: weakrefable-0.0.1-cp35-cp35m-macosx_10_6_x86_64.whl
- Upload date:
- Size: 4.3 kB
- Tags: CPython 3.5m, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acf6b9bfd500c7217b547038addf41ec4eaddae8ee9d2542e0cab8dd01a6bfe6 |
|
MD5 | 65c5626119f5c87c91f1b74b63d0c418 |
|
BLAKE2b-256 | 5640b30c00581772f02c6923b87aa61678578db142823def6f664b173a681d1f |