Commits

Show all
Author Commit Message Labels Comments Date
Frank Wierzbicki
Switch (back) to copying full CPython Lib until we get to a shared Lib.
Branches
2.2
Alan Kennedy
Backporting changes from trunk. 1. Socket options are now level specific 2. Explicit backlog parameter on listen 3. Setting has_ipv6 to False
Branches
2.2
Alan Kennedy
Undoing a change that got checked in here http://fisheye3.atlassian.com/changelog/jython/?cs=4791 Which came originally from here http://svn.python.org/view/python/trunk/Lib/socket.py?view=diff&r1=61007&r2=61008 But was wrong; changing min() to max() solves this problem. The cpython change was ostensibly made to correct a memory allocation problem, but was wrong, and was undone here http://svn.python.org/view?view=rev&revision=62627 …
Branches
2.2
Frank Wierzbicki
arbitrarily locked CPythonLib version to r70085. Did not do this for the experimental branches pbvcm or advanced.
Branches
2.2
Alan Kennedy
Back-porting changes relating to UDP broadcast. Also back-porting some variable scoping changes to the test_socket module.
Branches
2.2
Alan Kennedy
Re-arranging the socket shutdown methods. TCP client sockets can shutdown their input streams, but this is not appropriate for either TCP server sockets or UDP sockets, which don't have input and output streams. For these latter two types, the shutdown method should have the same effect as the close method, and thus the shutdown method is a no-op for these types. I have documented this difference between cpython and jython on the wiki. This should finally resolve bug 1121: listening socket shutdown expects the wrong kind of socket http://bugs.jython.org/issue1121
Branches
2.2
Alan Kennedy
Fix and unit test for bug 1244. Problem letting system choose the port for binding UDP socket http://bugs.jython.org/issue1244
Branches
2.2
Alan Kennedy
Fixed a bug where connect timeouts were not being honoured when set through socket.setdefaulttimeout() http://bugs.jython.org/issue1218
Branches
2.2
Alan Kennedy
Restoring an important line that got lost back r3251, which checked if the object passed to _getselectable() was actually already a SelectableChannel. Added unit test to explicitly check for same. This was illustrated by a failure in the telnetlib module, as reported in http://bugs.jython.org/issue1211
Branches
2.2
Alan Kennedy
Fix for broken SSL support. Thanks to dmbaggett for the patch. http://bugs.jython.org/issue1182
Branches
2.2
Alan Kennedy
Adding support for address manipulation functions inet_pton, inet_ntop, inet_aton and inet_ntoa.
Branches
2.2
Alan Kennedy
1. Fixed a bug whereby timeouts were not being honoured when recv()ing (http://bugs.jython.com/issue1154) 2. Fixed another (previously unreported) bug that resulted in an exception when switching from non-blocking to timeout mode. 3. Back-ported some of pjenvey's changes relating to getaddrinfo, non-blocking connects and file buffer sizes.
Branches
2.2
Alan Kennedy
Change of mind on behaviour when shutting down server sockets. Instead to raising an exception, best to let the failure pass silently, as cpython does. http://bugs.jython.org/issue1121
Branches
2.2
Alan Kennedy
Checking in fixes for 3 bugs http://bugs.jython.org/issue1119 - socket module has no attribute SO_ERROR http://bugs.jython.org/issue1120 - invalid socket shutdown gives AssertionError, should be "transport endpoint not connected" socket.error http://bugs.jython.org/issue1121 - listening socket shutdown expects the wrong kind of socket Will port fixes to trunk also.
Branches
2.2
Philip Jenvey
Merged revisions 4953,4955 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r4953 | pjenvey | 2008-07-15 18:15:46 -0700 (Tue, 15 Jul 2008) | 1 line restore proto=0 as _realsocket asserts it so ........ r4955 | pjenvey | 2008-07-15 19:11:48 -0700 (Tue, 15 Jul 2008) | 1 line use getClass here incase class becomes a permanent keyword in 2.5 ........
Branches
2.2
Alan Kennedy
1. Support for the <broadcast> address for both server and client UDP sockets 2. Upgrade of the getaddrinfo function to support AF_INET6 and AF_UNSPEC. Still some more work to do on IPv6 support.
Branches
2.2
Frank Wierzbicki
Fix and test for issue 1048 (List Comprehension in finally throws NPE).
Branches
2.2
Philip Jenvey
Merged revisions 4539 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r4539 | pjenvey | 2008-06-05 17:00:48 -0700 (Thu, 05 Jun 2008) | 1 line fix missing comma which broke test___all__ ........
Branches
2.2
Alan Kennedy
Merging back some important changes from trunk.
Branches
2.2
Alan Kennedy
- Checking in support for socket options, as many as are supported on java. Unsupported options are documented in dummy test cases. Will update wiki to document options that are supported(includes SO_REUSEADDR, TCP_NODELAY, SO_OOBINLINE, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, etc). - Split jython specific test cases between TCP and UDP; some are shared, some are unique to either protocol. - Some whitespace cleanup
Branches
2.2
Alan Kennedy
Fix for bug 1033 http://bugs.jython.org/issue1033 Added a unittest for non-7-bit strings.
Branches
2.2
Alan Kennedy
Checking in changes relating to two separate bugs. 1. UDP sockets implicitly created by the sendto() method are not configured correctly. 2. Should a recvfrom() call on an unbound UDP socket result in the implicit creation of a socket? See bug # 1005 for further information. http://bugs.jython.org/issue1005
Branches
2.2
Alan Kennedy
Modified the implementation of UDP sockets so that they use the java.nio APIs as much as possible. This was necessary because it was causing some legal code sequences to hang (CF bug #1782548). However, there is still a necessary dichotomy in the use of java.nio vs. java.net, because the java.nio APIs do not support timeouts. Therefore, when a UDP socket is in timeout mode, the java.net DatagramSocket API is still used. Otherwise, the java.nio DatagramChannel API is used. Unit tests updated accordingly. Also replaced some tabs with spaces in test_socket.py
Branches
2.2
Charlie Groves
Merged revisions 4132 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r4132 | cgroves | 2008-02-15 23:34:24 -0800 (Fri, 15 Feb 2008) | 1 line Make the module the interpreter is running __main__ not main ........
Branches
2.2
Charlie Groves
Merged revisions 4059 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r4059 | cgroves | 2008-01-19 14:52:16 -0800 (Sat, 19 Jan 2008) | 1 line synchronize around registry_init so if two threads start up and use codecs immediately, they both get a valid list of encodings ........
Branches
2.2
Charlie Groves
Merged revisions 4022 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk sans the ThreadStateMapping changes since they just added generics. ........ r4022 | cgroves | 2008-01-13 01:07:10 -0800 (Sun, 13 Jan 2008) | 6 lines Make profilefunc and tracefunc per thread instead of per systemstate to match CPython. From patch #1841378 from paulj_edgewater. Should fix bug #1757127 and bug #1870039 which were both running into this difference in Pydev's debugger. ........
Branches
2.2
Charlie Groves
Merged revisions 3742-3743,3745,3747-3748,3751,3753-3756,3761-3762,3785,3803,3820-3822,3825,3827-3836,3851-3862,3864,3866,3871-3875,3879,3881,3883-3885,3890,3892,3895-3896,3898-3900,3904,3912-3913 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r3742 | cgroves | 2007-11-30 12:53:42 -0800 (Fri, 30 Nov 2007) | 1 line Applying patch #1814683 from markacy to fix bugs #1796425, 1796415 and 1814678 ........ r3743 | cgroves | 2007-11-30 13:21:59 -0800 (Fri, 30 Nov 2007) | 1 line Check that f_back isn't null when throwing an exception in case it's rethrown. Fixes bug #1812122 ........ r3751 | cgroves | 2007-12-02 00:36:39 -…
Branches
2.2
Philip Jenvey
Merged revisions 3891 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r3891 | pjenvey | 2007-12-28 18:01:58 -0800 (Fri, 28 Dec 2007) | 1 line changelog r3885 (r3863 merge) ........
Branches
2.2
Philip Jenvey
Merged revisions 3732-3734,3739,3745,3747-3748,3756,3761-3762,3785,3803,3820-3822,3825,3827-3836,3851-3864,3866,3871-3875,3879,3881-3882 via svnmerge from https://jython.svn.sourceforge.net/svnroot/jython/trunk ........ r3732 | pjenvey | 2007-11-26 14:27:24 -0800 (Mon, 26 Nov 2007) | 1 line use repr() for OSError filenames like CPython does ........ r3863 | pjenvey | 2007-12-24 11:36:03 -0800 (Mon, 24 Dec 2007) | 6 lines restrict reference counting code to isinstance(sock, _nonblocking_api_mixin) instead not isinstance(sock, _closedsocket). allows urllib2's usage of _fileobject to wrap a no…
Branches
2.2
Charlie Groves
From patch #1813837 from nhiro to add Japanese codecs using Java's charsets. This can't be applied directly to trunk since Python 2.3 added registerable error handling functions to codecs, and Java's error actions don't give the information necessary to call out to those functions.
Branches
2.2
  1. Prev
  2. Next