From: <fwi...@us...> - 2009-03-07 15:57:53
|
Revision: 6081 http://jython.svn.sourceforge.net/jython/?rev=6081&view=rev Author: fwierzbicki Date: 2009-03-07 15:57:43 +0000 (Sat, 07 Mar 2009) Log Message: ----------- Changing version numbers, README, plus some bugfix reports in NEWS (from some archeology on http://bugs.jython.org) Modified Paths: -------------- trunk/jython/NEWS trunk/jython/README.txt trunk/jython/build.xml Modified: trunk/jython/NEWS =================================================================== --- trunk/jython/NEWS 2009-03-07 15:35:39 UTC (rev 6080) +++ trunk/jython/NEWS 2009-03-07 15:57:43 UTC (rev 6081) @@ -3,6 +3,291 @@ Jython 2.5 Bugs fixed (new numbering due to move to Roundup) - [ 1111 ] keyword arguments not supported on __import__ + - [ 1567212 ] Jython $py.class bytecode doesn't include the .py's mtime + - [ 1024 ] Jython $py.class bytecode doesn't include the .py's mtime + - [ 852818 ] Wrong error message when the second+ parameter to Java wrong + - [ 1222877 ] duplicate keyword arguments + - [ 1168 ] ast module not working + - [ 1192 ] deserialization of Jython classes extending Java classes fails when called from Java + - [ 1243 ] Running scripts from standalone jar with __run__.py broken + - [ 1237 ] Asnycore does not seem to work in Jython 2.5 (b0 or b1) + - [ 1257 ] Pickling (protocol 2) doesn't use overriden itervalues() on dict-derived classes + - [ 1245 ] modjy passes HTTP headers as unicode objects to the WSGI app + - [ 1258 ] select() semantics differ from CPython, causing pydoc HTTPd to fail + - [ 1043 ] Special broadcast host address <broadcast> is not supported. + - [ 1121 ] listening socket shutdown expects the wrong kind of socket + - [ 1244 ] Problem letting system choose the port for binding UDP socket + - [ 1241 ] Assignment to static variable shadows value + - [ 1234 ] Java classes' MRO resolution can throw an NPE + - [ 1231 ] 2.5b1 breaks XML DocumentBuilderFactory (in particular, Weblogic 10.3) + - [ 1230 ] importing with '*' from java packages does not work with 2.5b1 + - [ 1242 ] Tuples allow member assignment + - [ 1239 ] Package scanning seems to depend on import order in jython-2.5b1 + - [ 1235 ] java.awt.Frame - problem w/ attibutes + - [ 1240 ] Can't import _jython, but it's listed in the built-in modules + - [ 1217 ] decompressing a malformed stream with zlib results in a java.util.zip.DataFormatException instead of a zlib.error + - [ 1227 ] The cStringIO.StringIO.write implementation does not handle write/seek/write's correctly. + - [ 1232 ] Inherited java bean properties not recognized correctly + - [ 1229 ] os.utime fails in Jython2.5b1 + - [ 1228 ] Add version for 2.5b1 to Issue (Bug) tracker + - [ 1051 ] socket does not define AF_UNSPEC and AI_PASSIVE constants + - [ 1218 ] Socket timeouts on connect not honoured when timeout set through socket.setdefaulttimeout() + - [ 1747126 ] CLASSPATH not searched correctly for python source modules + - [ 1008 ] Jython broken on Java Web Start 1.6 + - [ 1181 ] Patch against trunk to make applets work again + - [ 1122 ] os.kill is not implemented + - [ 1154 ] socket.settimeout not working for recv + - [ 1171 ] Creating a PyFile from an InputStream is broken. + - [ 1211 ] Telnetlib.expect crashes when a timeout parameter is given. + - [ 1182 ] Patch to Lib/socket.py to fix broken SSL + - [ 1083 ] jython2.5a1 installer does not create "cachedir" directory + - [ 1063 ] RuntimeError expected when stack overflows + - [ 1205 ] list comprehension difference to python + - [ 1166 ] TypeError: utimes(): 3rd arg can't be coerced to long + - [ 1025 ] imp.find_module can't find builtin modules + - [ 1758318 ] StackOverflow if __nonzero__ returns self + - [ 1815110 ] eval and excec should accept mapping type for locals + - [ 600790 ] Overriding automatically defined methods + - [ 1201 ] Lack of Python line numbers in Java tracebacks + - [ 1658599 ] headless installation not detected + - [ 1161 ] imp.find_module can't find many modules (was: pylint & logilab ASTNG library) + - [ 1199 ] zipimporter should be smarter about what files it tries to access + - [ 1180 ] virtualenv broken on installed Jython + - [ 1196 ] failure of dir() on instances of a class with __getattribute__ + - [ 1194 ] with_statement: context __exit__ not called for return + - [ 1187 ] JYTHON_OPTS broken in jython.bat + - [ 1758319 ] bool should not be subclassable + - [ 1011 ] ant task to create launcher script + - [ 1137 ] ArrayType missing in Jython 2.5a3 + - [ 1058 ] Carlo Verre's object.__setattr__ hack allows modification of built in types + - [ 1222918 ] -C NONE causes exception + - [ 1604258 ] copy.copy doesn't work on subclasses of newstyle classes + - [ 1798554 ] zlib.__doc__ is not showing any output + - [ 1798556 ] patch for :[ 1798554 ] zlib.__doc__ is not showing any outpu + - [ 1003 ] struct packing inconsistent with CPython + - [ 1052 ] __int__ returning PyLong = ClassCastException mayhem + - [ 1167 ] random.py in standard library is broken in 2.5beta0 + - [ 1138 ] __file__ reflects original source location, not the pathname of the $py.class file + - [ 1174 ] NPE on PythonInterpreter.eval() + - [ 1173 ] undefined sys.prefix breaks initialization + - [ 1177 ] utf-8 codec isn't? + - [ 1835099 ] Bug in list.sort() + - [ 1141 ] Incorrect __import__ calls + - [ 1780767 ] Fix for [ 1768075 ] %c formats values outside of the + - [ 1115 ] __lt__ in a derived list produces a StackOverflowError + - [ 1062 ] Doctest does not work against unicode strings + - [ 1783868 ] __ge__ or __gt__ of subclass of str --> StackOverflowError + - [ 1125 ] not valid JAVA_HOME path + - [ 1777567 ] Type of reflected methods is different for Java and Python + - [ 513713 ] PyTableCode != PyCode + - [ 526672 ] inspect not supported + - [ 1754240 ] Error Message when attempting to bind to an in use Port + - [ 1159 ] custum number and float: unsupported operand type(s) for * + - [ 1158 ] compile() fails to recognize initial AST arg + - [ 1155 ] inet_ntoa missing from socket + - [ 1150 ] Nested generator expressions do not compile + - [ 1113 ] Syntax + Compiler Error + - [ 1157 ] Support pylint + - [ 1156 ] rfc822.py incompatible with PyFile(java.io.InputStream istream) + - [ 1128 ] java.lang.String should be mapped to PyUnicode, not PyString + - [ 1111 ] keyword arguments not supported on __import__ + - [ 1114 ] Compiler Error - null pointer + - [ 1134 ] Built-in functions should be of type types.BuiltinFunction + - [ 1075 ] os.rmdir deletes file + - [ 1136 ] Parsing a module fails if it ends with whitespace but no newline + - [ 1131 ] repr not 100% CPython compliant + - [ 1626844 ] fixes for failing binascii unit tests (2.3 branch) + - [ 1838658 ] 'platform' module is not available + - [ 1663711 ] 32767 characters is max string constant size + - [ 1847091 ] del statement doesn't work on builtin modules + - [ 1768969 ] filter doesn't return passed in subclass type + - [ 1047 ] xml.dom.pulldom doesn't work + - [ 1835109 ] Patch for [ 1835098 ] No decimal module available in jython + - [ 1768970 ] pyget used instead of __getitem__ in __iter__, filter + - [ 1768968 ] unicode bom isn't recognized to indicate unicode for parsing + - [ 1785475 ] patch for bug IDs 1768970, 1782565 & 1783868 + - [ 1738411 ] Unable to change function sys.settrace + - [ 1761111 ] Patch for PEP 292 Simpler String Substitutions + - [ 1835119 ] 'platform' module is not available in jython + - [ 1840479 ] coding: utf-8 and PEP 0263? + - [ 1835098 ] No decimal module available in jython + - [ 1717492 ] os.path.ismount incompletely implemented + - [ 1067 ] class / function call behaviour (Jython vs. CPython) + - [ 1091 ] Interactive Interpreter parser doesn't handle docstrings + - [ 1022 ] Class definitions aren't provided a __module__ variable + - [ 1120 ] invalid socket shutdown gives AssertionError, should be "transport endpoint not connected" socket.error + - [ 1119 ] socket module has no attribute SO_ERROR + - [ 1081 ] Jython 2.5a1 standalone installer hangs + - [ 1123 ] Weird "unexpected at this time" error. + - [ 1070 ] Standalone crashes with ZipException + - [ 1077 ] Standalone installation fails + - [ 1094 ] mismatched input class parsing error on "class" attributes of a java object + - [ 1015 ] unicode string combination with % behaves unexpectedly + - [ 1758279 ] Java classes exposed as Python classes but have no __module__ + - [ 1116 ] parser NPE on dotted (more than 1) attribute decorators + - [ 1758325 ] str's formatter doesn't raise TypeError if given wrong type + - [ 1095 ] AttributeError raised from __getattr__ method are swallowed + - [ 1106 ] os.getpid() call missing + - [ 1104 ] subprocess.Popen doesn't inherits os.environ to the spawned processes + - [ 1041 ] AttributeError raised from descriptors __get__ method are swallowed + - [ 1869347 ] TypeError while used derived class of long for comparison + - [ 1072 ] Parsing error in file with white space at the end + - [ 1045 ] PyBoolean.__tojava__(Object.class) should return a Boolean + - [ 1044 ] Patch to support for BigIntegers and PyLong on the PostgresqlDataHandler + - [ 1054 ] Patch: Fastpath for cursor.executemany() + - [ 1053 ] Better string interpolation with unicode args + - [ 1804011 ] classes extending dict can't be compared to dict + - [ 1889394 ] UnicodeDerived's == is broken + - [ 1060 ] deriveds don't support coerce + - [ 1650802 ] _csv module + - [ 1092 ] Parser problems on Django tree + - [ 1050 ] Don't display banner/prompts when stdin is not a tty + - [ 1069 ] setuptools: 'NoneType' object has no attribute 'startswith' + - [ 1093 ] Installer 2.5a1 on MS Windows: Incorrect jar is referred to in bin/jython + - [ 1605009 ] str subclasses can be used in raise + - [ 1079 ] twisted.python.threadable module: missing attribute '_RLock' + - [ 1088 ] Existing .py$class files from Jy2.2 cause error for Jy2.5a + - [ 1086 ] Handling of """quoted strings""" for 2.5a differs from Jy2.2 and Py2.5 + - [ 1087 ] assert error message at end of Python script differs from Py2.5 + - [ 1082 ] asm parser can't handle PySourceColor module + - [ 1767742 ] array.array('xx') should throw TypeError, not ValueError + - [ 1076 ] 2.5a1 jython.bat doesn't work from Windows explorer + - [ 1059 ] Possible to construct long(None) + - [ 1873148 ] list.__iadd__ not switching to __radd__ on NotImplemented + - [ 1056 ] Bad mro() overrides not caught + - [ 1886758 ] from __future__ import division leaks out of namespace + - [ 1879935 ] cPython/Jython different os.path.isabs() behavior + - [ 1879984 ] cPython/Jython different os.path.realpath() behavior + - [ 1879989 ] cPython/Jython different os.path.abspath() behavior + - [ 1605006 ] __doc__ descriptor on new style class returned directly + - [ 1639663 ] Patch for [ 1605006 ] __doc__ descriptor on new style class + - [ 1803960 ] Attribute Error :- 'slice' object has no attribute 'indice + - [ 1802863 ] zipfile.is_zipfile never returns False + - [ 678557 ] cgi parsing of multipart/form-data broken + - [ 1840038 ] patch for PyUnicode (fixes [ 1782565 ]) + - [ 1754222 ] raising SystemExit in a thread causes jython to quit + - [ 811908 ] OutOfMemoryError causes exit without a call to a handler + - [ 654142 ] NPE when converting __dict__ to list + - [ 515497 ] method instance not unique key in dict + - [ 718377 ] PyObject.__findattr_ throws NPE + - [ 753790 ] struct module inconsistent with CPython + - [ 1009477 ] Python collections should implement java interfaces + - [ 1599050 ] fileinput os.fstat fix + - [ 1676293 ] metaclass __init__ dct reference + - [ 1038 ] Custom KeyErrors raised from __getitem__ are swallowed + - [ 1039 ] AttributeError message on type instances doesn't match the CPython message + - [ 1048 ] List Comprehension in finally throws NPE + - [ 1037 ] float(None) throws AttributeError instead of TypeError + - [ 1814929 ] Patch for [ 1814904 ] dict.update() doesnt accept arguments + - [ 1814904 ] dict.update() doent accept the same arguments as constructor + - [ 947306 ] 2.3a0 bug in weakref.WeakValueDictionary + - [ 1016 ] Support socket.TCP_NODELAY + - [ 1033 ] zlib.adler32 computes wrong values + - [ 1797751 ] patch for :[ 1796272 ] partition and rpartition methods are + - [ 1796272 ] partition and rpartition methods are missing in jython + - [ 1040 ] KeyError.__str__ doesn't use repr() + - [ 1036 ] make Jython set pass (almost) all CPython tests + - [ 1035 ] set incorrectly raises TypeError when asked for superset/subset on non-set iterables + - [ 1034 ] can't supply dict() for globals in FunctionType() + - [ 1782565 ] Mismatch in repr of obj of unicode and subclass of unicode + - [ 1510227 ] difference between repr() and __repr__() + - [ 1501932 ] hasattr invokes __getattr__ + - [ 1775263 ] patch for bug [1768979]:hasattr,getattr + - [ 1768979 ] hasattr, getattr allow unicode identifiers + - [ 1780153 ] Fix for [ 1768075 ] %c formats values outside of the + - [ 1768075 ] %c formats values outside of the size of a single char + - [ 1803425 ] new builtin funcion :- sorted() - a new builtin sorted() act + - [ 1758282 ] complex missing __coerce__ + - [ 1777684 ] int and long types are missing __coerce__ + - [ 1785415 ] patch for : [ 1777684 ] int and long types are missing __coe + - [ 1514533 ] PyComplex in branch 2.3 + - [ 1783088 ] patch for :[ 1758282 ] complex missing __coerce__ + - [ 1758284 ] Complex parses complex('1' * 500) as (Infinity+0j) + - [ 1779428 ] patch for : [ 1758284 ] Complex parses complex('1' * 500) as + - [ 1671213 ] pickle/cPickle of Sets bug + - [ 1019 ] Can't change new-style class __name__ + - [ 1013 ] jython crash with command: threading.local() + - [ 1009 ] Patch to add 'at' to the repr string. + - [ 1005 ] UDP Socket implicit create and unbound socket timeout + - [ 1755346 ] imp missing lock_help + - [ 1758322 ] List mutation during sort doesn't throw a ValueError + - [ 1006 ] __import__ fromlist doesn't get processed + - [ 1782548 ] UDP send blocks with reader thread present + - [ 1895736 ] cleanup os.environ + - [ 1717491 ] os.path.islink incompletely implemented + - [ 1718450 ] Patch for os.path.islink bug 1717491 + - [ 1718975 ] Patch for os.path.normcase bug 1648449 + - [ 1648449 ] os.path.normcase broken in Windows + - [ 1814527 ] patch for [1803425], [1758322], [1785366] and upgraded sort + - [ 1861985 ] extending java classes from python code fails + - [ 1871739 ] fix for Import Error statement to match CPython + - [ 1870039 ] Debugging facility not behaving correctly with threads + - [ 1757127 ] Jython hangs under PyDev debugger + - [ 1839038 ] operations returning bools still return 1/0s + - [ 1861973 ] importing modules from class broken + - [ 1861974 ] patch for [1861973]. problems loading $py.class files + - [ 1850722 ] socket.py - ClientCookie and ClientForm + - [ 1482645 ] More OS recognition + - [ 1509095 ] Can't open midi sequencer + - [ 1850207 ] socket._fileobject - AttributeError: 'module' object has no + - [ 1816103 ] org.python.core.PyDictionary should implement java.util.Map + - [ 1721204 ] there is no threading.local() + - [ 1841639 ] Filecmp module is not in jython + - [ 1842984 ] Py.tojava(PyObject, Class) incorrectly marked deprecated + - [ 1841445 ] NPE in PythonInterpreter.get(String name, Class javaclass) + - [ 481404 ] CR removed on reading text on unix + - [ 1159156 ] codec.open() does not work with different systemstates + - [ 1261231 ] JButton('\u0F00') not working + - [ 1674190 ] exec() destroys multibyte string + - [ 1599900 ] Incorrect usage of String.getBytes() + - [ 1611604 ] PyFile hand-edited code + - [ 1839871 ] dict shouldn't call __setitem__ to initialise + - [ 1816134 ] Issue with Key Comparison in Dicts + - [ 1818353 ] sliceLength of PySequence returns 0 when step is sys.maxint + - [ 1791931 ] slice should be a type + - [ 1812122 ] NullPointerException when rethrowing an exception + - [ 1814678 ] Lack of some public functions' names in __all__ (javaos.py) + - [ 1796415 ] javaos.py missing removedirs function + - [ 1796425 ] javaos.py missing renames function. + - [ 1838358 ] Improve Resolution in time.clock() + - [ 1818393 ] why using Deprecated method in PyString? + - [ 1783692 ] Implementation of tempfile with secure files + - [ 1755344 ] tempfile missing mkdtemp + - [ 1817908 ] Broken link for corner icon in html documentation + - [ 1831710 ] PyFileCloser throws NullPointerException on shutdown + - [ 1744567 ] Simultaneous read & write on socket FileWrapper causes hang + - [ 1806980 ] os.path.join ignores empty string + - [ 1812913 ] File read converts \r to \n + - [ 1781500 ] Metaclasses don't get passed a '__module__' in attrs + - [ 1801802 ] JavaImportHelper not thread safe + - [ 1800378 ] object.__unicode__ should it exist? + - [ 1768982 ] sys.exc_clear is missing + - [ 1735774 ] Redirecting stdout/err with os.popen fails if cmd is unicode + - [ 1763263 ] os.utime(path, None) doesn't work (incl. a patch) + - [ 1758904 ] I added doc strings for functions in os module (javaos.py). + - [ 1768074 ] str.replace doesn't handle an empty string to be replaced + - [ 1799328 ] Unicode string interpolation doesn't work + - [ 1773865 ] Patch for [1768990] pickle fails on subclasses + - [ 1768990 ] pickle fails on subclasses of builtin types + - [ 1782493 ] On cli $ ./jython --version missing java version number + - [ 1783153 ] Patch: compatibility with Java 1.3 for Jython 2.2 + - [ 1755361 ] file missing 'U' universal newline mode + - [ 1782856 ] Error in zxJDBC.Timestamp() + - [ 1767194 ] Wrong namespace in xmllib in 2.2rc3 (patch included) + - [ 1783803 ] patch for bug [1775893] :in keyword + - [ 1775893 ] in keyword does not use dict.has_key() + - [ 1783960 ] can not exclude parts from installation + - [ 1785638 ] ImportError from zip without source + - [ 1783554 ] CPython compatible zipimporter + - [ 1775078 ] Fix binary operations on str/unicode/lists/tuples + - [ 1781556 ] Support list.extend(iterator), and other sequence fixes + - [ 1784564 ] Add PyLong.asInt + - [ 1768984 ] sys.builtin_module_names is missing + - [ 1768988 ] isinstance, issubclass allow a StackOverflow + - [ 1291509 ] cPickling bug + - [ 1758315 ] org.python.modules.operator lacks is and is_not functions + - [ 1758312 ] date and time objects fail to pickle + - [ 1758317 ] bool objects fail to pickle Incompatible Changes - The python.prepath property has been removed; use python.path instead. @@ -10,10 +295,14 @@ Collection instead of a PyList - The -E codec command line option (use a different codec when reading from the console) has been changed to -C codec - + - import of Python modules does not imply the import of child modules, though + import of Java packages still does, see email thread with Guido van Rossum, + Samuele Pedroni, and Frank Wierzbicki: + http://www.mailinglistarchive.com/pyt...@py.../msg07683.html + New Features - PyDictionary now implements Map so it may be passed to any Java function expecting a Map. - + - modjy integrated into core Ported Modules - collections - filecmp Modified: trunk/jython/README.txt =================================================================== --- trunk/jython/README.txt 2009-03-07 15:35:39 UTC (rev 6080) +++ trunk/jython/README.txt 2009-03-07 15:57:43 UTC (rev 6081) @@ -1,8 +1,9 @@ -Welcome to Jython 2.5b1 +Welcome to Jython 2.5b2 ======================= -This is the second beta of the 2.5 version of Jython. It -contains most of the new features for the 2.5 release. +This is the third beta of the 2.5 version of Jython. It +contains all of the new features for the 2.5 release and represents a feature +freeze. The release was compiled on Mac OS X with JDK 5 and requires JDK 5 to run. Modified: trunk/jython/build.xml =================================================================== --- trunk/jython/build.xml 2009-03-07 15:35:39 UTC (rev 6080) +++ trunk/jython/build.xml 2009-03-07 15:57:43 UTC (rev 6081) @@ -188,13 +188,13 @@ <property name="PY_RELEASE_LEVEL_SNAPSHOT" value="170"/> <!-- 0xAA --> <!-- The current version info --> - <property name="jython.version" value="2.5b1+"/> - <property name="jython.version.noplus" value="2.5b1"/> + <property name="jython.version" value="2.5b2+"/> + <property name="jython.version.noplus" value="2.5b2"/> <property name="jython.major_version" value="2"/> <property name="jython.minor_version" value="5"/> <property name="jython.micro_version" value="0"/> <property name="jython.release_level" value="${PY_RELEASE_LEVEL_BETA}"/> - <property name="jython.release_serial" value="0"/> + <property name="jython.release_serial" value="2"/> <condition property="do.snapshot.build"> <isset property="snapshot.revision" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |