summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
|
* accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)Benjamin Peterson2015-10-251-0/+1
|
* Issue #25138: test_socket.test_idna() uses support.transient_internet() insteadVictor Stinner2015-09-211-5/+4
| | | | of catching socket.EAI_NODATA error which doesn't exist on FreeBSD.
* Issue #22397: Skip failing tests on AIXRobert Collins2015-08-021-0/+4
| | | | Patch from David Edelsohn.
* Issue #23943: Fix typos. Patch by Piotr Kasprzyk.Berker Peksag2015-04-141-1/+1
|
* issue23673Ethan Furman2015-03-191-0/+5
| | | | | | | | | add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method
* Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.Serhiy Storchaka2014-11-191-1/+1
| | | | Patch by David Watson.
* merge 3.3Benjamin Peterson2014-11-031-3/+4
|\
| * merge 3.2Benjamin Peterson2014-11-031-3/+4
| |\
| | * move idna test domain to pythontest.netBenjamin Peterson2014-11-031-3/+4
| | |
| | * Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
| | |
* | | Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants ↵Ethan Furman2014-10-151-2/+9
| | | | | | | | | | | | are SocketKind
* | | Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowErrorVictor Stinner2014-07-261-0/+18
| | | | | | | | | | | | on closed socket. repr(socket.socket) already works fine.
* | | Issue #19875: Fix random test_getsockaddrarg() failure.Charles-François Natali2014-07-251-8/+16
| | |
* | | Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.Terry Jan Reedy2014-06-131-0/+1
| | |
* | | Fixes for KFreeBSD and the Hurd:doko@ubuntu.com2014-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
* | | Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.Ned Deily2014-02-141-2/+8
|\ \ \ | |/ /
| * | Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.Ned Deily2014-02-141-2/+8
| | |
* | | Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-6/+30
|\ \ \ | |/ /
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-6/+30
| | |
* | | Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.Ned Deily2014-02-031-4/+4
|\ \ \ | |/ /
| * | Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.Ned Deily2014-02-031-4/+4
| | |
* | | Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
|\ \ \ | |/ /
| * | Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
| | |
* | | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
| | | | | | | | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | | merge 3.3Benjamin Peterson2014-01-141-0/+7
|\ \ \ | |/ /
| * | add test for #20251Benjamin Peterson2014-01-141-0/+7
| | |
| * | merge 3.2 (#20246)Benjamin Peterson2014-01-141-0/+8
| |\ \ | | |/
| | * complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson2014-01-141-0/+8
| | |
* | | merge 3.3 (#20246)Benjamin Peterson2014-01-141-0/+8
| | |
* | | Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-9/+9
|\ \ \ | |/ /
| * | Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-7/+7
| | |
| * | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-50/+53
| | |
* | | Fix test_socket for repr updateNick Coghlan2013-11-131-2/+2
| | |
* | | Normalize whitespaceJason R. Coombs2013-11-101-2/+2
| | |
* | | Issue #7171: Add Windows implementation of ``inet_ntop`` and ``inet_pton`` ↵Atsuo Ishimoto2012-07-161-0/+16
| | | | | | | | | | | | to socket module.
* | | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-50/+53
| | |
* | | Issue #16201: socket: Use inet_pton()/inet_addr() instead of ad-hoc parsing forCharles-François Natali2013-09-131-0/+14
| | | | | | | | | | | | numeric IP addresses.
* | | Issue #18904: test_os and test_socket use unittest.skipIf() to check if fcntlVictor Stinner2013-09-081-24/+25
| | | | | | | | | | | | module is present (to record skipped tests)
* | | Issue #18904: test_socket: add inheritance tests using fcntl and FD_CLOEXECVictor Stinner2013-09-081-0/+30
| | |
* | | Switch the AF_* and SOCK_* constants in the socket module to IntEnum.Eli Bendersky2013-08-311-2/+26
| | | | | | | | | | | | Closes #18720.
* | | Use the recent support.HOSTv6 addition.Charles-François Natali2013-08-311-7/+3
| | |
* | | Merge.Charles-François Natali2013-08-291-3/+4
|\ \ \
| * \ \ Issue #18643: Fix some test_socket failures due to large default socket bufferCharles-François Natali2013-08-291-3/+4
| |\ \ \ | | |/ / | | | | | | | | sizes.
| | * | Issue #18643: Fix some test_socket failures due to large default socket bufferCharles-François Natali2013-08-291-3/+4
| | | | | | | | | | | | | | | | sizes.
* | | | Fix test_socket.test_SOCK_CLOEXEC(), the test was wrongVictor Stinner2013-08-281-1/+1
| | | |
* | | | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-11/+43
|/ / / | | | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | | (Merge 3.3) test_socket: cancel scheduled alarm on test failureVictor Stinner2013-08-241-0/+1
|\ \ \ | |/ /
| * | test_socket: cancel scheduled alarm on test failureVictor Stinner2013-08-241-0/+1
| | |