diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2007-03-15 22:44:30 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2007-03-15 22:44:30 +0100 |
commit | 7ef2f339bf2b7439d33a51582038ac98867fdee7 (patch) | |
tree | b664fbdabaa78b18da0c28471ca9ab76504b7658 /todo | |
parent | c9f24f0d2755199345f448b9d4ebbaa436788d0d (diff) | |
download | pyexiv2-7ef2f339bf2b7439d33a51582038ac98867fdee7.tar.gz |
Added a __getitem__(key) method to class Image in order to allow the use of the dictionary metaphor to access metadata tags.
TODO: define the corresponding __setitem__(key, value) and __delitem__(key) methods for completeness.
Diffstat (limited to 'todo')
-rw-r--r-- | todo | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ todo list - Allow access to the tag values using the dictionary syntax (read values on the fly when needed, lazy instantiation) -> operator overloading with __getitem__() and __setitem__() +- Also allow the deletion of items in the same way - Cache already queried values (see dictionary on previous line) - Disable the get...() and set...() methods (by making them private) -> metadata is accessible only through the dictionnary metaphor - Rewrite the exiv2 command-line tool and the test binaries in Python and (Python) scripts to run the same tests that are run to test exiv2 |