summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20586: Argument Clinic now ensures signatures on functions without ↵Zachary Ware2015-04-133-15/+37
| | | | docstrings.
* Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.Larry Hastings2015-04-131-0/+3
| | | | Patch courtesy of Joe Jevnik.
* - merge 3.4doko@ubuntu.com2015-04-131-1/+1
|\
| * - Use PLATDIR for the platform directory everywhere (refactoring only)doko@ubuntu.com2015-04-131-1/+1
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-132-18/+4
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵Antoine Pitrou2015-04-131-4/+21
|\ \ | |/ | | | | writable text file.
| * Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵Antoine Pitrou2015-04-131-4/+21
| | | | | | | | writable text file.
| * MergeAntoine Pitrou2015-04-131-111/+111
| |\
* | \ MergeAntoine Pitrou2015-04-131-111/+111
|\ \ \
| * \ \ Closes #17202: Merge with 3.4Zachary Ware2015-04-131-111/+111
| |\ \ \ | | | |/ | | |/|
| | * | Issue #17202: Add .bat to .hgeol to force them to CRLF.Zachary Ware2015-04-131-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 abortedAntoine Pitrou2015-04-131-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 abortedAntoine Pitrou2015-04-131-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 Peterson2015-04-121-2/+2
| |
* | Issue #23668: Regenerates posixmodule.c.h for new ifdefsSteve Dower2015-04-121-5/+5
| |
* | Issue #23668: Suppresses invalid parameter handler around chsize calls.Steve Dower2015-04-122-0/+6
| |
* | Issue #23524: Replace _PyVerify_fd function with calls to ↵Steve Dower2015-04-123-12/+62
| | | | | | | | _set_thread_local_invalid_parameter_handler.
* | Issue #23668: Adds support for os.truncate and os.ftruncate on WindowsSteve Dower2015-03-212-59/+40
| |
* | - Modules/Setup.dist: remove time extension duplicate, introduced by the ↵doko@ubuntu.com2015-04-111-2/+1
| | | | | | | | fix for #5309.
* | Issue #21859: Corrected FileIO docstrings.Serhiy Storchaka2015-04-101-15/+18
|\ \ | |/
| * Issue #21859: Corrected FileIO docstrings.Serhiy Storchaka2015-04-101-15/+18
| |
* | Replaced "string" with "bytes object" in docstrings of binary I/O objects.Serhiy Storchaka2015-04-092-13/+13
|\ \ | |/
| * Replaced "string" with "bytes object" in docstrings of binary I/O objects.Serhiy Storchaka2015-04-092-13/+13
| |
* | Issue #23618: Fix internal_select() for negative timeout (blocking socket) whenVictor Stinner2015-04-091-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 timeoutVictor Stinner2015-04-091-1/+2
| | | | | | | | Use -1 second by default, not -1 nanosecond.
* | Issue #23853: Methods of SSL socket don't reset the socket timeout anymore eachVictor Stinner2015-04-061-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 socketVictor Stinner2015-04-061-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 timeoutVictor Stinner2015-04-061-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 timeoutVictor Stinner2015-04-061-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 Peterson2015-04-061-2/+2
|\ \ | |/
| * remove extra arguments in arg parsing format codes (closes #23875)Benjamin Peterson2015-04-061-2/+2
| |
* | Issue #23501: #include "clinic/posixmodule.c.h" was in the section skipped ↵Serhiy Storchaka2015-04-041-2/+2
| | | | | | | | on Windows.
* | fix refleak in deque_concatBenjamin Peterson2015-04-041-2/+8
| |
* | Fixed the array module broken in issue #23492.Serhiy Storchaka2015-04-041-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 alwaysSerhiy Storchaka2015-04-041-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 alwaysSerhiy Storchaka2015-04-041-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 Storchaka2015-04-041-2/+2
|\ \ | |/ | | | | Patch by Makoto Kato.
| * Issue #23338: Fixed formatting ctypes error messages on Cygwin.Serhiy Storchaka2015-04-041-2/+2
| | | | | | | | Patch by Makoto Kato.
* | Issue #23492: Argument Clinic now generates argument parsing code withSerhiy Storchaka2015-04-0311-236/+236
| | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible.
* | Issue #23501: Argumen Clinic now generates code into separate files by default.Serhiy Storchaka2015-04-0341-6724/+7224
| |
* | Issue #23500: Argument Clinic is now smarter about generating the "#ifndef"Larry Hastings2015-04-033-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 Storchaka2015-04-031-3/+3
| |
* | Issue #23853: Cleanup _ssl.cVictor Stinner2015-04-021-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 handlingVictor Stinner2015-04-031-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() functionVictor Stinner2015-04-032-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 andSerhiy Storchaka2015-04-021-16/+193
|\ \ | |/ | | | | arbitrary precision integers added in Tcl 8.5.
| * Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-16/+206
| | | | | | | | arbitrary precision integers added in Tcl 8.5.
| * Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store theVictor Stinner2015-04-021-1/+2
| | | | | | | | result of sendto() instead of the C int type.
* | Merge 3.4 (_posixsubprocess)Victor Stinner2015-04-021-6/+6
|\ \ | |/
| * Issue #23851: close() must not be retried when it fails with EINTRVictor Stinner2015-04-021-6/+6
| | | | | | | | See the PEP 475 for the rationale.