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
Release files for weakrefable 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weakrefable-0.0.1.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weakrefable-0.0.1-cp35-cp35m-macosx_10_6_x86_64.whl | CPython 3.5 | CPython 3.5 pymalloc | macOS 10.6+ x86-64 | Details |
Total release size: 6.2 kB
Release files / weakrefable-0.0.1.tar.gz
| Download URL | weakrefable-0.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
080257ceff517b4b93fb22aba6e511f455ed560427a8e0f1fdffaa0514b67c01
|
|
BLAKE2b-256 checksum How to use checksums |
43289126e100cc05698e984ec07d68e43db9cebd46d3f0fc9e9b5e8114d1c7ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / weakrefable-0.0.1-cp35-cp35m-macosx_10_6_x86_64.whl
| Download URL | weakrefable-0.0.1-cp35-cp35m-macosx_10_6_x86_64.whl |
|---|---|
| Size | 4.3 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ x86-64 |
|
SHA-256 checksum How to use checksums |
acf6b9bfd500c7217b547038addf41ec4eaddae8ee9d2542e0cab8dd01a6bfe6
|
|
BLAKE2b-256 checksum How to use checksums |
5640b30c00581772f02c6923b87aa61678578db142823def6f664b173a681d1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |