Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge with 3.3 | Andrew Kuchling | 2013-06-15 | 1 | -0/+4 |
|\ | |||||
| * | #18113: Objects associated to a curses.panel object with set_userptr() were ↵ | Andrew Kuchling | 2013-06-15 | 1 | -0/+4 |
| | | | | | | | | | | | | leaked. Reported by Atsuo Ishimoto. | ||||
* | | Revert changeset 6661a8154eb3: Issue #3329: Add new APIs to customize memory ↵ | Victor Stinner | 2013-06-15 | 1 | -178/+0 |
| | | | | | | | | | | | | allocators The new API require more discussion. | ||||
* | | Issue #3329: Add new APIs to customize memory allocators | Victor Stinner | 2013-06-14 | 1 | -0/+178 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a new PyMemAllocators structure * New functions: - PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree(): GIL-free memory allocator functions - PyMem_GetRawAllocators(), PyMem_SetRawAllocators() - PyMem_GetAllocators(), PyMem_SetAllocators() - PyMem_SetupDebugHooks() - _PyObject_GetArenaAllocators(), _PyObject_SetArenaAllocators() * Add unit test for PyMem_Malloc(0) and PyObject_Malloc(0) * Add unit test for new get/set allocators functions * PyObject_Malloc() now falls back on PyMem_Malloc() instead of malloc() if size is bigger than SMALL_REQUEST_THRESHOLD, and PyObject_Realloc() falls back on PyMem_Realloc() instead of realloc() * PyMem_Malloc() and PyMem_Realloc() now always call malloc() and realloc(), instead of calling PyObject_Malloc() and PyObject_Realloc() in debug mode | ||||
* | | Simplify return value of ssl.get_default_verify_paths | Christian Heimes | 2013-06-14 | 1 | -11/+3 |
| | | | | | | | | prefix function with PySSL_, too. Other module level functions have a prefix, too. | ||||
* | | fixd refleak | Christian Heimes | 2013-06-10 | 1 | -1/+9 |
| | | |||||
* | | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 1 | -1/+1 |
|\ \ | |/ | | | | | AI_NUMERICSERV isn't defined on OSX 10.4. | ||||
| * | Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 1 | -1/+1 |
| | | | | | | | | AI_NUMERICSERV isn't defined on OSX 10.4. | ||||
* | | Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store. | Christian Heimes | 2013-06-09 | 1 | -0/+132 |
| | | |||||
* | | get_default_verify_paths doesn't belong inside the ifdef block | Christian Heimes | 2013-06-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #18143: Implement ssl.get_default_verify_paths() in order to debug | Christian Heimes | 2013-06-09 | 1 | -0/+42 |
| | | | | | | | | the default locations for cafile and capath. | ||||
* | | Issue #17931: Resolve confusion on Windows between pids and process handles. | Richard Oudkerk | 2013-06-05 | 1 | -16/+9 |
| | | |||||
* | | Add reference implementation for PEP 443 | Łukasz Langa | 2013-06-05 | 1 | -1/+1 |
| | | | | | | | | PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html | ||||
* | | Issue #13772: Use syntax for literal wchar_t character | Victor Stinner | 2013-06-05 | 1 | -1/+1 |
| | | |||||
* | | Issue #13772: Mark helper functions as private (static) | Victor Stinner | 2013-06-04 | 1 | -34/+41 |
| | | | | | | | | Cleanup also the code to follow the Python coding style (PEP 7). | ||||
* | | Issue #13772: Fix a compiler warning on Windows | Victor Stinner | 2013-06-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #13772: fix _check_dirA(): call *A() functions, not *W() functions | Victor Stinner | 2013-06-04 | 1 | -2/+2 |
| | | |||||
* | | Issue #13772: Fix compiler warnings on Windows | Victor Stinner | 2013-06-04 | 1 | -3/+3 |
| | | |||||
* | | Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.c | Victor Stinner | 2013-06-04 | 1 | -7/+7 |
| | | |||||
* | | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros | Victor Stinner | 2013-06-04 | 6 | -40/+14 |
| | | | | | | | | multiprocessing.h: remove unused MIN and MAX macros | ||||
* | | (Merge 3.3) Close #18109: os.uname() now decodes fields from the locale | Victor Stinner | 2013-06-03 | 2 | -9/+9 |
|\ \ | |/ | | | | | | | encoding, and socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode. | ||||
| * | Close #18109: os.uname() now decodes fields from the locale encoding, and | Victor Stinner | 2013-06-03 | 2 | -9/+9 |
| | | | | | | | | | | socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode. | ||||
* | | Fix compilater warnings on Windows 64-bit | Victor Stinner | 2013-05-16 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.3. | Stefan Krah | 2013-05-29 | 1 | -7/+8 |
|\ \ | |/ | |||||
| * | Support multiarch build in tests. | Stefan Krah | 2013-05-29 | 1 | -7/+8 |
| | | |||||
| * | Backport bff16086f03b and bcaaaa00425b. | Stefan Krah | 2013-05-29 | 1 | -5/+5 |
| | | |||||
* | | Mark untestable lines for gcov. | Stefan Krah | 2013-05-29 | 1 | -5/+5 |
| | | |||||
* | | Merge 3.3. | Stefan Krah | 2013-05-29 | 3 | -15/+59 |
|\ \ | |/ | |||||
| * | Issue #17768: Support newline fill character in decimal.py and NUL fill | Stefan Krah | 2013-05-29 | 3 | -15/+59 |
| | | | | | | | | character in _decimal.c. | ||||
* | | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw | Serhiy Storchaka | 2013-05-28 | 1 | -0/+8 |
|\ \ | |/ | | | | | stream's read() returns more bytes than requested. | ||||
| * | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw | Serhiy Storchaka | 2013-05-28 | 1 | -0/+8 |
| | | | | | | | | stream's read() returns more bytes than requested. | ||||
* | | Merge with 3.3 | Jason R. Coombs | 2013-05-28 | 1 | -2/+127 |
|\ \ | |/ | |||||
| * | Issue #13772: Restored directory detection of targets in `os.symlink` on ↵ | Jason R. Coombs | 2013-05-28 | 1 | -2/+127 |
| | | | | | | | | Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory. | ||||
* | | don't expand the operand to Py_XINCREF/XDECREF/CLEAR/DECREF multiple times ↵ | Benjamin Peterson | 2013-05-27 | 1 | -0/+46 |
| | | | | | | | | | | | | (closes #17206) A patch from Illia Polosukhin. | ||||
* | | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 2 | -73/+28 |
|\ \ | |/ | | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. | ||||
| * | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 2 | -73/+28 |
| | | | | | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. | ||||
* | | Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC ↵ | Antoine Pitrou | 2013-05-25 | 1 | -3/+4 |
| | | | | | | | | | | | | preprocessor doesn't process #ifdef's inside a macro argument list. (found explanation at http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2007-05/msg00385.html) | ||||
* | | Issue #8240: Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag on SSL sockets. | Antoine Pitrou | 2013-05-25 | 1 | -1/+3 |
| | | |||||
* | | merge 3.3 | Benjamin Peterson | 2013-05-24 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | indicate that read/write work with bytes (closes #18009) | Benjamin Peterson | 2013-05-24 | 1 | -3/+3 |
| | | |||||
* | | (3.3->default) Issue #17269: Workaround for a platform bug in getaddrinfo on OSX | Ronald Oussoren | 2013-05-24 | 1 | -0/+9 |
|\ \ | |/ | | | | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations. | ||||
| * | Issue #17269: Workaround for a platform bug in getaddrinfo on OSX | Ronald Oussoren | 2013-05-24 | 1 | -0/+9 |
| | | | | | | | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations. | ||||
* | | Issue #16986: ElementTree now correctly parses a string input not only when | Serhiy Storchaka | 2013-05-22 | 2 | -9/+31 |
|\ \ | |/ | | | | | an internal XML encoding is UTF-8 or US-ASCII. | ||||
| * | Issue #16986: ElementTree now correctly parses a string input not only when | Serhiy Storchaka | 2013-05-22 | 2 | -9/+31 |
| | | | | | | | | an internal XML encoding is UTF-8 or US-ASCII. | ||||
* | | Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX. | Giampaolo Rodola' | 2013-05-21 | 1 | -0/+3 |
| | | |||||
* | | Backed out changeset c0f2b038fc12 | Charles-François Natali | 2013-05-21 | 1 | -1/+1 |
| | | |||||
* | | Issue #17683: socket module: return AF_UNIX addresses in Linux abstract | Charles-François Natali | 2013-05-21 | 1 | -1/+1 |
| | | | | | | | | namespace as string. | ||||
* | | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() | Charles-Francois Natali | 2013-05-20 | 10 | -680/+653 |
| | | | | | | | | when applicable. | ||||
* | | Issue #17914: We can now inline _bsd_cpu_count(). | Charles-Francois Natali | 2013-05-20 | 1 | -22/+6 |
| | | |||||
* | | Issue #17914: Remove OS-X special-case, and use the correct int type. | Charles-Francois Natali | 2013-05-20 | 1 | -9/+6 |
| | |