magical expanding hash

Fredrik Lundh fredrik at pythonware.com
Tue Jan 17 23:21:35 CET 2006


"braver" wrote:

> 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.

if you want to write perl code, why migrate to some other language ?

> Instead of debating philosophical justifications, I rather wonder
> what's the most appropriate pythonic way to solve the problem
> as stated.

write python code.

</F>






More information about the Python-list mailing list