summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 on Windows 64-bit: asdl_seq_SET() stores the index ↵Victor Stinner2013-11-151-4/+6
| | | | | | parameter into a Py_ssize_t, instead of an int
* Fix compiler warning (on Windows 64-bit): explicit cast Py_ssize_t to unsignedVictor Stinner2013-11-151-2/+2
| | | | char, n is in range [0; 255] (a tuple cannot have a negative length)
* Fix compiler warning in win32_urandom(): explicit cast to DWORD inVictor Stinner2013-11-151-1/+1
| | | | CryptGenRandom()
* 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 #19544, #6516: no need to catch AttributeError on import pwd/grpVictor Stinner2013-11-151-2/+2
|
* Issue #19544 and Issue #6516: quick workaround for failing buildsChristian Heimes2013-11-151-2/+2
|
* Issue #19504: Used American spelling for 'customize'.Vinay Sajip2013-11-155-11/+11
|\
| * Issue #19504: Used American spelling for 'customize'.Vinay Sajip2013-11-155-11/+11
| |
* | Closes #19523: Merged fix from 3.3.Vinay Sajip2013-11-152-1/+5
|\ \ | |/
| * Issue #19523: Closed FileHandler leak which occurred when delay was set.Vinay Sajip2013-11-152-1/+5
| |
* | 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