From: Randolph B. <rg...@pa...> - 2005-01-26 01:54:21
|
Samuele Pedroni wrote: >notice that in the new-style classes world, PyDictionary.values is not >going to be exposed directly through reflection anymore. So if breaking >old code relying on calling values from Java code can live with a name >change, this is not an issue. BTW, there are serious problems with python's dict vs. Map, but list/List is a lot easier. The only weirdness I can see is the "remove" method, which is overriden in Java to mean two entirely different things. (Very bad in Python; questionable style in Java). The python list remove corresponds to the Collections overload. Other than that, I think PyList could implement List. -r |