summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Closes #22568: fix UTIME_TO_* macros in posixmodule for rare cases.Georg Brandl2014-10-121-6/+6
|
* prevent passing NULL to memcpy (closes #22605)Benjamin Peterson2014-10-111-1/+1
| | | | Patch by Jakub Wilk.
* Issue #22588: Fix typo in _testcapi.test_incref_decref_API()Victor Stinner2014-10-091-1/+1
|
* Issue #22568: Fix compilation of posixmodule.c with Open Watcom: rename "utime"Victor Stinner2014-10-091-21/+21
| | | | | variable to "ut" to avoid conflict with the C utime() function. Patch written by Jeffrey Armstrong.
* Issue #21715: Extracted shared complicated code in the _io module to newSerhiy Storchaka2014-10-083-41/+6
| | | | _PyErr_ChainExceptions() function.
* Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-084-160/+9
| | | | | | exception tracebacks. Initial patch by Mark Shannon.
* Issue #22290: Fix error handling in the _posixsubprocess module.Victor Stinner2014-10-051-6/+14
| | | | | | | | * Don't call the garbage collector with an exception set: it causes an assertion to fail in debug mode. * Enhance also error handling if allocating an array for the executable list failed. * Add an unit test for 4 different errors in the _posixsubprocess module.
* Closes #19342: improve docstrings in grp module.Georg Brandl2014-10-021-6/+6
|
* faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(),Victor Stinner2014-09-301-15/+23
| | | | | because _read_null() cannot be used on AIX. On AIX, reading from NULL is allowed: the first page of memory is a mapped read-only on AIX.
* faulthandler: _sigsegv() and _sigabrt() don't accept parametersVictor Stinner2014-09-301-2/+2
|
* Issue #22396: On 32-bit AIX platform, don't expose os.posix_fadvise() norVictor Stinner2014-09-301-4/+12
| | | | os.posix_fallocate() because their prototypes in system headers are wrong.
* merge 3.3 (#22517)Benjamin Peterson2014-09-301-0/+2
|\
| * clear BufferedRWPair weakrefs on deallocation (closes #22517)Benjamin Peterson2014-09-301-0/+2
| |
* | Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.Berker Peksag2014-09-241-3/+5
| | | | | | | | Patch by Terry Chia.
* | Issue #22166: clear codec caches in test_codecsNick Coghlan2014-09-151-0/+54
| |
* | Issue #17095: Temporarily revert getpath.c change that added the ModulesNed Deily2014-09-151-14/+0
| | | | | | | | | | | | directory to sys.path when running from a build directory. That has proven to be problematic for several standard library modules with C extension modules whose builds can fail on some platforms.
* | Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka2014-09-112-1/+6
| | | | | | | | character instead of truncate it. Based on patch by Victor Stinner.
* | Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-0/+4
| | | | | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
* | Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka2014-09-111-10/+26
| | | | | | | | | | ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
* | Issue #22338: Fix a crash in the json module on memory allocation failure.Victor Stinner2014-09-101-1/+2
| |
* | Issue #22369: Change "context manager protocol" to "context management ↵Serhiy Storchaka2014-09-101-2/+2
| | | | | | | | protocol".
* | Introduce and check for MPD_VERSION_HEX for precise management of buildsStefan Krah2014-08-262-4/+8
| | | | | | | | with an external libmpdec.
* | Issue #22090: Fix '%' formatting for infinities and NaNs.Stefan Krah2014-08-261-4/+7
| |
* | Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.Serhiy Storchaka2014-08-191-0/+16
| |
* | - Issue #22176: Fix build failure on ARM with ↵doko@ubuntu.com2014-08-092-3/+26
| | | | | | | | -Werror=declaration-after-statement
* | - Issue #22176: Add src/x86/win32.S for x86 libffi builds.doko@ubuntu.com2014-08-092-2/+2
| |
* | - Issue #22176: Update the ctypes module's libffi to v3.1. This releasedoko@ubuntu.com2014-08-09135-13698/+28236
| | | | | | | | | | adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
* | Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-092-25/+8
| | | | | | | | types. Corrected error messages about bytes arguments.
* | Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particularSerhiy Storchaka2014-08-061-11/+17
| | | | | | | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method.
* | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-2/+2
| | | | | | | | In particular this allows to initialize images from binary data.
* | Issue #21704: Fix build error for _multiprocessing when semaphoresRichard Oudkerk2014-07-281-0/+2
| | | | | | | | are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
* | Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowErrorVictor Stinner2014-07-261-2/+9
| | | | | | | | on closed socket. repr(socket.socket) already works fine.
* | Issue #22044: Fixed premature DECREF in call_tzinfo_method.Raymond Hettinger2014-07-251-7/+7
| |
* | Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")Victor Stinner2014-07-241-1/+5
| | | | | | | | does crash on Mac OS X which uses libedit instead of readline.
* | Issue #19884: readline: Disable the meta modifier key if stdout is not aVictor Stinner2014-07-241-0/+11
| | | | | | | | | | | | terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit characters.
* | Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
| |
* | Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requiresVictor Stinner2014-07-071-1/+1
| | | | | | | | size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".
* | properly decref the return value of close()Benjamin Peterson2014-07-051-3/+5
| |
* | Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,Victor Stinner2014-07-021-2/+2
| | | | | | | | it ignored I/O errors if at least the first C call read() succeed.
* | Issue #8677: make the zlib module "ssize_t clean" for parsing parametersVictor Stinner2014-07-011-0/+1
| |
* | Closes #21780: make the unicodedata module "ssize_t clean" for parsing ↵Victor Stinner2014-07-011-2/+8
| | | | | | | | parameters
* | Issue #21781: Make the ssl module "ssize_t clean" for parsing parameters.Victor Stinner2014-07-011-2/+9
| | | | | | | | ssl.RAND_add() now supports strings longer than 2 GB.
* | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format CVictor Stinner2014-07-011-2/+3
| | | | | | | | size_t, because %zi/%u is not supported on all platforms.
* | Fix typo in socket.getaddrinfo() docstring.Berker Peksag2014-06-301-4/+4
| | | | | | | | Reported by Krishna Kumar Thakur on docs@.
* | Issue #21858: Better handling of Python exceptions in the sqlite3 module.Victor Stinner2014-06-261-16/+26
| |
* | Issue #19145: Fix handling of negative values for a "times" keyword ↵Raymond Hettinger2014-06-251-2/+5
| | | | | | | | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.)
* | PyErr_NormalizeException doesn't like being called with an exception setSerhiy Storchaka2014-06-113-12/+12
| | | | | | | | (issues #21677, #21310).
* | Issue #21310: Fixed possible resource leak in failed open().Serhiy Storchaka2014-06-091-9/+27
| |
* | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.Serhiy Storchaka2014-06-092-0/+2
| |
* | Issue #21639: Fix name of _testcapi test functionsVictor Stinner2014-06-021-2/+2
| |