summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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
|
* remove extra arguments in arg parsing format codes (closes #23875)Benjamin Peterson2015-04-061-2/+2
|
* 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 #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.
* Issue #23851: close() must not be retried when it fails with EINTRVictor Stinner2015-04-021-6/+6
| | | | See the PEP 475 for the rationale.
* Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-15/+34
|
* remove assignment in conditionalBenjamin Peterson2015-04-011-1/+2
|
* Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-311-12/+14
| | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
* Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances.Serhiy Storchaka2015-03-301-6/+2
|
* Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-241-4/+10
| | | | writer failed in BufferedRWPair.close().
* Issue #23654: Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC)Victor Stinner2015-03-231-1/+8
| | | | | | | Issue #23654: Turn off ICC's tail call optimization for the stack_overflow generator. ICC turns the recursive tail call into a loop. Patch written by Matt Frank.
* _tracemalloc.c: Fix typoVictor Stinner2015-03-181-1/+1
|
* Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-122-2/+2
| | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* expose X509_V_FLAG_TRUSTED_FIRSTBenjamin Peterson2015-03-051-0/+4
|
* enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476)Benjamin Peterson2015-03-051-0/+9
|
* Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the ↵Antoine Pitrou2015-03-041-20/+0
| | | | SSL layer but the underlying connection hasn't been closed.
* merge 3.3 (#23367)Benjamin Peterson2015-03-021-3/+10
|\
| * fix possible overflow bugs in unicodedata (closes #23367)Benjamin Peterson2015-03-021-3/+10
| |
* | Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka2015-03-011-2/+2
| |
* | Issue #23215: Multibyte codecs with custom error handlers that ignores errorsSerhiy Storchaka2015-02-201-8/+11
| | | | | | | | | | consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo.
* | Issue #5700: io.FileIO() called flush() after closing the file.Serhiy Storchaka2015-02-201-7/+14
| | | | | | | | flush() was not called in close() if closefd=False.
* | Shoould be Py_MIN, not Py_MAX.Serhiy Storchaka2015-02-161-1/+1
| |
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-1612-30/+40
| | | | | | | | overflows. Added few missed PyErr_NoMemory().
* | Issue #13637: Improve exception message of a2b_* functions.Berker Peksag2015-02-141-2/+2
| | | | | | | | Patch by Vajrasky Kok.
* | Issue #23433: Fix faulthandler._stack_overflow()Victor Stinner2015-02-111-4/+5
| | | | | | | | | | Fix undefined behaviour: don't compare pointers. Use Py_uintptr_t type instead of void*. It fixes test_faulthandler on Fedora 22 which now uses GCC 5.
* | merge 3.3 (#23361)Benjamin Peterson2015-02-101-2/+12
|\ \ | |/
| * add overflow checking (closes #23361)Benjamin Peterson2015-02-101-2/+12
| |
* | Issue #23392: Added tests for marshal C API that works with FILE*.Serhiy Storchaka2015-02-061-0/+166
| |
* | Issue #23099: Closing io.BytesIO with exported buffer is rejected now toSerhiy Storchaka2015-02-031-0/+1
| | | | | | | | prevent corrupting exported buffer.
* | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-20/+6
|\ \ | |/ | | | | Used PyMem_New to check overflow.
| * Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-20/+6
| | | | | | | | Used PyMem_New to check overflow.
* | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-026-59/+79
| | | | | | | | and PyObject_AsWriteBuffer().
* | merge 3.3 (#23364, #23363)Benjamin Peterson2015-02-021-2/+16
|\ \ | |/
| * check for overflows in permutations() and product() (closes #23363, closes ↵Benjamin Peterson2015-02-021-2/+16
| | | | | | | | #23364)
* | merge 3.3 (#23365)Benjamin Peterson2015-02-021-0/+4
|\ \ | |/
| * check for overflow in combinations_with_replacement (closes #23365)Benjamin Peterson2015-02-021-0/+4
| |
* | merge 3.3 (#23366)Benjamin Peterson2015-02-021-0/+4
|\ \ | |/
| * detect overflow in combinations (closes #23366)Benjamin Peterson2015-02-021-0/+4
| |
* | merge 3.3 (#23369)Benjamin Peterson2015-02-011-4/+11
|\ \ | |/
| * fix possible overflow in encode_basestring_ascii (closes #23369)Benjamin Peterson2015-02-011-4/+11
| |
* | Issue #23370: Fix off-by-one error for non-contiguous buffers.Stefan Krah2015-02-011-0/+51
| |
* | Always #define _PyLong_FromDev as we always need it to compile rather thanGregory P. Smith2015-01-291-8/+8
| | | | | | | | | | | | | | only defining it when HAVE_MKNOD && HAVE_MAKEDEV are true. This "oops" issue reported by John E. Malmberg on core-mentorship. (what kinds of systems don't HAVE_MKNOD && HAVE_MAKEDEV?)
* | asyncio, _overlapped.ConnectPipe(): release the GILVictor Stinner2015-01-261-0/+3
| |
* | asyncio, Tulip issue 204: Fix IocpProactor.recv()Victor Stinner2015-01-261-2/+2
| | | | | | | | | | | | | | | | | | If ReadFile() fails with ERROR_BROKEN_PIPE, the operation is not pending: don't register the overlapped. I don't know if WSARecv() can fail with ERROR_BROKEN_PIPE. Since Overlapped.WSARecv() already handled ERROR_BROKEN_PIPE, let me guess that it has the same behaviour than ReadFile().
* | asyncio, Tulip issue 204: Fix IocpProactor.accept_pipe()Victor Stinner2015-01-221-2/+2
| | | | | | | | | | | | | | | | Overlapped.ConnectNamedPipe() now returns a boolean: True if the pipe is connected (if ConnectNamedPipe() failed with ERROR_PIPE_CONNECTED), False if the connection is in progress. This change removes multiple hacks in IocpProactor.
* | Issue #23293, asyncio: Rewrite IocpProactor.connect_pipe()Victor Stinner2015-01-221-93/+22
| | | | | | | | | | | | | | | | Add _overlapped.ConnectPipe() which tries to connect to the pipe for asynchronous I/O (overlapped): call CreateFile() in a loop until it doesn't fail with ERROR_PIPE_BUSY. Use an increasing delay between 1 ms and 100 ms. Remove Overlapped.WaitNamedPipeAndConnect() which is no more used.