Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -4/+21 | |
|\ \ \ | |/ / | | | | | | | writable text file. | |||||
| * | | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -4/+21 | |
| | | | | | | | | | | | | writable text file. | |||||
| * | | Merge | Antoine Pitrou | 2015-04-13 | 1 | -111/+111 | |
| |\ \ | ||||||
* | \ \ | Merge | Antoine Pitrou | 2015-04-13 | 1 | -111/+111 | |
|\ \ \ \ | ||||||
| * \ \ \ | Closes #17202: Merge with 3.4 | Zachary Ware | 2015-04-13 | 1 | -111/+111 | |
| |\ \ \ \ | | | |/ / | | |/| | | ||||||
| | * | | | Issue #17202: Add .bat to .hgeol to force them to CRLF. | Zachary Ware | 2015-04-13 | 1 | -111/+111 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Using LF can a script to fail if it tries to use a label that is split across 512 byte blocks. Who knows why. | |||||
* | | | | | Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted | Antoine Pitrou | 2015-04-13 | 1 | -1/+22 | |
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead. | |||||
| * | | | Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted | Antoine Pitrou | 2015-04-13 | 1 | -1/+22 | |
| |/ / | | | | | | | | | | | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead. | |||||
* | | | make DirEntryType and ScandirIteratorType static (closes #23918) | Benjamin Peterson | 2015-04-12 | 1 | -2/+2 | |
| | | | ||||||
* | | | Issue #23668: Regenerates posixmodule.c.h for new ifdefs | Steve Dower | 2015-04-12 | 1 | -5/+5 | |
| | | | ||||||
* | | | Issue #23668: Suppresses invalid parameter handler around chsize calls. | Steve Dower | 2015-04-12 | 2 | -0/+6 | |
| | | | ||||||
* | | | Issue #23524: Replace _PyVerify_fd function with calls to ↵ | Steve Dower | 2015-04-12 | 3 | -12/+62 | |
| | | | | | | | | | | | | _set_thread_local_invalid_parameter_handler. | |||||
* | | | Issue #23668: Adds support for os.truncate and os.ftruncate on Windows | Steve Dower | 2015-03-21 | 2 | -59/+40 | |
| | | | ||||||
* | | | - Modules/Setup.dist: remove time extension duplicate, introduced by the ↵ | doko@ubuntu.com | 2015-04-11 | 1 | -2/+1 | |
| | | | | | | | | | | | | fix for #5309. | |||||
* | | | Issue #21859: Corrected FileIO docstrings. | Serhiy Storchaka | 2015-04-10 | 1 | -15/+18 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #21859: Corrected FileIO docstrings. | Serhiy Storchaka | 2015-04-10 | 1 | -15/+18 | |
| | | | ||||||
* | | | Replaced "string" with "bytes object" in docstrings of binary I/O objects. | Serhiy Storchaka | 2015-04-09 | 2 | -13/+13 | |
|\ \ \ | |/ / | ||||||
| * | | Replaced "string" with "bytes object" in docstrings of binary I/O objects. | Serhiy Storchaka | 2015-04-09 | 2 | -13/+13 | |
| | | | ||||||
* | | | Issue #23618: Fix internal_select() for negative timeout (blocking socket) when | Victor Stinner | 2015-04-09 | 1 | -4/+9 | |
| | | | | | | | | | | | | | | | | | | | | | poll() is not available. select() doesn't accept negative timeout, the timeout parameter must be NULL to block on select(). | |||||
* | | | Issue #23834: Fix the default socket timeout | Victor Stinner | 2015-04-09 | 1 | -1/+2 | |
| | | | | | | | | | | | | Use -1 second by default, not -1 nanosecond. | |||||
* | | | Issue #23853: Methods of SSL socket don't reset the socket timeout anymore each | Victor Stinner | 2015-04-06 | 1 | -17/+65 | |
| | | | | | | | | | | | | | | | | | | | | | | | | time bytes are received or sent. The socket timeout is now the maximum total duration of the method. This change fixes a denial of service if the application is regulary interrupted by a signal and the signal handler does not raise an exception. | |||||
* | | | Issue #22117: Fix sock_call_ex() for non-blocking socket | Victor Stinner | 2015-04-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Call internal_select() with a timeout of 0 second, not a timeout of -1 second (blocking)! | |||||
* | | | Issue #23853: socket.socket.sendall() does no more reset the socket timeout | Victor Stinner | 2015-04-06 | 1 | -16/+41 | |
| | | | | | | | | | | | | | | | each time data is sent successfuly. The socket timeout is now the maximum total duration to send all data. | |||||
* | | | Issue #23834: Fix initial value of the socket timeout | Victor Stinner | 2015-04-06 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | Use _PyTime_FromSeconds() to initialize the default socket timeout to -1 second, instead of -1 nanosecond which causes rounding issues in internal_select(). | |||||
* | | | merge 3.4 (#23875) | Benjamin Peterson | 2015-04-06 | 1 | -2/+2 | |
|\ \ \ | |/ / | ||||||
| * | | remove extra arguments in arg parsing format codes (closes #23875) | Benjamin Peterson | 2015-04-06 | 1 | -2/+2 | |
| | | | ||||||
* | | | Issue #23501: #include "clinic/posixmodule.c.h" was in the section skipped ↵ | Serhiy Storchaka | 2015-04-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | on Windows. | |||||
* | | | fix refleak in deque_concat | Benjamin Peterson | 2015-04-04 | 1 | -2/+8 | |
| | | | ||||||
* | | | Fixed the array module broken in issue #23492. | Serhiy Storchaka | 2015-04-04 | 1 | -15/+4 | |
| | | | | | | | | | | | | | | | array_array_frombytes() is used in other functions, but it's signature was changed. Closes issue #23866. | |||||
* | | | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always | Serhiy Storchaka | 2015-04-04 | 1 | -9/+14 | |
|\ \ \ | |/ / | | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool. | |||||
| * | | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always | Serhiy Storchaka | 2015-04-04 | 1 | -9/+14 | |
| | | | | | | | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool. | |||||
* | | | Issue #23338: Fixed formatting ctypes error messages on Cygwin. | Serhiy Storchaka | 2015-04-04 | 1 | -2/+2 | |
|\ \ \ | |/ / | | | | | | | Patch by Makoto Kato. | |||||
| * | | Issue #23338: Fixed formatting ctypes error messages on Cygwin. | Serhiy Storchaka | 2015-04-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | Patch by Makoto Kato. | |||||
* | | | Issue #23492: Argument Clinic now generates argument parsing code with | Serhiy Storchaka | 2015-04-03 | 11 | -236/+236 | |
| | | | | | | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible. | |||||
* | | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 41 | -6724/+7224 | |
| | | | ||||||
* | | | Issue #23500: Argument Clinic is now smarter about generating the "#ifndef" | Larry Hastings | 2015-04-03 | 3 | -27/+11 | |
| | | | | | | | | | | | | | | | | | | (empty) definition of the methoddef macro: it's only generated once, even if Argument Clinic processes the same symbol multiple times, and it's emitted at the end of all processing rather than immediately after the first use. | |||||
* | | | Removed trailing whitespaces in miscalenous files. | Serhiy Storchaka | 2015-04-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | Issue #23853: Cleanup _ssl.c | Victor Stinner | 2015-04-02 | 1 | -45/+50 | |
| | | | | | | | | | | | | | | | | | | * Rename check_socket_and_wait_for_timeout() to PySSL_select() * PySSL_select() is now clearly splitted betwen poll() and select() * Add empty lines for readability | |||||
* | | | Issue #23834: Simplify timeout handling | Victor Stinner | 2015-04-03 | 1 | -27/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use the new _PyTime_FromSeconds() function to set the timeout to -1 second for socket.settimeout(None). It avoids a special case in internal_select() because of a rounding issue: -1 nanosecond is rounded to 0 millisecond which means non-blocking, instead of blocking. * Check if the interval the negative in sock_call_ex() instead of doing the check in internal_select(). sock_call_ex() remembers if the socket has a timeout or not, which avoids a race condition if the timeout is modified in a different thread. | |||||
* | | | Issue #22117: Add a new _PyTime_FromSeconds() function | Victor Stinner | 2015-04-03 | 2 | -1/+14 | |
| | | | | | | | | | | | | | | | Fix also _Py_InitializeEx_Private(): initialize time before initializing import, import_init() uses the _PyTime API (for thread locks). | |||||
* | | | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 1 | -16/+193 | |
|\ \ \ | |/ / | | | | | | | arbitrary precision integers added in Tcl 8.5. | |||||
| * | | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 1 | -16/+206 | |
| | | | | | | | | | | | | arbitrary precision integers added in Tcl 8.5. | |||||
| * | | Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the | Victor Stinner | 2015-04-02 | 1 | -1/+2 | |
| | | | | | | | | | | | | result of sendto() instead of the C int type. | |||||
* | | | Merge 3.4 (_posixsubprocess) | Victor Stinner | 2015-04-02 | 1 | -6/+6 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #23851: close() must not be retried when it fails with EINTR | Victor Stinner | 2015-04-02 | 1 | -6/+6 | |
| | | | | | | | | | | | | See the PEP 475 for the rationale. | |||||
* | | | Issue #23618: Ooops, remove abort() added for debug purpose | Victor Stinner | 2015-04-02 | 1 | -1/+0 | |
| | | | ||||||
* | | | Issue #23618: Fix sock_connect_impl(), set the socket error code | Victor Stinner | 2015-04-02 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | sock_call_ex() gets the socket error code when the socket function fails. sock_connect_impl() didn't set the error correctly. | |||||
* | | | Issue #23618: socket.socket.connect() now waits until the connection completes | Victor Stinner | 2015-04-02 | 1 | -124/+178 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Issue #23618: Don't declare recvmsg/sendmsg helper functions on Windows | Victor Stinner | 2015-04-02 | 1 | -7/+6 | |
| | | | ||||||
* | | | Issue #21526: Fixed support of new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -4/+19 | |
|\ \ \ | |/ / |