summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* sqlite: raise an OverflowError if the result is longer than INT_MAX bytesVictor Stinner2013-11-181-2/+8
| | | | Fix a compiler warning on Windows 64-bit
* Issue #19634: time.strftime("%y") now raises a ValueError on AIX when given aVictor Stinner2013-11-171-0/+14
| | | | year before 1900.
* Fix compilation error under gcc of the ctypes module bundled libffi for arm.Gregory P. Smith2013-11-171-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. Smith2013-11-171-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 Heimes2013-11-171-0/+91
| | | | | | | | NID, short name and long name.
* | Issue #19565: Prevent warnings at shutdown about pending overlapped ops.Richard Oudkerk2013-11-171-8/+28
| |
* | Close #19282: Native context management in dbmNick Coghlan2013-11-172-0/+33
| |
* | calculate_path() now fails with a fatal error when it fails to allocate memoryVictor Stinner2013-11-161-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): useVictor Stinner2013-11-151-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_tVictor Stinner2013-11-151-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, notVictor Stinner2013-11-151-8/+8
| | | | | | | | on other OSes!
* | Fix compiler warning on Windows 64 bit: _init_pos_args() result type isVictor Stinner2013-11-151-2/+2
| | | | | | | | Py_ssize_t, not int
* | Fix compiler warning (especially on Windows 64-bit): don't truncate Py_ssize_tVictor Stinner2013-11-151-4/+4
| | | | | | | | to int
* | Fix compiler warning on Windows 64-bit: explicit cast size_t to unsigned longVictor Stinner2013-11-151-2/+2
| |
* | Issue #19437: Fix parse_envlist() of the posix/nt module, don't callVictor Stinner2013-11-141-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 Stinner2013-11-141-1/+4
| | | | | | | | failure
* | Issue #19437: Fix array.buffer_info(), handle PyLong_FromVoidPtr() andVictor Stinner2013-11-141-3/+15
| | | | | | | | PyLong_FromLong() failure
* | Issue #19437: Use an identifier for "__name__" string in pickle to improveVictor Stinner2013-11-141-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 Stinner2013-11-132-7/+6
| | | | | | | | Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize()
* | Issue #19437: Fix ctypes, handle PyCData_GetContainer() and GetKeepedObjects()Victor Stinner2013-11-131-1/+19
| | | | | | | | failures
* | Issue #19437: Fix GetKeepedObjects() of ctypes, handle PyCData_GetContainer()Victor Stinner2013-11-131-1/+5
| | | | | | | | failure
* | Issue #19437: Fix PyCData_GetContainer() of ctypes, handle PyDict_New() failureVictor Stinner2013-11-131-0/+2
| |
* | Issue #19515: Remove duplicated identifiers in zipimport.cVictor Stinner2013-11-121-6/+4
| |
* | Issue #19515: Remove identifiers duplicated in the same file.Victor Stinner2013-11-123-6/+4
| | | | | | | | Patch written by Andrei Dorian Duma.
* | Issue13674 Correct crash with strftime %y format under WindowsTim Golden2013-11-121-0/+7
|\ \ | |/
| * Issue13674 Correct crash with strftime %y format under WindowsTim Golden2013-11-121-0/+7
| |
| * Move PyErr_NoMemory() closer to the failure.Stefan Krah2013-11-081-1/+1
| |
| * Change style to match the surrounding code (no early returns).Stefan Krah2013-11-081-4/+3
| |
| * Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup()Victor Stinner2013-10-291-0/+1
| | | | | | | | failure (memory allocation failure): raise a MemoryError exception
| * Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handleVictor Stinner2013-10-291-10/+17
| | | | | | | | PyObject_IsInstance() failure
* | Fixed compile error on Windows caused by arithmetic with void * pointersSerhiy Storchaka2013-11-111-3/+3
| | | | | | | | (issue #16685).
* | Issue #16685: Added support for any bytes-like objects in the audioop module.Serhiy Storchaka2013-11-101-288/+378
| | | | | | | | Removed support for strings.
* | Issue #7171: Update syntax to replace MAX in favor of Py_MAX (matching ↵Jason R. Coombs2013-11-101-1/+5
| | | | | | | | implementation for Unix).
* | Issue #7171: Add Windows implementation of ``inet_ntop`` and ``inet_pton`` ↵Atsuo Ishimoto2012-07-161-2/+106
| | | | | | | | to socket module.
* | Move PyErr_NoMemory() closer to the failure.Stefan Krah2013-11-081-1/+1
| |
* | Change style to match the surrounding code (no early returns).Stefan Krah2013-11-081-4/+3
| |
* | Issue #19437: Fix datetime_subtract(), handle new_delta() failureVictor Stinner2013-11-071-0/+3
| |
* | Issue #19437: Fix _io._IOBase.close(), handle _PyObject_SetAttrId() failureVictor Stinner2013-11-071-3/+8
| |
* | Issue #19437: Fix fsconvert_strdup(), raise a MemoryError on PyMem_Malloc()Victor Stinner2013-11-071-1/+3
| | | | | | | | failure
* | Issue #19512, #19515: remove shared identifiers, move identifiers where theyVictor Stinner2013-11-077-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öwis2013-11-073-20/+9
| | | | | | | | Patch by Andrei Dorian Duma.
* | Merge #18985: Improve fcntl documentation.R David Murray2013-11-071-11/+13
|\ \ | |/
| * #18985: Improve fcntl documentation.R David Murray2013-11-071-11/+13
| | | | | | | | Original patch by Vajrasky Kok, further improved (I hope) by me.
* | Issue #19512: Use the new _PyId_builtins identifierVictor Stinner2013-11-061-1/+1
| |
* | Issue #19512: _count_elements() of _collections reuses PyId_get identifierVictor Stinner2013-11-061-1/+1
| | | | | | | | instead of literal "get" string
* | Issue #19512: fileio_init() reuses PyId_name identifier instead of "name"Victor Stinner2013-11-061-2/+3
| | | | | | | | literal string
* | Issue #19512: add some common identifiers to only create common strings once,Victor Stinner2013-11-066-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 stringVictor Stinner2013-11-061-2/+4
| | | | | | | | "modules" once
* | Issue #18582: fix memory leak in pbkdf2 codeChristian Heimes2013-11-061-0/+1
| |
* | Issue #19437: Fix _threading.RLock constructor (rlock_new), callVictor Stinner2013-11-051-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())