|
From: <bc...@wo...> - 2001-04-13 17:08:52
|
[Robert W. Bill]
>I'm not sure what implications there is in doing this - I've only had a
>second to look at it. However, here's a patch to PyDictionary.java that
>allows PyStringMap, as in:
>
>>>> d = {}
>>>> d.update(vars())
>
><disclaimer>
>This should be tested/studied before a case is made for this type of
>change.
That is always true, but generally PyDictionary and PyStringMap should
work together nicely. When they don't, it is a bug.
>This is only meant as 'just in case it is helpful' or 'maybe a
>start'.
></disclaimer>
>
>====================diff PyDictionary.java=============================
>
>--- jython/org/python/core/PyDictionary.java Sun Mar 4 12:08:59 2001
>+++ PyDictionary.java Thu Apr 12 21:11:22 2001
Patch applied. Thanks.
I try to avoid tabs in the java sources. All indents are done with four
spaces. Patches that follow that convention are easier for me to apply.
regards,
finn
|