1. clach04 NA
  2. jython
  3. Branches

Branches

2.5

View source
  • Contributors
    1. Loading...
Author Commit Message Date Builds
8 commits behind 2.2.
Darjus Loktevic
#1854 set().pop() race condition
Alex Grönholm
Fixed #1730 -- allowing arbitrary attributes in functools.partial, its subclasses and subclasses of zipimport.zipimporter to match CPython behavior
Frank Wierzbicki
backport fix for unicode rpartition (forgot to do it here first).
Jeff Allen
Fix #1873 (slice deletion error with -ve step) and add tests that would have detected it. The new tests in Lib/test/test_list_jy.py should perhaps be moved eventually to CPython's list_tests.py as they are not specific to Jython.
Frank Wierzbicki
Special case isintance and issubclass so stringmap compares as a dict.
Alan Kennedy
Fixing socket constant to name mapping for error reporting
Alan Kennedy
NEWS update
Alan Kennedy
#1537: Fix for classloading issues with MATLAB/OpenJDK
Alan Kennedy
#1805: Giving threading.Threads unique names
Frank Wierzbicki
#1840 fix nan<0 is True but should be False.
Frank Wierzbicki
Don't allow antlr error output for lexing errors either.
Frank Wierzbicki
Restore antlr error count for analysis, thanks Roman (smokxx)!
Frank Wierzbicki
#1837 Backport gderived.py fix for Windows to 2.5. Thanks Jeff Allen!
Alan Kennedy
Updating NEWS file
Alan Kennedy
Disabling the jline bell
Alan Kennedy
Adding a documentation link to SSL exception messages
Alan Kennedy
Updating NEWS file about issue 1640
Alan Kennedy
Fix for http://bugs.jython.org/issue1640 (cStringIO does not complain on getvalue after close)
Frank Wierzbicki
#1749 fixed: function descriptor doesn't work in interactive console.
Frank Wierzbicki
Oops forgot to update the NEWS file.
Frank Wierzbicki
#1721 NPE when using JSR 223 (TestCase+Patch) fixed. Thanks kaneiderdaniel!
Frank Wierzbicki
#1536 fix NPE in org.python.jsr223.PyScriptEngine.
Frank Wierzbicki
Regression test for issue http://bugs.jython.org/issue1536.
Frank Wierzbicki
Pull in CPython 2.5 lib directly.
Frank Wierzbicki
Merge 2.2.
Alan Kennedy
Fix for http://bugs.jython.org/issue1829 (test_socket.py failing on Ubuntu (Oneiric))
Alan Kennedy
Updating NEWS about a bug fix
Alan Kennedy
Fix for http://bugs.jython.org/issue1844 (bad host returned by getsockname)
Alan Kennedy
Removing a test that is no longer relevant
Frank Wierzbicki
Added tag v2.5.3b1 for changeset c5567b7757e7
Frank Wierzbicki
Update for 2.5.3b1.
Philip Jenvey
fix bean properties munging tuples when a PyObject was requested fixes #1833
Frank Wierzbicki
Remove commented code, tabs->spaces.
Frank Wierzbicki
Expose task should depend on compile task.
Frank Wierzbicki
Use finally for resource closings.
Frank Wierzbicki
#1786: Properly close file handles in sys-package-mgr. Thanks Jeff Allen!
Philip Jenvey
#1828: fix repr and bool on long subclasses thanks Pekka Klarck
Philip Jenvey
clarify comment
Philip Jenvey
#1825: fix EnvironmentError.filename being str when the orig path was unicode in open and some os module functions cleanup PosixModule, RelativeFile was confusing here
Philip Jenvey
fix os.link silently failing
Philip Jenvey
fix integration of Java objects w/ a toString method returning null fixes #1819 thanks agronholm
Oti Humbel
enable tests to be run from Jenkins on Fedora by changing port numbers
Alan Kennedy
Multiple updates for socket.getaddrinfo and socket.getnameinfo. Fixes http://bugs.jython.org/issue1706
Alan Kennedy
Adding Google ipaddr.py, from revision 234.
Alan Kennedy
Introducing socket.create_connection. This is required for 2.6, but is also a useful convenience method for 2.5 users. Fixes http://bugs.jython.org/issue1788
Alan Kennedy
Updating NEWS file with a bug fix notice.
Alan Kennedy
Fixing the getaddrinfo API to be closer to the C API. Fixes http://bugs.jython.org/issue1809
Alan Kennedy
Fix for xml attribute namespaces issue http://bugs.jython.org/issue1768 (transplanted from 936bd1b132eb9c591cf915b060c6567ae8e16914)
Alan Kennedy
Fix for some minor socket issues relating to attributes. http://bugs.jython.org/issue1803 http://bugs.jython.org/issue1804 (transplanted from be3145efdbb1236f94d6227187312cf00e43b963)
Philip Jenvey
changelog for the last commit
Philip Jenvey
cleanup import fromlist handling fixes #1811 thanks Mike Bayer
Frank Wierzbicki
Add .hgignore to 2.5.
Frank Wierzbicki
Fix http://bugs.jython.org/issue1764: Broken behavior with (a + b).foo = bar. Make left hand side argument recursively correct Store->Load in the case where there are child elements and a Call, Subscript, etc.
Philip Jenvey
fix os.utimes/symlink failing to raise OSErrors fixes #1755
Philip Jenvey
bump to 2.5.2+
Philip Jenvey
update maven scm info per hg
Philip Jenvey
remove svn version support, hardcode sys.subversion
Philip Jenvey
auto-toggle hg/svn version support (transplanted from a828011c71d594f41e46ff425f2a31185ff3acbb)
Philip Jenvey
hg version support (transplanted from 5ea8da7349edef793af8a3714517263735f5cf01)
Philip Jenvey
remove/hardcode more svn keywords I forgot before
Philip Jenvey
merge with 2.2
Philip Jenvey
hardcode the rest of the svn keywords
Philip Jenvey
Merged revisions 7289 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r7289 | pjenvey | 2011-04-30 16:27:49 -0700 (Sat, 30 Apr 2011) | 2 lines remove svn keywords in comments ........
Philip Jenvey
Merged revisions 7287 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r7287 | pjenvey | 2011-04-22 17:17:56 -0700 (Fri, 22 Apr 2011) | 3 lines fix os.read returning unicode instead of str fixes #1735 ........
Philip Jenvey
Merged revisions 7285 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r7285 | pjenvey | 2011-04-02 17:55:23 -0700 (Sat, 02 Apr 2011) | 3 lines fix os.stat(*(path,)) (when called with varargs, #1727) fix from agronholm ........
Frank Wierzbicki
Merge with trunk.
Frank Wierzbicki
Merge from trunk.
Frank Wierzbicki
Merge relevant grammar fixes from trunk.
Philip Jenvey
Merged revisions 7210 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r7210 | pjenvey | 2011-03-11 16:23:50 -0500 (Fri, 11 Mar 2011) | 2 lines skip these on our older FreeBSD 6.2 buildbot as it has spotty IPV6 support ........
Philip Jenvey
create a 2.5 maintenance branch
Oti Humbel
more news updates for 2.5.2 final (thanks to pjenvey)
Philip Jenvey
more news updates for 2.5.2 final
Oti Humbel
tagging 2.5.2 final
Oti Humbel
prepare for 2.5.2 final
Alan Kennedy
Some simple docstring and line-endings changes
Oti Humbel
tagging 2.5.2rc4
Oti Humbel
prepare for 2.5.2rc4
Alan Kennedy
Checking in support for Internationalized Domain Names (RFC 3490), plus unit-tests for same. This new support only works on Java 6. The new feature and workarounds for Java 5 are documented on the jython wiki. http://wiki.python.org/jython/NewSocketModule Partially fixes http://bugs.jython.org/issue1153
Philip Jenvey
ensure files are closed on close() even after PySystemState.cleanup has been called. this is an evil situation to be calling python code in, but it doesn't hurt us to close the file anyway and this partly fixes #1701
Alan Kennedy
Adding repr methods to the internal address tuple types, so that they are more user friendly. Finalizes http://bugs.jython.org/issue1697
Philip Jenvey
cleanup generics around PySystemStateCloser, PySystemState.unregisterCloser doesn't need synchronization
Philip Jenvey
remove the unused startCleanupThread
Alan Kennedy
Checking in more support for IPV6, including support for 4-tuples including scope, etc.
Oti Humbel
prevent internal variables from being reused in subrocess calls fixes issue #1700 thanks agronholm for the analysis
Alan Kennedy
1. Re-enabling the use of IPV6/AF_INET6 addresses 2. Adding workarounds for systems that have problems with IPV6 on java 3. Test for #2
Oti Humbel
fix bug #1697 by excluding IPv6 addresses from socket.getaddrinfo(); this is a temporary fix, since we should support IPv6 in the future
Oti Humbel
fix bug #1697 by excluding IPv6 addresses from socket.getaddrinfo(); this is a temporary fix, since we should support IPv6 in the future
Philip Jenvey
add more missing dict-like methods to the jsr223 scope. fixes the warning module under jsr223 fixes #1698
Philip Jenvey
docs typo
Philip Jenvey
o fix threading.local subclassing problems with __init__ arguments o fastGetDict doesn't need to synchronize around a ThreadLocal initialization fixes #1667 thanks Kelly Campbell
Oti Humbel
tagging 2.5.2rc3
Oti Humbel
prepare for 2.5.2rc3
Philip Jenvey
special case handling of unicode sys.path items, basically pass them through fixes #1693 test case from Oti
Philip Jenvey
fix strptime('','') fixes #1668 patch from Israel Tsadok
Oti Humbel
add a package declaration to the PythonCallable test interface
Philip Jenvey
dos2unix
Philip Jenvey
fix exit code of 0 on unhandled exceptions in non-interactive mode fixes #1682
Philip Jenvey
don't force System.exit on a successful main thread exit, so we don't stop non-daemon threads
Philip Jenvey
forgot to commit this for r7175
Philip Jenvey
special case type objects in the jsr223 Scope assignment as we don't want their proxy objects fixes #1681
Philip Jenvey
allow -c/-w options without a space separator fixes #1680 thanks Zemian Deng
Frank Wierzbicki
Use https in case of firewall blockage.
Oti Humbel
prevent null pointer exception
Oti Humbel
add the latest contributors to both acknowledgements
Oti Humbel
allow PyStringMap to be bootstrapped without a warning; fixes issue #1671
Oti Humbel
let the engine scope behave more like locals and globals; fixes issue #1674
Oti Humbel
website preparation for 2.5.2rc2
Oti Humbel
fix the version in the welcome title
Oti Humbel
tagging Release_2_5_2rc2
Oti Humbel
prepare for 2.5.2rc2
Jim Baker
More fixes of readline to support ipython
Jim Baker
cPickle did not properly call import from Java, using null instead of Py.None for globals and locals. Thanks Anselm Kruis for the patch! Fixes #1648.
Jim Baker
Uses JLine support, when available, to turn off echoing in getpass.getpass. Fixes #1628.
Jim Baker
Fixed test for console interactivity. This allows ipython and similar readline using scripts to run without -i.
Oti Humbel
tagging Release_2_5_2rc1
Oti Humbel
prepare for 2.5.2rc1
Jim Baker
Updated NEWS re ipython/completer support
Jim Baker
Added support for readline.parse_and_bind('tab: complete') through reflection, to avoid user setup issues with alternative key binding files. This completes work on #1133. We should revisit by pushing the features implemented by reflection on JLine into JLine itself, however.
Jim Baker
Modified readline, specifically completion support and various hooks, so that it supports ipython 0.10.1 (with a minor patch on os.name in that codebase). Still requires user to provide an alternative properties file, that should be fixed before RC1. Fixes #1133.
Jim Baker
Fixed case where an uninitialized module (without __dict__ defined) would not work properly for PyModule#__findattr_ex__ (which was introduced for #1653). Restores Jython's behavior of propagating null for such attribute lookups in in its Java API.
Jim Baker
Re-enable mixing Java and Python code in the same directory without explicit import via __init__.py. This allows for both import semantics. Still needs appropriate automated testing. Fixes #1653. Thanks babelmania for the patch!
Jim Baker
Hardened completion sso it doesn't fail on missing symbols.
Jim Baker
Updated NEWS re #1642
Jim Baker
Added test for #1662 re strptime properly quoting ending literals.
Jim Baker
The underlying array used by PyArray allocates extra space when extended, in case there will be future extension, much like the support in list. (AbstractArray in fact used to be used by list.) However, PyArray.__tojava__ needed to shrink the array when unboxing as a regular Java array. Resolved by simply copying when size != capacity. Fixes 1543.
javajuneau
Committing changes to ScriptEngineTest.java for testing repairs of issue 1642
javajuneau
Committing changes to PyScriptEngine.java for repair of issue 1642
Oti Humbel
more reliable handling of JAVA_HOME, JYTHON_HOME and JYTHON_OPTS
Oti Humbel
properly quote COMSPEC on exit fixes issue #1661
Oti Humbel
handle standalone recognition in the JBoss 5 virtual file system fixes issue #1639 many thanks to Eric Lentz!
Oti Humbel
Upgraded Guava Google collections to 0.7.
Alan Kennedy
Correcting a small error; socket module has always supported ephemeral ports.
Jim Baker
Updated NEWS
Jim Baker
Added socket server test (navie multithreaded server, thread pool using client) to verify that the memory leak for #1662 remains fixed.
Jim Baker
Upgraded Guava Google collections to 0.7.
Jim Baker
Canonical map _jthread_to_pythread needs to have both weak keys AND weak values to avoid memory leaks. Fixes #1660, threading module memory leak
Oti Humbel
enable help() in standalone mode fixes issue #1452 thanks to David Handy for the patch!
Jim Baker
Handle boundary case where the last literal character in the strptime format specifier did not get an end quote. Fixes #1662.
Oti Humbel
handle the new JDBC 4.0 java.sql.Types as well (this hopefully really fixes issue 1647)
Alan Kennedy
Fix and tests for a jython-specific bug relating to deferred creation of sockets.
Alan Kennedy
Copying over SocketServer and test_socketserver.py from CPythonLib in order to make some jython-specific bug fixes.
Jim Baker
Attempting to remove a shutdown hook when the JVM is already shutting down should be quietly ignored.
Oti Humbel
try to get the console encoding from java.io.Console using reflection fixes issue #1568 (given that Jython runs on Java 6) thanks to Regis Desgroppes for the hints
Oti Humbel
handle more SQL types in zxJDBC DataHandler (fixes issue #1647) thanks to Stephen Layland for the first patch thanks to Patrick Reinhart for discovering the missing types
Oti Humbel
copy tag Release_2_5_2beta2
Jim Baker
Fixed typos in README.txt
Jim Baker
Updated NEWS and README.txt in prep of 2.5.2b2
Oti Humbel
prepare for 2.5.2b2
Jim Baker
Backed out support for nulling out ThreadState support. We need a better solution that doesn't introduce synchronization issues and a backwards breaking API change. See the discussion in #1327.
Jim Baker
Files that were not included in r7115
Oti Humbel
default svn.revision to HEAD this allows rebuilding releases without remembering the exact revision number
Jim Baker
More work on #1327. ThreadStateMapping has a bad implementation of double-checked locking. The aspect of how it interacts with thread locals makes it subtle, so I'm going to make the whole lookup synchronized. Going forward, we should reconsider the use of ThreadLocal to manage the ThreadState mapping. Synchronizing this loses any performance from using ThreadLocal, but we have to deal with the other issues seen here. Also, I think we should expose the registration process more, in the case of usage with thread pools.
Jim Baker
Updated NEWS on bugs that were in fact fixed
Jim Baker
Fixed PyJavaType#setSlice so it properly works with Python objects that are subclasses of Java classes implementing List. Resolves #1397. Thanks Geoffrey French for the patch!
Oti Humbel
remove redundant cast
Jim Baker
Fixed #1503, Java constructors should take keyword arguments. Thanks Geoffrey French!
Jim Baker
To address #1327 - removed use of Guava's FinalizableReferenceQueue and now does a passive cleanup of PySystemState-related data, so that classloaders will hopefully GC under a range of setups. Also de-registers the shutdown hook.
Oti Humbel
fix the java tests by initializing the interpreter in setUp()
Jim Baker
Doc cleanup
Jim Baker
Use Guava's FinalizableReferenceQueue and a new PySystemStateCloser class to manage the closing of those resources that prevent classloader GC (because they have hard refs to classes) after a PySystemState itself is GCed. This refactoring also moved the closing of user-unclosed files associated with a PyFile to the holding PySystemState, instead of having to wait for JVM shutdown. Now the JVM shutdown hook does this closing of resources through the PySystemStateCloser.
javajuneau
Updating swing demos
javajuneau
Updating javaclasses demos
javajuneau
Updating applet demos
javajuneau
Updating applet demos
Jim Baker
Now test that defaultdict's __missing__/default_factory is computed atomically.
Jim Baker
Missing file (test of pep328 support) from r7102
Jim Baker
Fixes incomplete implementation of relative imports for PEP328, which could cause a NPE. Thanks Anselm Kruis!
Jim Baker
Module#addConstants incorrectly set the accessbility of the 'self' constant in the generated module bytecode to be final, but it can in fact be modified outside of the class initializer. Verified the regrtest passes with -Xcomp (except for test_jy_internals, but this looks like standard issues of working with GC in tests). Bumped bytecode magic. Thanks Ian Rogers for your analysis!
Jim Baker
Minor changes to PyLong, PyFloat that were missed by NetBean's accessor refactoring support. Added tests of how our subclasses of our types can now be abused to have treatable as the original type, but mutable. Use such dangerous functionality with care! See #1645 for further discussion of this issue, including rationale. Implemented to help support efforts like processing.py. Thanks Jonathan Feinberg for this patch set.