summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Issue #17684: Fix some test_socket failures due to limited FD passing supportCharles-Francois Natali2013-05-201-6/+4
| | | | | | | | on OS-X. Patch by Jeff Ramnani.
* | Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
|\ \ | |/ | | | | addresses.
| * Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
| | | | | | | | addresses.
* | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+2
|\ \ | |/ | | | | AI_NUMERICSERV isn't defined on OSX 10.4.
| * Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+2
| | | | | | | | AI_NUMERICSERV isn't defined on OSX 10.4.
* | (3.3->default) Issue #17269: Workaround for a platform bug in getaddrinfo on OSXRonald Oussoren2013-05-241-0/+3
|\ \ | |/ | | | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations.
| * Issue #17269: Workaround for a platform bug in getaddrinfo on OSXRonald Oussoren2013-05-241-0/+3
| | | | | | | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations.
* | Backed out changeset c0f2b038fc12Charles-François Natali2013-05-211-6/+6
| |
* | Issue #17683: socket module: return AF_UNIX addresses in Linux abstractCharles-François Natali2013-05-211-6/+6
| | | | | | | | namespace as string.
* | Issue #17684: Fix some test_socket failures due to limited FD passing supportCharles-Francois Natali2013-05-201-6/+4
| | | | | | | | on OS-X. Patch by Jeff Ramnani.
* | attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595Giampaolo Rodola'2013-04-121-1/+1
| |
* | Fix issue #17675: make socket repr() provide local and remote addresses (if ↵Giampaolo Rodola'2013-04-101-2/+11
| | | | | | | | any).
* | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵Antoine Pitrou2013-03-201-4/+0
| | | | | | | | procedurally generate, in an easy way, small test instances.
* | Merge 3.3, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-1/+1
|\ \ | |/ | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * Merge 3.2, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-1/+1
| |\ | | | | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| | * Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-111-1/+1
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-4/+22
| |\ \ | | |/ | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| | * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-4/+23
| | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | | Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by BrianCharles-François Natali2013-02-051-11/+95
| | | | | | | | | | | | Thorne.
* | | Fix test_socket broken in previous commit (changeset 13e2e44db99d).Serhiy Storchaka2013-01-151-5/+7
| | | | | | | | | | | | Added new checks for socket.setblocking().
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-141-3/+19
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-1/+1
| | |
* | | Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue ↵Antoine Pitrou2012-12-181-1/+8
|\ \ \ | |/ / | | | | | | #13876) - probably not Python-related.
| * | Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue ↵Antoine Pitrou2012-12-181-1/+8
| | | | | | | | | | | | #13876) - probably not Python-related.
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-56/+56
|/ /
* | Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue ↵Antoine Pitrou2012-12-161-1/+8
| | | | | | | | #13876) - probably not Python-related.
* | Issue #16257: make test_create_connection() handle ENETUNREACH.Trent Nelson2012-10-171-1/+20
|\ \ | |/
| * Issue #16257: make test_create_connection() handle ENETUNREACH.Trent Nelson2012-10-171-1/+20
| |
* | Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵Antoine Pitrou2012-09-141-0/+11
|\ \ | |/ | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
| * Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵Antoine Pitrou2012-09-141-0/+11
| | | | | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
* | #15284: Skip {send,recv}msg tests with disabled IPv6Ross Lagerwall2012-07-081-5/+5
| | | | | | | | Patch by Brian Brazil.
* | Errors in "client" methods in test_socket were ignored because of a bogus ↵Antoine Pitrou2012-06-231-1/+2
| | | | | | | | | | | | except clause. (this could reveal test failures!)
* | Issue #14310: Catch testing errors when trying to create unsupported socketKristján Valur Jónsson2012-04-071-1/+4
| | | | | | | | types on some platforms.
* | Issue #14310: inter-process socket duplication for windowsKristján Valur Jónsson2012-04-071-0/+105
| |