Jython Old Fork
Unsupported (friendly) fork of Jython 2.2 code, to modernize it so it runs under Windows 7 and includes a few 2.3/2.4 standard modules to aid in backporting scripts to run under 2.2.
This is a quick wiki for some old ports/forks of Jython.
Main things are:
- Patched jython 2.2.1 for Java 1.4 - support more modern Windows operating systems and Python code; Windows 7, 8 and 10 support, adds libraries to make running code easier (e.g. logging, shlex.split(), optparse/optik, and Decimal) - see patch_jython221.py for how to build a new jar file
- Patched jython 2.5.1 for Java 5 - remove PyDoc, pydoc as included with 2.5.1 does NOT work, causing failures with things like CherryPy if it finds a pydoc implementation (it works fine if its missing, it expects it to work if it is present). This was built by hand by removing pydoc.
Get pre-built jar files from https://bitbucket.org/clach04/jython/downloads/
NOTE code in this repo is not synced (regularly/at-all) with upstream. Upstream could be:
Welcome to your wiki! This is the default page we've installed for your convenience. Go ahead and edit it.
The wiki itself is actually a mercurial repository, which means you can clone it, edit it locally/offline, add images or any other file type, and push it back to us. It will be live immediately.
Go ahead and try:
$ hg clone https://email@example.com/clach04/jython/wiki
Wiki pages are normal files, with the .md extension. You can edit them locally, as well as creating new ones.
You can also highlight snippets of text (we use the excellent Pygments library).
Here's an example of some Python code:
def wiki_rocks(text): formatter = lambda t: "funky"+t return formatter(text)
You can check out the source of this page to see how that's done, and make sure to bookmark the vast library of Pygment lexers, we accept the 'short name' or the 'mimetype' of anything in there.