summaryrefslogtreecommitdiff
path: root/test/testlib/asserts.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-11 19:07:03 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-11 19:07:03 +0200
commit15b9129ec639112e94ea96b6a395ad9b149515d1 (patch)
treec1a3388f25447a4ffc2c9e11912b4352a2f8ffd9 /test/testlib/asserts.py
parent7a7eedde7f5d5082f7f207ef76acccd24a6113b1 (diff)
downloadgitpython-15b9129ec639112e94ea96b6a395ad9b149515d1.tar.gz
lazymixin system now supports per-attribute baking, it is up to the class whether it bakes more. This also leads to more efficient use of memory as values are only cached and set when required - the baking system does not require an own tracking variable anymore, and values are only to be cached once - then python will natively find the cache without involving any additional overhead. This works by using __getattr__ instead of __get_attribute__ which would always be called
Diffstat (limited to 'test/testlib/asserts.py')
0 files changed, 0 insertions, 0 deletions