summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, andSerhiy Storchaka2015-03-201-0/+10
| | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too.
* 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
* Fix whitespace.Charles-François Natali2015-02-071-1/+1
|
* Issue #23285: PEP 475 -- Retry system calls failing with EINTR.Charles-François Natali2015-02-071-120/+4
|
* Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.Serhiy Storchaka2014-11-191-1/+1
|\ | | | | | | Patch by David Watson.
| * Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.Serhiy Storchaka2014-11-191-1/+1
| | | | | | | | Patch by David Watson.
* | merge 3.4Benjamin Peterson2014-11-031-3/+4
|\ \ | |/
| * 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
| * | | Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants ↵Ethan Furman2014-10-151-2/+9
| | | | | | | | | | | | | | | | are SocketKind
* | | | Issue #18643: Add socket.socketpair() on Windows.Charles-François Natali2014-10-141-2/+0
| | | |
* | | | #16518: Bring error messages in harmony with docs ("bytes-like object")R David Murray2014-10-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.)
* | | | (Merge 3.4) Fix repr(_socket.socket) on Windows 64-bit: don't fail withVictor Stinner2014-07-261-0/+18
|\ \ \ \ | |/ / / | | | | | | | | OverflowError on closed socket. repr(socket.socket) already works fine.
| * | | 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 #19875: Fix random test_getsockaddrarg() failure.Charles-François Natali2014-07-251-8/+16
| | | |
* | | | Issue #21566: Make use of socket.listen() default backlog.Charles-François Natali2014-07-231-5/+5
| | | |
* | | | Merge with 3.4Terry Jan Reedy2014-06-131-0/+1
|\ \ \ \ | |/ / /
| * | | Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.Terry Jan Reedy2014-06-131-0/+1
| | | |
* | | | fix issue #17552: add socket.sendfile() method allowing to send a file over ↵Giampaolo Rodola'2014-06-111-0/+273
| | | | | | | | | | | | | | | | a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
* | | | Issue #21455: Add a default backlog to socket.listen().Charles-François Natali2014-05-221-3/+6
|/ / /
* | | 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
| | |