Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 on Windows 64-bit: asdl_seq_SET() stores the index ↵ | Victor Stinner | 2013-11-15 | 1 | -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 unsigned | Victor Stinner | 2013-11-15 | 1 | -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 in | Victor Stinner | 2013-11-15 | 1 | -1/+1 |
| | | | | CryptGenRandom() | ||||
* | 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 #19544, #6516: no need to catch AttributeError on import pwd/grp | Victor Stinner | 2013-11-15 | 1 | -2/+2 |
| | |||||
* | Issue #19544 and Issue #6516: quick workaround for failing builds | Christian Heimes | 2013-11-15 | 1 | -2/+2 |
| | |||||
* | Issue #19504: Used American spelling for 'customize'. | Vinay Sajip | 2013-11-15 | 5 | -11/+11 |
|\ | |||||
| * | Issue #19504: Used American spelling for 'customize'. | Vinay Sajip | 2013-11-15 | 5 | -11/+11 |
| | | |||||
* | | Closes #19523: Merged fix from 3.3. | Vinay Sajip | 2013-11-15 | 2 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #19523: Closed FileHandler leak which occurred when delay was set. | Vinay Sajip | 2013-11-15 | 2 | -1/+5 |
| | | |||||
* | | Issue #19544 and Issue #6516: Restore support for --user and --group ↵ | Andrew Kuchling | 2013-11-15 | 9 | -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_MAX | Victor Stinner | 2013-11-15 | 1 | -6/+6 |
|\ \ | |/ | | | | | PATH_MAX is not declared on IRIX nor Windows. | ||||
| * | fileutils.c: use MAXPATHLEN instead of PATH_MAX | Victor Stinner | 2013-11-15 | 1 | -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 get | Victor Stinner | 2013-11-15 | 1 | -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 of | Victor Stinner | 2013-11-15 | 1 | -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 get | Victor Stinner | 2013-11-15 | 1 | -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 of | Victor Stinner | 2013-11-15 | 1 | -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 Rossum | 2013-11-15 | 1 | -1/+2 |
| | | |||||
* | | Avoid triggering the refleak detector | Nick Coghlan | 2013-11-15 | 1 | -8/+14 |
| | | |||||
* | | Don't decref exc too soon | Nick Coghlan | 2013-11-15 | 1 | -1/+2 |
| | | |||||
* | | Close 19609: narrow scope of codec exc chaining | Nick Coghlan | 2013-11-15 | 2 | -15/+32 |
| | | |||||
* | | asyncio: Refactor waitpid mocks. Patch by Anthony Baire. | Guido van Rossum | 2013-11-15 | 1 | -249/+186 |
| | | |||||
* | | Issue #19437: Fix init_builtin(), handle _PyImport_FindExtensionObject() | Victor Stinner | 2013-11-14 | 1 | -1/+5 |
| | | | | | | | | failure | ||||
* | | Issue #19429, #19437: fix error handling in the OSError constructor | Victor Stinner | 2013-11-14 | 1 | -3/+5 |
| | | |||||
* | | 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 #19592: Use specific asserts in lib2to3 tests. | Serhiy Storchaka | 2013-11-14 | 5 | -17/+17 |
|\ \ | |/ | |||||
| * | Issue #19592: Use specific asserts in lib2to3 tests. | Serhiy Storchaka | 2013-11-14 | 5 | -17/+17 |
| | | |||||
* | | Issue #19589: Use specific asserts in asyncio tests. | Serhiy Storchaka | 2013-11-14 | 3 | -10/+12 |
| | | |||||
* | | asyncio: Avoid ResourceWarning. Fix issue 19580 by Vajrasky Kok. | Guido van Rossum | 2013-11-14 | 1 | -4/+18 |
| | | |||||
* | | Add unused third arg for the benefit of Valgrind. | Stefan Krah | 2013-11-14 | 1 | -1/+1 |
| | | |||||
* | | fix refleaks | Benjamin Peterson | 2013-11-14 | 1 | -3/+7 |
| | | |||||
* | | adjust style | Benjamin Peterson | 2013-11-14 | 1 | -12/+8 |
| | | |||||
* | | asyncio: Relax timing requirement. Fixes issue 19579. | Guido van Rossum | 2013-11-14 | 1 | -2/+2 |
| | | |||||
* | | merge | Christian Heimes | 2013-11-14 | 3 | -15/+21 |
|\ \ | |||||
| * | | 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; } | ||||
| * | | Issue #19437: Fix fold_unaryops_on_constants() of the peephole optimizer, clear | Victor Stinner | 2013-11-14 | 1 | -0/+1 |
| | | | | | | | | | | | | the exception when PyList_Append() fails | ||||
* | | | Issue #17828: _PyObject_GetDictPtr() may return NULL instead of a PyObject** | Christian Heimes | 2013-11-14 | 1 | -3/+5 |
|/ / | | | | | | | CID 1128792: Dereference null return value (NULL_RETURNS) | ||||
* | | Issue #17828: va_start() must be accompanied by va_end() | Christian Heimes | 2013-11-14 | 1 | -6/+7 |
| | | | | | | | | CID 1128793: Missing varargs init or cleanup (VARARGS) | ||||
* | | asyncio: Fix from Anthony Baire for CPython issue 19566 (replaces earlier fix). | Guido van Rossum | 2013-11-13 | 3 | -42/+60 |
| | | |||||
* | | removed Enum.__eq__ as it added nothing | Ethan Furman | 2013-11-13 | 2 | -5/+11 |
| | | |||||
* | | asyncio: Temporary fix by Victor Stinner for issue 19566. | Guido van Rossum | 2013-11-13 | 1 | -2/+3 |
| | | |||||
* | | Issue #17839: mention base64 change in What's New | Nick Coghlan | 2013-11-13 | 1 | -0/+8 |
| | | |||||
* | | Close #17828: better handling of codec errors | Nick Coghlan | 2013-11-13 | 7 | -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 |