From: Finn B. <bc...@us...> - 2001-07-23 19:36:31
|
Update of /cvsroot/jython/jython In directory usw-pr-cvs1:/tmp/cvs-serv31736 Modified Files: README.txt Log Message: Updated with important 2.1 incompatibilities. Index: README.txt =================================================================== RCS file: /cvsroot/jython/jython/README.txt,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** README.txt 2001/01/17 16:56:46 1.10 --- README.txt 2001/07/23 19:36:27 1.11 *************** *** 1,36 **** ! Welcome to Jython 2.0 ======================= - - Jython is the successor to JPython. The Jython project was - created in accordance with the CNRI JPython 1.1.x license, in - order to ensure the continued existence and development of this - important piece of Python software. - - - If you are a JPython-1.1 user, you'll want to take a look at some - of the differences between JPython-1.1 and Jython 2.0. - - In particulary the few places where backward compatibility have - been broken. - - - The user configuration file is now called <user.home>/.jython ! - The jar file containing all the jython classes is now called ! jython.jar. ! ! - Text files will pass data read and written through the default ! codecs for the JVM. Binary files will write only the lower eight ! bits of each unicode character. ! ! - arrays passed to java code will no longer autocoerce just ! because the elements can be autocoerced. ! - The precedence of java loading have changed. Now the sys.path ! is searched for python modules before the CLASSPATH and sys.path ! is searched for java class and java packages. ! - The \x escape have changed, now it will eat two hex characters ! but never more. The behaviour matches CPython2.0 - - The python.path property is appended to sys.path instead of - being inserted at position 1 in sys.path. --- 1,13 ---- ! Welcome to Jython 2.1 ======================= ! Important: The format of both compiled ($py.class) and frozen module ! has changed from version 2.0. It is necesary to delete existing ! $py.class files and recompile frozen applications when upgrading ! to Jython-2.1. ! Other backward incompatible changes include: ! - The case of module names are now important, even on case ignoring ! filesystems like windows. This matches CPython behaviour. |