Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26384: Merge from 3.5 | Berker Peksag | 2016-09-17 | 1 | -1/+1 |
|\ | |||||
| * | Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile | Berker Peksag | 2016-09-17 | 1 | -1/+1 |
| | | |||||
* | | issue28083: add IntFlag constants | Ethan Furman | 2016-09-11 | 1 | -1/+11 |
|/ | |||||
* | Issue #27698: Add socketpair to socket.__all__ on Windows | Victor Stinner | 2016-08-17 | 1 | -0/+1 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #16915: Clarify that mode parameter of socket.makefile() does not accept | Berker Peksag | 2016-02-18 | 1 | -3/+3 |
| | | | | the same values as open(). | ||||
* | merge 3.4 (#25471) | Benjamin Peterson | 2015-10-25 | 1 | -1/+5 |
|\ | |||||
| * | accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471) | Benjamin Peterson | 2015-10-25 | 1 | -1/+5 |
| | | |||||
| * | issue23673 | Ethan Furman | 2015-03-19 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | | issue23673 | Ethan Furman | 2015-03-19 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | 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 #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -2/+0 |
| | | |||||
* | | merge 3.4 (#23221) | Benjamin Peterson | 2015-01-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix instances of consecutive articles (closes #23221) | Benjamin Peterson | 2015-01-13 | 1 | -1/+1 |
| | | | | | | | | Patch by Karan Goel. | ||||
* | | Issue #20604: Added missed invalid mode in error message of socket.makefile(). | Serhiy Storchaka | 2014-11-19 | 1 | -3/+2 |
|\ \ | |/ | | | | | Based on patch by Franck Michea. | ||||
| * | Issue #20604: Added missed invalid mode in error message of socket.makefile(). | Serhiy Storchaka | 2014-11-19 | 1 | -3/+2 |
| | | | | | | | | Based on patch by Franck Michea. | ||||
* | | Issue20689: add missing API pieces to __all__ | Ethan Furman | 2014-10-18 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue20689: add missing API pieces to __all__ | Ethan Furman | 2014-10-18 | 1 | -1/+3 |
| | | |||||
* | | Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants ↵ | Ethan Furman | 2014-10-15 | 1 | -5/+7 |
|\ \ | |/ | | | | | are SocketKind | ||||
| * | Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants ↵ | Ethan Furman | 2014-10-15 | 1 | -5/+7 |
| | | | | | | | | are SocketKind | ||||
* | | Issue #18643: Add socket.socketpair() on Windows. | Charles-François Natali | 2014-10-14 | 1 | -0/+51 |
| | | |||||
* | | Issue #22032: __qualname__ instead of __name__ is now always used to format | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
| | | | | | | | | fully qualified class names of Python implemented classes. | ||||
* | | fix issue #17552: add socket.sendfile() method allowing to send a file over ↵ | Giampaolo Rodola' | 2014-06-11 | 1 | -1/+147 |
|/ | | | | a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'· | ||||
* | Provide a more readable representation of socket on repr(). | Giampaolo Rodola' | 2013-10-03 | 1 | -1/+1 |
| | | | | | | | | Before: <socket.socket fd=3, family=2, type=1, proto=0, laddr=('0.0.0.0', 0)> Now: <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> | ||||
* | Switch the AF_* and SOCK_* constants in the socket module to IntEnum. | Eli Bendersky | 2013-08-31 | 1 | -1/+65 |
| | | | | Closes #18720. | ||||
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -1/+16 |
| | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | |||||
* | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | ModuleNotFoundError. | ||||
* | Fix issue #17675: make socket repr() provide local and remote addresses (if ↵ | Giampaolo Rodola' | 2013-04-10 | 1 | -7/+26 |
| | | | | any). | ||||
* | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
| | |||||
* | Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵ | Antoine Pitrou | 2012-09-14 | 1 | -2/+13 |
|\ | | | | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura. | ||||
| * | Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵ | Antoine Pitrou | 2012-09-14 | 1 | -2/+13 |
| | | | | | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura. | ||||
* | | Issue #14310: inter-process socket duplication for windows | Kristján Valur Jónsson | 2012-04-07 | 1 | -1/+9 |
| | | |||||
* | | Issue #13872: socket.detach() now marks the socket closed (as mirrored in ↵ | Antoine Pitrou | 2012-03-31 | 1 | -0/+11 |
|\ \ | |/ | | | | | | | | | the socket repr()). Patch by Matt Joiner. | ||||
| * | Issue #13872: socket.detach() now marks the socket closed (as mirrored in ↵ | Antoine Pitrou | 2012-03-31 | 1 | -0/+11 |
| | | | | | | | | | | | | the socket repr()). Patch by Matt Joiner. | ||||
| * | Merged revisions 88622 via svnmerge from | Antoine Pitrou | 2011-02-25 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88622 | antoine.pitrou | 2011-02-26 00:07:44 +0100 (sam., 26 févr. 2011) | 5 lines Issue #7322: Trying to read from a socket's file-like object after a timeout occurred now raises an error instead of silently losing data. Patch by Ross Lagerwall. ........ | ||||
* | | Use InterruptedError instead of checking for EINTR | Antoine Pitrou | 2011-10-23 | 1 | -5/+3 |
| | | |||||
* | | Issue #11127: Raise a TypeError when trying to pickle a socket object. | Antoine Pitrou | 2011-03-20 | 1 | -0/+3 |
| | | |||||
* | | Issue #7322: Trying to read from a socket's file-like object after a timeout | Antoine Pitrou | 2011-02-25 | 1 | -0/+6 |
|/ | | | | | occurred now raises an error instead of silently losing data. Patch by Ross Lagerwall. | ||||
* | Issue #7995: When calling accept() on a socket with a timeout, the returned | Antoine Pitrou | 2011-01-05 | 1 | -1/+7 |
| | | | | socket is now always non-blocking, regardless of the operating system. | ||||
* | Issue #10819: SocketIO.name property returns -1 when its closed, instead of | Victor Stinner | 2011-01-04 | 1 | -1/+4 |
| | | | | raising a ValueError, to fix repr(). | ||||
* | Issue #10093: ResourceWarnings are now issued when files and sockets are | Antoine Pitrou | 2010-10-29 | 1 | -1/+1 |
| | | | | | deallocated without explicit closing. These warnings are silenced by default, except in pydebug mode. | ||||
* | Issue #10041: The signature of optional arguments in socket.makefile() | Antoine Pitrou | 2010-10-13 | 1 | -2/+2 |
| | | | | | didn't match that of io.open(), and they also didn't get forwarded properly to TextIOWrapper in text mode. Patch by Kai Zhu. | ||||
* | Issue #9854: SocketIO objects now observe the RawIOBase interface in | Antoine Pitrou | 2010-09-18 | 1 | -2/+15 |
| | | | | | non-blocking mode: they return None when an operation would block (instead of raising an exception). | ||||
* | Reverted unwanted change in r84826 | Antoine Pitrou | 2010-09-15 | 1 | -2/+0 |
| | |||||
* | Improve docs for socket.makefile() and SocketIO | Antoine Pitrou | 2010-09-15 | 1 | -0/+23 |
| | |||||
* | Add a comment explaining why SocketIO is needed | Antoine Pitrou | 2010-09-15 | 1 | -0/+7 |
| | |||||
* | Issue #1552: socket.socketpair() now returns regular socket.socket | Antoine Pitrou | 2010-09-14 | 1 | -0/+21 |
| | | | | | objects supporting the whole socket API (rather than the "raw" _socket.socket objects). | ||||
* | Fix issue 9794: adds context manager protocol to socket.socket so that ↵ | Giampaolo Rodolà | 2010-09-08 | 1 | -0/+7 |
| | | | | socket.create_connection() can be used with the 'with' statement. | ||||
* | Issue #9792: In case of connection failure, socket.create_connection() | Antoine Pitrou | 2010-09-07 | 1 | -4/+7 |
| | | | | | | would swallow the exception and raise a new one, making it impossible to fetch the original errno, or to filter timeout errors. Now the original error is re-raised. | ||||
* | reformat comment | Benjamin Peterson | 2010-08-31 | 1 | -2/+2 |
| |