magical expanding hash

braver deliverable at gmail.com
Tue Jan 17 17:05:00 EST 2006


The point of this exercise is to compare how either ruby or python can
implement perl's default behavior when dealing with hashes.  Since
these are bread and butter of scripting, having a MEH class handy can
enable fast semantically equivalent translation.  This can be
beneficial for demonstrating feasibility of migrating to python.
Instead of debating philosophical justifications, I rather wonder
what's the most appropriate pythonic way to solve the problem as stated.




More information about the Python-list mailing list