[Steve]
> What I did was create a place for Jython packages. I then manually
> unpacked the simplejson package in that directory and made a few code
> changes needed to get it compatible with 2.2/2.3 Python. It worked
> for me like that.
It just so happens that simplejson's author has agreed to contribute
it to the cpython standard library, meaning that we'll be using it in
jython eventually.
In order to prepare for it for inclusion in the standard library, he
has opened a Google Code project, and is inviting everyone to report
problems, bugs, etc.
http://code.google.com/p/simplejson/
So now is definitely the time to get jython-specific fixes in. If you
could report any changes that you made to make it work with jython,
perhaps with patches, then they will be included in simplejson, and it
will work with jython out-of-the-box (or more correctly, straight of
the cpython svn).
Regards,
Alan.
|