summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19544 and Issue #6516: Restore support for --user and --group ↵Andrew Kuchling2013-11-159-15/+230
| | | | parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part of the distutils2 rollback. Closes Issue #6516.
* (Merge 3.3) fileutils.c: use MAXPATHLEN instead of PATH_MAXVictor Stinner2013-11-151-6/+6
|\ | | | | | | PATH_MAX is not declared on IRIX nor Windows.
| * fileutils.c: use MAXPATHLEN instead of PATH_MAXVictor Stinner2013-11-151-6/+6
| | | | | | | | PATH_MAX is not declared on IRIX nor Windows.
* | (Merge 3.3) sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to getVictor Stinner2013-11-151-1/+1
|\ \ | |/ | | | | | | | | the size of the fullpath buffer, not PATH_MAX. fullpath is declared using MAXPATHLEN or MAX_PATH depending on the OS, and PATH_MAX is not declared on IRIX.
| * sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get the size ofVictor Stinner2013-11-151-1/+1
| | | | | | | | | | the fullpath buffer, not PATH_MAX. fullpath is declared using MAXPATHLEN or MAX_PATH depending on the OS, and PATH_MAX is not declared on IRIX.
* | (Merge 3.3) pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to getVictor Stinner2013-11-151-2/+3
|\ \ | |/ | | | | | | the size of the env_home buffer, not PATH_MAX+1. env_home is declared using MAXPATHLEN+1, and PATH_MAX is not declared on IRIX.
| * pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get the size ofVictor Stinner2013-11-151-2/+3
| | | | | | | | | | the env_home buffer, not PATH_MAX+1. env_home is declared using MAXPATHLEN+1, and PATH_MAX is not declared on IRIX.
* | asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.Guido van Rossum2013-11-151-1/+2
| |
* | Avoid triggering the refleak detectorNick Coghlan2013-11-151-8/+14
| |
* | Don't decref exc too soonNick Coghlan2013-11-151-1/+2
| |
* | Close 19609: narrow scope of codec exc chainingNick Coghlan2013-11-152-15/+32
| |
* | asyncio: Refactor waitpid mocks. Patch by Anthony Baire.Guido van Rossum2013-11-151-249/+186
| |
* | Issue #19437: Fix init_builtin(), handle _PyImport_FindExtensionObject()Victor Stinner2013-11-141-1/+5
| | | | | | | | failure
* | Issue #19429, #19437: fix error handling in the OSError constructorVictor Stinner2013-11-141-3/+5
| |
* | 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 #19592: Use specific asserts in lib2to3 tests.Serhiy Storchaka2013-11-145-17/+17
|\ \ | |/
| * Issue #19592: Use specific asserts in lib2to3 tests.Serhiy Storchaka2013-11-145-17/+17
| |
* | Issue #19589: Use specific asserts in asyncio tests.Serhiy Storchaka2013-11-143-10/+12
| |
* | asyncio: Avoid ResourceWarning. Fix issue 19580 by Vajrasky Kok.Guido van Rossum2013-11-141-4/+18
| |
* | Add unused third arg for the benefit of Valgrind.Stefan Krah2013-11-141-1/+1
| |
* | fix refleaksBenjamin Peterson2013-11-141-3/+7
| |
* | adjust styleBenjamin Peterson2013-11-141-12/+8
| |
* | asyncio: Relax timing requirement. Fixes issue 19579.Guido van Rossum2013-11-141-2/+2
| |
* | mergeChristian Heimes2013-11-143-15/+21
|\ \
| * | 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; }
| * | Issue #19437: Fix fold_unaryops_on_constants() of the peephole optimizer, clearVictor Stinner2013-11-141-0/+1
| | | | | | | | | | | | the exception when PyList_Append() fails
* | | Issue #17828: _PyObject_GetDictPtr() may return NULL instead of a PyObject**Christian Heimes2013-11-141-3/+5
|/ / | | | | | | CID 1128792: Dereference null return value (NULL_RETURNS)
* | Issue #17828: va_start() must be accompanied by va_end()Christian Heimes2013-11-141-6/+7
| | | | | | | | CID 1128793: Missing varargs init or cleanup (VARARGS)
* | asyncio: Fix from Anthony Baire for CPython issue 19566 (replaces earlier fix).Guido van Rossum2013-11-133-42/+60
| |
* | removed Enum.__eq__ as it added nothingEthan Furman2013-11-132-5/+11
| |
* | asyncio: Temporary fix by Victor Stinner for issue 19566.Guido van Rossum2013-11-131-2/+3
| |
* | Issue #17839: mention base64 change in What's NewNick Coghlan2013-11-131-0/+8
| |
* | Close #17828: better handling of codec errorsNick Coghlan2013-11-137-46/+414
| | | | | | | | | | | | | | | | - output type errors now redirect users to the type-neutral convenience functions in the codecs module - stateless errors that occur during encoding and decoding will now be automatically wrapped in exceptions that give the name of the codec involved
* | Don't use deprecated function PyUnicode_GET_SIZE()Victor Stinner2013-11-133-8/+7
| | | | | | | | 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 #19437: Fix PyImport_ImportModuleLevelObject(), handleVictor Stinner2013-11-131-0/+4
| | | | | | | | PyUnicode_Substring() failure (ex: MemoryError)
* | Avoid global side effect in test_ensurepipNick Coghlan2013-11-131-3/+8
| |
* | Fix test_socket for repr updateNick Coghlan2013-11-131-2/+2
| |
* | mergeGiampaolo Rodola'2013-11-121-1/+1
|\ \
| * | Provide a more readable representation of socket on repr().Giampaolo Rodola'2013-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Before: <socket.socket fd=3, family=2, type=1, proto=0, laddr=('0.0.0.0', 0)> Now: <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)>
* | | test.support: considering the module is a mix of utilities unrelated with ↵Giampaolo Rodola'2013-11-121-18/+36
| | | | | | | | | | | | each other divide __all__ in sub-sections so that it can be used as a quick-reference doc
* | | 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-125-11/+6
| | | | | | | | | | | | Patch written by Andrei Dorian Duma.
* | | Issue #19466: Fix typo. Patch written by Vajrasky Kok.Victor Stinner2013-11-121-1/+1
| | |
* | | Close #19466: Clear the frames of daemon threads earlier during the PythonVictor Stinner2013-11-123-5/+69
| | | | | | | | | | | | | | | shutdown to call objects destructors. So "unclosed file" resource warnings are now corretly emitted for daemon threads.
* | | Merge from 3.3Andrew Kuchling2013-11-121-1/+5
|\ \ \ | | |/ | |/|