Serhiy Storchaka
66fb349d6c
Issue #20736 : testSendmsgDontWait in test_socket no longer skipped on Linux.
...
Patch by David Watson.
2014-11-19 13:21:40 +02:00
Serhiy Storchaka
abde2c1d25
Issue #20736 : testSendmsgDontWait in test_socket no longer skipped on Linux.
...
Patch by David Watson.
2014-11-19 13:21:13 +02:00
Benjamin Peterson
678e11aa22
merge 3.4
2014-11-03 15:12:52 -05:00
Benjamin Peterson
8d2d5b9c59
merge 3.3
2014-11-03 15:12:06 -05:00
Benjamin Peterson
97751fa5c9
merge 3.2
2014-11-03 15:11:53 -05:00
Benjamin Peterson
863c962e68
move idna test domain to pythontest.net
2014-11-03 15:10:47 -05:00
Ethan Furman
41d31967c6
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
2014-10-14 18:57:58 -07:00
Ethan Furman
7184bac544
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
2014-10-14 18:56:53 -07:00
Charles-François Natali
98c745a773
Issue #18643 : Add socket.socketpair() on Windows.
2014-10-14 21:22:44 +01:00
R David Murray
861470c836
#16518 : Bring error messages in harmony with docs ("bytes-like object")
...
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.)
2014-10-05 11:47:01 -04:00
Victor Stinner
011428e168
(Merge 3.4) Fix repr(_socket.socket) on Windows 64-bit: don't fail with
...
OverflowError on closed socket. repr(socket.socket) already works fine.
2014-07-26 14:37:57 +02:00
Victor Stinner
e254e53c83
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
...
on closed socket. repr(socket.socket) already works fine.
2014-07-26 14:36:55 +02:00
Charles-François Natali
ab9a446f23
Issue #19875 : Fix random test_getsockaddrarg() failure.
2014-07-25 18:45:28 +01:00
Charles-François Natali
65708cf510
Issue #19875 : Fix random test_getsockaddrarg() failure.
2014-07-25 18:44:30 +01:00
Charles-François Natali
6e20460dc6
Issue #21566 : Make use of socket.listen() default backlog.
2014-07-23 19:28:13 +01:00
Terry Jan Reedy
cd41e89377
Merge with 3.4
2014-06-13 15:21:01 -04:00
Terry Jan Reedy
a40e6b0c94
Issue #21730 : Add no-thread skip in test_socket. Patch by Berker Peksag.
2014-06-13 15:20:45 -04:00
Giampaolo Rodola'
915d14190e
fix issue #17552 : add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
2014-06-11 03:54:30 +02:00
Charles-François Natali
644b8f52a8
Issue #21455 : Add a default backlog to socket.listen().
2014-05-22 19:45:39 +01:00
doko@ubuntu.com
4a173bc4ed
Fixes for KFreeBSD and the Hurd:
...
- 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.
2014-04-17 19:47:16 +02:00
Ned Deily
b7bb675d3c
Issue #20605 : Make test_socket getaddrinfo OS X segfault test more robust.
2014-02-13 22:53:42 -08:00
Ned Deily
b24f481ab4
Issue #20605 : Make test_socket getaddrinfo OS X segfault test more robust.
2014-02-13 22:50:42 -08:00
Serhiy Storchaka
f28ba369dd
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:10:55 +02:00
Serhiy Storchaka
5cfc79deae
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:06:39 +02:00
Ned Deily
cb306d1b59
Issue #20474 : Fix "unexpected success" test_socket failures on OS X 10.7+.
2014-02-03 14:02:26 -08:00
Ned Deily
c564038580
Issue #20474 : Fix "unexpected success" test_socket failures on OS X 10.7+.
2014-02-03 13:58:31 -08:00
Stefan Krah
b772f2e89d
Issue #20246 : Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
2014-01-21 22:59:57 +01:00
Stefan Krah
6b2e5597e1
Issue #20246 : Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
2014-01-21 22:58:40 +01:00
Serhiy Storchaka
8f8ec92de8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
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.
2014-01-16 17:33:23 +02:00
Serhiy Storchaka
b992a0e102
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
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.
2014-01-16 17:15:49 +02:00
Benjamin Peterson
60ea92883f
merge 3.3
2014-01-14 00:29:03 -05:00
Benjamin Peterson
bd1d12e61b
add test for #20251
2014-01-14 00:27:42 -05:00
Benjamin Peterson
c6b37e21f5
merge 3.3 ( #20246 )
2014-01-13 23:14:42 -05:00
Benjamin Peterson
5688222907
merge 3.2 ( #20246 )
2014-01-13 23:12:55 -05:00
Benjamin Peterson
fbf648ebba
complain when nbytes > buflen to fix possible buffer overflow ( closes #20246 )
2014-01-13 22:59:38 -05:00
Zachary Ware
101d9e7250
Issue 19572: More silently skipped tests explicitly skipped.
2013-12-08 00:44:27 -06:00
Zachary Ware
9fe6d86709
Issue 19572: More silently skipped tests explicitly skipped.
2013-12-08 00:20:35 -06:00
Nick Coghlan
ca351e6bc5
Fix test_socket for repr update
2013-11-13 22:10:16 +10:00
Jason R. Coombs
6bdc498734
Normalize whitespace
2013-11-10 14:02:04 -05:00
Serhiy Storchaka
7908068627
Issue #18702 : All skipped tests now reported as skipped.
2013-11-03 21:31:18 +02:00
Charles-François Natali
5fd2642adb
Issue #18643 : Fix some test_socket failures due to large default socket buffer
...
sizes.
2013-08-29 19:01:40 +02:00
Victor Stinner
71fe8c00f6
test_socket: cancel scheduled alarm on test failure
2013-08-24 15:52:47 +02:00
Charles-Francois Natali
dd225e4c64
Issue #17684 : Fix some test_socket failures due to limited FD passing support
...
on OS-X. Patch by Jeff Ramnani.
2013-05-20 19:08:19 +02:00
Charles-François Natali
37114bb548
Issue #18308 : don't take the scope ID into account when comparing IPv6
...
addresses.
2013-07-09 19:15:43 +02:00
Ronald Oussoren
a822d36675
Ensure that the fix for #17269 also works on OSX 10.4
...
AI_NUMERICSERV isn't defined on OSX 10.4.
2013-06-10 10:36:28 +02:00
Ronald Oussoren
27a4ac535f
Issue #17269 : Workaround for a platform bug in getaddrinfo on OSX
...
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
2013-05-24 13:47:37 +02:00
Terry Jan Reedy
98472b8396
Merge 3.2, issue #17047 : remove doubled words found in 2.7 to
...
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:58:27 -04:00
Terry Jan Reedy
c30b7b16ea
Issue #17047 : remove doubled words found in 2.7 to 3.4 Lib/*,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:57:08 -04:00
Serhiy Storchaka
9101e23ff6
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:41:45 +02:00
Serhiy Storchaka
441d30fac7
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:26:26 +02:00