Berker Peksag
ce88d82ec2
Issue #16802 : Document fileno parameter of socket.socket()
...
Patch by Henrik Heimbuerger and Bar Harel.
2015-10-08 06:34:31 +03:00
Berker Peksag
24a610984d
Issue #16802 : Document fileno parameter of socket.socket()
...
Patch by Henrik Heimbuerger and Bar Harel.
2015-10-08 06:34:01 +03:00
Martin Panter
ba1125246c
Issue #25043 : Merge Bluetooth doc from 3.4 into 3.5
2015-09-11 23:19:10 +00:00
Martin Panter
ea7266d7c6
Issue #25043 : Document BDADDR_ and HCI_ Bluetooth socket constants
...
Patch from Tim Tisdall.
2015-09-11 23:14:57 +00:00
Martin Panter
daabed5d49
Issue #24984 : Merge BTPROTO_SCO doc fix from 3.4 into 3.5
2015-09-11 02:29:35 +00:00
Martin Panter
d8302624c9
Issue #24984 : BTPROTO_SCO supports only bytes objects
2015-09-11 02:23:41 +00:00
Martin Panter
24a9bd0d39
Issue #24984 : Merge 3.4 into 3.5
2015-09-09 06:48:55 +00:00
Martin Panter
d1a98587fe
Issue #24984 : Document AF_BLUETOOTH socket address formats
...
Patch from Tim Tisdall.
2015-09-09 06:47:58 +00:00
Senthil Kumaran
b4760efbad
Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.
...
Related Issues:
#issue21528
#issue24453
2015-06-14 17:35:37 -07:00
Ned Deily
fa1b47cc5a
Issue #24357 : merge from 3.4
2015-06-01 21:20:46 -07:00
Ned Deily
11cf4f6498
Issue #24357 : use example.org instead
2015-06-01 21:19:30 -07:00
Ned Deily
03c28facd2
Issue #24357 : merge from 3.4
2015-06-01 19:38:25 -07:00
Ned Deily
834f029c74
Issue #24357 : fix real typo
2015-06-01 19:37:40 -07:00
Ned Deily
36a6a6bb3c
Issue #24357 : merge from 3.4
2015-06-01 19:20:31 -07:00
Ned Deily
9e2dc3f0b1
Issue #24357 : fix typo
2015-06-01 19:17:44 -07:00
Ned Deily
3e4f976965
Issue #24357 : merge from 3.4
2015-06-01 18:55:45 -07:00
Ned Deily
1b79e2d7ee
Issue #24357 : Change host in socket.getaddrinfo example to one that
...
does support IPv6 and IPv4; www.python.org currently does not.
2015-06-01 18:52:48 -07:00
Berker Peksag
5f120fcecb
Issue #24233 : Add a proper link to socket.getfqdn() documentation.
...
Patch by Ville Skyttä.
2015-05-19 01:31:24 +03:00
Berker Peksag
2a8baed833
Issue #24233 : Add a proper link to socket.getfqdn() documentation.
...
Patch by Ville Skyttä.
2015-05-19 01:31:00 +03:00
Larry Hastings
a6cc551502
Issue #22631 : Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
...
Patch courtesy of Joe Jevnik.
2015-04-13 17:48:40 -04:00
Victor Stinner
8912d1418e
Issue #23853 : socket.socket.sendall() does no more reset the socket timeout
...
each time data is sent successfuly. The socket timeout is now the maximum total
duration to send all data.
2015-04-06 23:16:34 +02:00
Victor Stinner
81c41dbfcc
Issue #23618 : socket.socket.connect() now waits until the connection completes
...
instead of raising InterruptedError if the connection is interrupted by
signals, signal handlers don't raise an exception and the socket is blocking or
has a timeout.
socket.socket.connect() still raise InterruptedError for non-blocking sockets.
2015-04-02 11:50:57 +02:00
Victor Stinner
708d9ba5a2
Issue #23618 : Document EINTR changes in socket documentation
2015-04-02 11:49:42 +02:00
Serhiy Storchaka
8490f5acfe
Issue #23001 : Few functions in modules mmap, ossaudiodev, socket, ssl, and
...
codecs, that accepted only read-only bytes-like object now accept writable
bytes-like object too.
2015-03-20 09:00:36 +02:00
Serhiy Storchaka
92bf919ed0
Issue #22581 : Use more "bytes-like object" throughout the docs and comments.
2014-12-05 22:26:10 +02:00
Serhiy Storchaka
b757c83ec6
Issue #22581 : Use more "bytes-like object" throughout the docs and comments.
2014-12-05 22:25:22 +02:00
Georg Brandl
95517e4aee
merge with 3.4
2014-10-28 22:45:36 +01:00
Georg Brandl
2b07b0e868
Closes #22249 : use IPPROTO_TCP constant instead of SOL_TCP constant for getaddrinfo() proto param
2014-10-28 22:45:27 +01:00
Georg Brandl
96d836833e
merge with 3.4
2014-10-28 22:40:53 +01:00
Georg Brandl
c943e79384
Remove duplicate bullet point.
2014-10-28 22:40:48 +01: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
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
Donald Stufft
8b852f111e
Fix Issue #21528 - Fix documentation typos
2014-05-20 12:58:38 -04:00
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
2014-03-15 21:13:56 -07:00
Éric Araujo
abdc16ee1b
Merge 3.3 ( #16805 )
2014-03-12 19:51:50 -04:00
Éric Araujo
fa5e6e4773
Fix note markup ( #16805 ).
...
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
2014-03-12 19:51:00 -04:00
R David Murray
6c50101fc9
whatsnew: inet_pton/inet_ntop support windows ( #7171 ).
...
Added versionchanged to docs.
2014-03-07 21:22:39 -05:00
Andrew Kuchling
98f2bbf794
#16135 : remove mentions of OS/2 from the documentation
2014-03-01 07:53:28 -05:00
Andrew Kuchling
ac6e578691
Merge from 3.3
2014-02-15 16:40:08 -05:00
Andrew Kuchling
46ff4ee81c
Clarify versionchanged sentence. Closes #20497 .
2014-02-15 16:39:37 -05:00
Antoine Pitrou
f9c54944df
Merge socket doc changes from 3.3
2013-12-04 21:15:24 +01:00
Antoine Pitrou
a5cc9d68b9
Tweak the socket module doc layout
2013-12-04 21:11:03 +01:00
Antoine Pitrou
e3658a70c3
Issue #19882 : tweak docs for socket.close()
2013-12-04 21:02:42 +01:00
Serhiy Storchaka
bfdcd436f0
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:09:14 +03:00
Ezio Melotti
c048d98501
#17740 : fix links to the socket function. Initial patch by Zachary Ware.
2013-04-17 04:10:26 +03:00
Ezio Melotti
8429b6784b
#15831 : merge with 3.2
2012-09-14 06:35:09 +03:00
Ezio Melotti
e0add76468
#15831 : document multiple signatures on different lines. Patch by Chris Jerdonek.
2012-09-14 06:32:35 +03:00
Atsuo Ishimoto
da0fc14d46
Issue #7171 : Add Windows implementation of ``inet_ntop`` and ``inet_pton`` to socket module.
2012-07-16 15:16:54 +09:00
Serhiy Storchaka
98b28fddd8
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:12:09 +03:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Giampaolo Rodola'
80e1c43ddf
Fix issue #17996 : expose socket.AF_LINK constant on BSD and OSX.
2013-05-21 21:02:04 +02:00
Ezio Melotti
3533ef2d21
#17740 : merge with 3.3.
2013-04-17 04:10:51 +03:00
Mark Dickinson
d80b16dbd5
Fix ReST role markup: :method: -> :meth:
2013-02-10 18:43:16 +00:00
Charles-François Natali
773e42dff8
Issue #15359 : Add CAN_BCM protocol support to the socket module. Patch by Brian
...
Thorne.
2013-02-05 19:42:01 +01:00
Sandro Tosi
f6a899fe6d
Issue #15060 : merge with 3.2
2012-06-14 00:37:25 +02:00
Sandro Tosi
27b130e702
Issue #15060 : better fix, thanks to review on #python-dev
2012-06-14 00:37:09 +02:00
Sandro Tosi
9994b096d1
Issue #15060 : merge with 3.2
2012-06-13 23:59:21 +02:00
Sandro Tosi
56692f5722
Issue #15060 : fix typo in socket doc; Patch by anatoly techtonik
2012-06-13 23:58:54 +02:00
Kristján Valur Jónsson
10f383a937
Issue #14310 : inter-process socket duplication for windows
2012-04-07 11:23:31 +00:00
Georg Brandl
a673eb895e
Fix invalid markup and update suspicious ignores.
2012-03-04 16:17:05 +01:00
Senthil Kumaran
0bfa963fbb
merged from 3.2
...
Issue #6005 : Examples in the socket library documentation use sendall, where
relevant, instead send method.
2012-02-09 17:55:56 +08:00
Senthil Kumaran
6e13f130a9
Fix Issue #6005 : Examples in the socket library documentation use sendall,
...
where relevant, instead send method.
2012-02-09 17:54:17 +08:00
Martin v. Löwis
9d6c66933a
Issue #13777 : Add PF_SYSTEM sockets on OS X.
...
Patch by Michael Goderbauer.
2012-02-03 17:44:58 +01:00
Charles-François Natali
cdc878e562
Issue #6774 : Back out c8b77efe8b56, which only brings confusion.
2012-01-29 16:42:54 +01:00
Antoine Pitrou
889a5101c2
Issue #13724 : improve documentation for socket.create_connection.
2012-01-12 08:06:19 +01:00
Antoine Pitrou
70d62b30e4
Issue #13724 : improve documentation for socket.create_connection.
2012-01-12 08:06:49 +01:00
Antoine Pitrou
6ec29e299b
Issue #8373 : The filesystem path of AF_UNIX sockets now uses the filesystem
...
encoding and the surrogateescape error handler, rather than UTF-8. Patch
by David Watson.
2011-12-16 14:46:36 +01:00
Éric Araujo
c8e032006a
Merge 3.2
2011-11-29 17:14:27 +01:00
Éric Araujo
c4d7d8c49d
Mark up constants in sockets docs as such
2011-11-29 16:46:38 +01:00
Charles-François Natali
10b8cf4455
Issue #7777 : socket: Add Reliable Datagram Sockets (PF_RDS) support.
2011-11-10 19:21:37 +01:00
Antoine Pitrou
5574c3012d
Replace mentions of socket.error.
2011-10-12 17:53:43 +02:00
Antoine Pitrou
70fa31c936
Minimal update of socket docs for PEP 3151.
...
More editing is probably desirable.
2011-10-12 16:20:53 +02:00
Victor Stinner
b09460f038
Issue #10141 : Don't use hardcoded frame size in example, use struct.calcsize()
2011-10-06 20:27:20 +02:00
Charles-François Natali
47413c1171
Issue #10141 : socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
...
Fuchs, updated by Tiago Gonçalves.
2011-10-06 19:47:44 +02:00
Sandro Tosi
0b6b1c3fb5
#12781 : merge with 3.2
2011-09-02 20:07:34 +02:00
Sandro Tosi
172f374a63
#12781 : Mention SO_REUSEADDR flag near socket examples
2011-09-02 20:06:31 +02:00
Nick Coghlan
96fe56abec
Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. ( Closes #6560 )
2011-08-22 11:55:57 +10:00
Ezio Melotti
7ec7fc4c3b
#12725 : merge with 3.2.
2011-08-14 08:29:49 +03:00
Ezio Melotti
388c945e97
#12725 : fix working. Patch by Ben Hayden.
2011-08-14 08:28:57 +03:00
Gregory P. Smith
b6471db8a7
Further documentation updates to be consistent with doc standards and comments
...
Ezio Melotti pointed out.
2011-05-22 22:47:55 -07:00
Gregory P. Smith
6352298ac4
Refer to the return value on nameindex and friends as a string, not a byte
...
string. The code was fixed to return strings instead of bytes and to accept
either.
2011-05-22 22:16:57 -07:00
Gregory P. Smith
5ed2e779f1
Issue #1746656 : Add if_nameindex, if_nametoindex, if_indextoname
...
methods to the socket module.
2011-05-15 00:26:45 -07:00
Antoine Pitrou
3cade9942e
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:19:13 +02:00
Antoine Pitrou
1be815aac4
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Antoine Pitrou
6120d87d32
Merged revisions 88686 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines
Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
........
2011-02-28 23:03:28 +00:00
Antoine Pitrou
f06576dc2b
Recommend inspecting the errno attribute of socket.error objects,
...
and improve wording.
2011-02-28 22:38:07 +00:00
Antoine Pitrou
061cfb5258
Issue #10866 : Add socket.sethostname(). Initial patch by Ross Lagerwall.
2011-02-28 22:25:22 +00:00
Antoine Pitrou
dfad7e302c
Overhaul the documentation about socket timeouts.
2011-01-05 21:17:36 +00:00
Antoine Pitrou
e1bc898216
Some nits.
2011-01-02 22:12:22 +00:00
Antoine Pitrou
4a67a46543
Clarify behaviour of close() and shutdown() on sockets.
2011-01-02 22:06:53 +00:00
Georg Brandl
e9e8c9bda4
#10739 : document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
2010-12-28 11:49:41 +00:00
Antoine Pitrou
7bdfe7755b
Improve readability of the socket docs
2010-12-12 20:57:12 +00:00
Senthil Kumaran
d449a8ad87
Issue10100 - fromfd is now available on all platforms
2010-10-15 09:02:14 +00:00
Antoine Pitrou
b1c5496738
Issue #7523 : Add SOCK_CLOEXEC and SOCK_NONBLOCK to the socket module,
...
where supported by the system. Patch by Nikita Vetoshkin.
2010-10-14 15:05:38 +00:00
Antoine Pitrou
834bd81c51
Issue #10041 : The signature of optional arguments in socket.makefile()
...
didn't match that of io.open(), and they also didn't get forwarded
properly to TextIOWrapper in text mode. Patch by Kai Zhu.
2010-10-13 16:17:14 +00:00
Georg Brandl
60203b41b0
Migrate to Sphinx 1.0 C language constructs.
2010-10-06 10:11:56 +00:00
Antoine Pitrou
0b65b0fc83
Add a glossary entry for file objects.
2010-09-15 09:58:26 +00:00