Results 1 to 5 of 5

Thread: Spring Python now runs on Jython

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    382

    Default Spring Python now runs on Jython

    Yesterday, I merged a patch into the trunk that replaces amara with elementTree. With some other tweaks added on, I was able to run the test suite from jython. The only thing not runnable were the sqlite test cases.

    For more info, see my blog entry about how Spring Python works with Jython.
    Greg L. Turnquist (@gregturn), SpringSource/VMware
    Project Lead: Spring Python and author of Spring Python 1.1 and Python Testing Cookbook.
    Listen to Pond Jumpers, the international podcast for open source developers.
    These comments are my own personal opinions, and do not reflect those of my company.

  2. #2
    Join Date
    Feb 2011
    Posts
    1

  3. #3
    Join Date
    Aug 2006
    Posts
    382

    Default

    There is an impact to Spring Python's support of Jython. Spring Python 1.2 has officially upgraded itself to Python 2.6. Jython doesn't yet have a 2.6 release, so we don't officially support it. To integrate with Jython 2.5, you will have to use Spring Python 2.5.

    Some parts of Spring Python 1.2 may work with Jython, but there are no guarantees.
    Greg L. Turnquist (@gregturn), SpringSource/VMware
    Project Lead: Spring Python and author of Spring Python 1.1 and Python Testing Cookbook.
    Listen to Pond Jumpers, the international podcast for open source developers.
    These comments are my own personal opinions, and do not reflect those of my company.

  4. #4
    Join Date
    Jun 2011
    Posts
    7

    Default

    why would you even want to run jython anyways. python is already too slow porting it to JVM seems even slower - stick to python as the core.

  5. #5
    Join Date
    Aug 2006
    Posts
    382

    Default

    I don't know if you are referring to the startup time of Jython's REPL, but I like leaving the choice of CPython/Jython to the developer. Perhaps one day, we can try it on PyPy as well.
    Greg L. Turnquist (@gregturn), SpringSource/VMware
    Project Lead: Spring Python and author of Spring Python 1.1 and Python Testing Cookbook.
    Listen to Pond Jumpers, the international podcast for open source developers.
    These comments are my own personal opinions, and do not reflect those of my company.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •