skip to navigation
skip to content

weakreflist 0.2

A WeakList class for storing objects using weak references in a list.

Latest Version: 0.4


see tests:

# cd weakreflist
# nosetests --with-spec --spec-color ./

Weakref list
- if a weakref already stored it reuse it
- it can remove a value
- it is instance of list
- it knows if it contains an object
- it returns the index of a value
- it returns value and not a ref
- it store a weakref ref
- it support addition
- it support iteration
- when all object instance are deleted all ref in list are deleted

Ran 10 tests in 0.004s

File Type Py Version Uploaded on Size
weakreflist-0.2.tar.gz (md5) Source 2013-02-10 2KB