[Python-ideas] matrix operations on dict :)

Steven D'Aprano steve at pearwood.info
Tue Feb 7 02:12:39 CET 2012


On Mon, Feb 06, 2012 at 09:01:29PM +0100, julien tayon wrote:
> Hello,
> 
> Proposing vector operations on dict, and acknowledging there was an
> homeomorphism from rooted n-ary trees to dict, was inducing the
> possibility of making matrix of dict / trees.

This seems interesting to me, but I don't see that they are important 
enough to be built-in to dicts.

At most, this could be a module in the standard library, but before that 
happens, you would have to prove the usefulness of the module. I suggest 
polishing it to a fit state to use in production, including tests, and 
putting it on PyPI. Once you can demonstrate some interest for it, then 
you can propose it gets added to the std lib.

Otherwise, this looks rather like a library of functions looking for a 
use. It might help if you demonstrate what concrete problems this helps 
you solve.

-- 
Steven



More information about the Python-ideas mailing list