2 Jun
2009
2 Jun
'09
7:06 p.m.
Tue, 02 Jun 2009 14:55:02 -0400, David Warde-Farley wrote:
It's occasionally annoyed me that NpzFiles can't be swapped in transparently for an in-memory dictionary since getting at the keys requires an attribute access. Below is a patch that implements some more of the dictionary interface for the NpzFile class. Any comments as to whether this is a good/bad idea, or about the specific implementation?
+0 I don't see any drawbacks, and the implementation looks good. -- Pauli Virtanen