magical expanding hash

Fredrik Lundh fredrik at pythonware.com
Tue Jan 17 16:42:47 EST 2006


"braver" wrote

> Exactly, << as in C++/ruby streams.  But notice the extra checks needed
> to see whether we want a new leaf which is an array or a number, or we
> create an intermediate hash level.  Would the checks look the same in
> python?

we?

trust me, the number of people who think it's a good idea to write perl-
inspired ruby and run that code in a python interpreter is very limited.

and even if you succeed in persuading someone else to write the code
for you, don't you think your users will find out pretty quickly that python's
not ruby ?

</F>






More information about the Python-list mailing list