Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sqlite: raise an OverflowError if the result is longer than INT_MAX bytes | Victor Stinner | 2013-11-18 | 1 | -2/+8 |
| | | | | Fix a compiler warning on Windows 64-bit | ||||
* | Issue #19634: time.strftime("%y") now raises a ValueError on AIX when given a | Victor Stinner | 2013-11-17 | 1 | -0/+14 |
| | | | | year before 1900. | ||||
* | Fix compilation error under gcc of the ctypes module bundled libffi for arm. | Gregory P. Smith | 2013-11-17 | 1 | -7/+7 |
|\ | | | | | | | | | A variable was declared below the top of a block and one function was using a K&R C style function declaration! | ||||
| * | Fix compilation error under gcc of the ctypes module bundled libffi for arm. | Gregory P. Smith | 2013-11-17 | 1 | -7/+7 |
| | | | | | | | | | | A variable was declared below the top of a block and one function was using a K&R C style function declaration! | ||||
* | | Issue #19448: Add private API to SSL module to lookup ASN.1 objects by OID, ↵ | Christian Heimes | 2013-11-17 | 1 | -0/+91 |
| | | | | | | | | NID, short name and long name. | ||||
* | | Issue #19565: Prevent warnings at shutdown about pending overlapped ops. | Richard Oudkerk | 2013-11-17 | 1 | -8/+28 |
| | | |||||
* | | Close #19282: Native context management in dbm | Nick Coghlan | 2013-11-17 | 2 | -0/+33 |
| | | |||||
* | | calculate_path() now fails with a fatal error when it fails to allocate memory | Victor Stinner | 2013-11-16 | 1 | -49/+40 |
| | | | | | | | | for module_search_path. It was already the case on _Py_char2wchar() failure. | ||||
* | | Don't mix wide character strings and byte strings (L"lib/python" VERSION): use | Victor Stinner | 2013-11-15 | 1 | -6/+13 |
| | | | | | | | | | | | | | | _Py_char2wchar() to decode lib_python instead. Some compilers don't support concatenating literals: L"wide" "bytes". Example: IRIX compiler. | ||||
* | | Fix compiler warnings on Windows 64 bit: add an explicit cast from Py_ssize_t | Victor Stinner | 2013-11-15 | 1 | -1/+1 |
| | | | | | | | | to int, password.len was checked for being smaller than INT_MAX. | ||||
* | | Fix sock_recvfrom_guts(): recvfrom() size is limited to an int on Windows, not | Victor Stinner | 2013-11-15 | 1 | -8/+8 |
| | | | | | | | | on other OSes! | ||||
* | | Fix compiler warning on Windows 64 bit: _init_pos_args() result type is | Victor Stinner | 2013-11-15 | 1 | -2/+2 |
| | | | | | | | | Py_ssize_t, not int | ||||
* | | Fix compiler warning (especially on Windows 64-bit): don't truncate Py_ssize_t | Victor Stinner | 2013-11-15 | 1 | -4/+4 |
| | | | | | | | | to int | ||||
* | | Fix compiler warning on Windows 64-bit: explicit cast size_t to unsigned long | Victor Stinner | 2013-11-15 | 1 | -2/+2 |
| | | |||||
* | | Issue #19437: Fix parse_envlist() of the posix/nt module, don't call | Victor Stinner | 2013-11-14 | 1 | -1/+3 |
| | | | | | | | | PyMapping_Values() with an exception set, exit immediatly on error. | ||||
* | | Issue #19437: Fix parse_save_field() of the csv module, handle PyList_Append() | Victor Stinner | 2013-11-14 | 1 | -1/+4 |
| | | | | | | | | failure | ||||
* | | Issue #19437: Fix array.buffer_info(), handle PyLong_FromVoidPtr() and | Victor Stinner | 2013-11-14 | 1 | -3/+15 |
| | | | | | | | | PyLong_FromLong() failure | ||||
* | | Issue #19437: Use an identifier for "__name__" string in pickle to improve | Victor Stinner | 2013-11-14 | 1 | -12/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | error handling The following code didn't handle correctly the failure of PyUnicode_InternFromString("__name__"). if (newobj_str == NULL) { newobj_str = PyUnicode_InternFromString("__newobj__"); name_str = PyUnicode_InternFromString("__name__"); if (newobj_str == NULL || name_str == NULL) return -1; } | ||||
* | | Don't use deprecated function PyUnicode_GET_SIZE() | Victor Stinner | 2013-11-13 | 2 | -7/+6 |
| | | | | | | | | Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize() | ||||
* | | Issue #19437: Fix ctypes, handle PyCData_GetContainer() and GetKeepedObjects() | Victor Stinner | 2013-11-13 | 1 | -1/+19 |
| | | | | | | | | failures | ||||
* | | Issue #19437: Fix GetKeepedObjects() of ctypes, handle PyCData_GetContainer() | Victor Stinner | 2013-11-13 | 1 | -1/+5 |
| | | | | | | | | failure | ||||
* | | Issue #19437: Fix PyCData_GetContainer() of ctypes, handle PyDict_New() failure | Victor Stinner | 2013-11-13 | 1 | -0/+2 |
| | | |||||
* | | Issue #19515: Remove duplicated identifiers in zipimport.c | Victor Stinner | 2013-11-12 | 1 | -6/+4 |
| | | |||||
* | | Issue #19515: Remove identifiers duplicated in the same file. | Victor Stinner | 2013-11-12 | 3 | -6/+4 |
| | | | | | | | | Patch written by Andrei Dorian Duma. | ||||
* | | Issue13674 Correct crash with strftime %y format under Windows | Tim Golden | 2013-11-12 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue13674 Correct crash with strftime %y format under Windows | Tim Golden | 2013-11-12 | 1 | -0/+7 |
| | | |||||
| * | Move PyErr_NoMemory() closer to the failure. | Stefan Krah | 2013-11-08 | 1 | -1/+1 |
| | | |||||
| * | Change style to match the surrounding code (no early returns). | Stefan Krah | 2013-11-08 | 1 | -4/+3 |
| | | |||||
| * | Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup() | Victor Stinner | 2013-10-29 | 1 | -0/+1 |
| | | | | | | | | failure (memory allocation failure): raise a MemoryError exception | ||||
| * | Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handle | Victor Stinner | 2013-10-29 | 1 | -10/+17 |
| | | | | | | | | PyObject_IsInstance() failure | ||||
* | | Fixed compile error on Windows caused by arithmetic with void * pointers | Serhiy Storchaka | 2013-11-11 | 1 | -3/+3 |
| | | | | | | | | (issue #16685). | ||||
* | | Issue #16685: Added support for any bytes-like objects in the audioop module. | Serhiy Storchaka | 2013-11-10 | 1 | -288/+378 |
| | | | | | | | | Removed support for strings. | ||||
* | | Issue #7171: Update syntax to replace MAX in favor of Py_MAX (matching ↵ | Jason R. Coombs | 2013-11-10 | 1 | -1/+5 |
| | | | | | | | | implementation for Unix). | ||||
* | | Issue #7171: Add Windows implementation of ``inet_ntop`` and ``inet_pton`` ↵ | Atsuo Ishimoto | 2012-07-16 | 1 | -2/+106 |
| | | | | | | | | to socket module. | ||||
* | | Move PyErr_NoMemory() closer to the failure. | Stefan Krah | 2013-11-08 | 1 | -1/+1 |
| | | |||||
* | | Change style to match the surrounding code (no early returns). | Stefan Krah | 2013-11-08 | 1 | -4/+3 |
| | | |||||
* | | Issue #19437: Fix datetime_subtract(), handle new_delta() failure | Victor Stinner | 2013-11-07 | 1 | -0/+3 |
| | | |||||
* | | Issue #19437: Fix _io._IOBase.close(), handle _PyObject_SetAttrId() failure | Victor Stinner | 2013-11-07 | 1 | -3/+8 |
| | | |||||
* | | Issue #19437: Fix fsconvert_strdup(), raise a MemoryError on PyMem_Malloc() | Victor Stinner | 2013-11-07 | 1 | -1/+3 |
| | | | | | | | | failure | ||||
* | | Issue #19512, #19515: remove shared identifiers, move identifiers where they | Victor Stinner | 2013-11-07 | 7 | -10/+14 |
| | | | | | | | | | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file. | ||||
* | | Issue #19514: Deduplicate some _Py_IDENTIFIER declarations. | Martin v. Löwis | 2013-11-07 | 3 | -20/+9 |
| | | | | | | | | Patch by Andrei Dorian Duma. | ||||
* | | Merge #18985: Improve fcntl documentation. | R David Murray | 2013-11-07 | 1 | -11/+13 |
|\ \ | |/ | |||||
| * | #18985: Improve fcntl documentation. | R David Murray | 2013-11-07 | 1 | -11/+13 |
| | | | | | | | | Original patch by Vajrasky Kok, further improved (I hope) by me. | ||||
* | | Issue #19512: Use the new _PyId_builtins identifier | Victor Stinner | 2013-11-06 | 1 | -1/+1 |
| | | |||||
* | | Issue #19512: _count_elements() of _collections reuses PyId_get identifier | Victor Stinner | 2013-11-06 | 1 | -1/+1 |
| | | | | | | | | instead of literal "get" string | ||||
* | | Issue #19512: fileio_init() reuses PyId_name identifier instead of "name" | Victor Stinner | 2013-11-06 | 1 | -2/+3 |
| | | | | | | | | literal string | ||||
* | | Issue #19512: add some common identifiers to only create common strings once, | Victor Stinner | 2013-11-06 | 6 | -6/+6 |
| | | | | | | | | | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter. | ||||
* | | Issue #19512: pickle now uses an identifier to only create the Unicode string | Victor Stinner | 2013-11-06 | 1 | -2/+4 |
| | | | | | | | | "modules" once | ||||
* | | Issue #18582: fix memory leak in pbkdf2 code | Christian Heimes | 2013-11-06 | 1 | -0/+1 |
| | | |||||
* | | Issue #19437: Fix _threading.RLock constructor (rlock_new), call | Victor Stinner | 2013-11-05 | 1 | -10/+14 |
| | | | | | | | | | | | | | | | | | | Py_DECREF(self) if PyThread_allocate_lock() failed instead of calling directly type->tp_free(self), to keep the chained list of objects consistent when Python is compiled in debug mode fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step()) |