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

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to