summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge with 3.3Andrew Kuchling2013-06-151-0/+4
|\
| * #18113: Objects associated to a curses.panel object with set_userptr() were ↵Andrew Kuchling2013-06-151-0/+4
| | | | | | | | | | | | leaked. Reported by Atsuo Ishimoto.
* | Revert changeset 6661a8154eb3: Issue #3329: Add new APIs to customize memory ↵Victor Stinner2013-06-151-178/+0
| | | | | | | | | | | | allocators The new API require more discussion.
* | Issue #3329: Add new APIs to customize memory allocatorsVictor Stinner2013-06-141-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_pathsChristian Heimes2013-06-141-11/+3
| | | | | | | | prefix function with PySSL_, too. Other module level functions have a prefix, too.
* | fixd refleakChristian Heimes2013-06-101-1/+9
| |
* | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+1
|\ \ | |/ | | | | AI_NUMERICSERV isn't defined on OSX 10.4.
| * Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-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 Heimes2013-06-091-0/+132
| |
* | get_default_verify_paths doesn't belong inside the ifdef blockChristian Heimes2013-06-091-1/+1
| |
* | Issue #18143: Implement ssl.get_default_verify_paths() in order to debugChristian Heimes2013-06-091-0/+42
| | | | | | | | the default locations for cafile and capath.
* | Issue #17931: Resolve confusion on Windows between pids and process handles.Richard Oudkerk2013-06-051-16/+9
| |
* | Add reference implementation for PEP 443Łukasz Langa2013-06-051-1/+1
| | | | | | | | PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html
* | Issue #13772: Use syntax for literal wchar_t characterVictor Stinner2013-06-051-1/+1
| |
* | Issue #13772: Mark helper functions as private (static)Victor Stinner2013-06-041-34/+41
| | | | | | | | Cleanup also the code to follow the Python coding style (PEP 7).
* | Issue #13772: Fix a compiler warning on WindowsVictor Stinner2013-06-041-1/+1
| |
* | Issue #13772: fix _check_dirA(): call *A() functions, not *W() functionsVictor Stinner2013-06-041-2/+2
| |
* | Issue #13772: Fix compiler warnings on WindowsVictor Stinner2013-06-041-3/+3
| |
* | Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.cVictor Stinner2013-06-041-7/+7
| |
* | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macrosVictor Stinner2013-06-046-40/+14
| | | | | | | | multiprocessing.h: remove unused MIN and MAX macros
* | (Merge 3.3) Close #18109: os.uname() now decodes fields from the localeVictor Stinner2013-06-032-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, andVictor Stinner2013-06-032-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-bitVictor Stinner2013-05-161-1/+1
| |
* | Merge 3.3.Stefan Krah2013-05-291-7/+8
|\ \ | |/
| * Support multiarch build in tests.Stefan Krah2013-05-291-7/+8
| |
| * Backport bff16086f03b and bcaaaa00425b.Stefan Krah2013-05-291-5/+5
| |
* | Mark untestable lines for gcov.Stefan Krah2013-05-291-5/+5
| |
* | Merge 3.3.Stefan Krah2013-05-293-15/+59
|\ \ | |/
| * Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah2013-05-293-15/+59
| | | | | | | | character in _decimal.c.
* | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-281-0/+8
|\ \ | |/ | | | | stream's read() returns more bytes than requested.
| * Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-281-0/+8
| | | | | | | | stream's read() returns more bytes than requested.
* | Merge with 3.3Jason R. Coombs2013-05-281-2/+127
|\ \ | |/
| * Issue #13772: Restored directory detection of targets in `os.symlink` on ↵Jason R. Coombs2013-05-281-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 Peterson2013-05-271-0/+46
| | | | | | | | | | | | (closes #17206) A patch from Illia Polosukhin.
* | Issue #13612: handle unknown encodings without a buffer overflow.Eli Bendersky2013-05-252-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 Bendersky2013-05-252-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 Pitrou2013-05-251-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 Pitrou2013-05-251-1/+3
| |
* | merge 3.3Benjamin Peterson2013-05-241-3/+3
|\ \ | |/
| * indicate that read/write work with bytes (closes #18009)Benjamin Peterson2013-05-241-3/+3
| |
* | (3.3->default) Issue #17269: Workaround for a platform bug in getaddrinfo on OSXRonald Oussoren2013-05-241-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 OSXRonald Oussoren2013-05-241-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 whenSerhiy Storchaka2013-05-222-9/+31
|\ \ | |/ | | | | an internal XML encoding is UTF-8 or US-ASCII.
| * Issue #16986: ElementTree now correctly parses a string input not only whenSerhiy Storchaka2013-05-222-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-211-0/+3
| |
* | Backed out changeset c0f2b038fc12Charles-François Natali2013-05-211-1/+1
| |
* | Issue #17683: socket module: return AF_UNIX addresses in Linux abstractCharles-François Natali2013-05-211-1/+1
| | | | | | | | namespace as string.
* | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()Charles-Francois Natali2013-05-2010-680/+653
| | | | | | | | when applicable.
* | Issue #17914: We can now inline _bsd_cpu_count().Charles-Francois Natali2013-05-201-22/+6
| |
* | Issue #17914: Remove OS-X special-case, and use the correct int type.Charles-Francois Natali2013-05-201-9/+6
| |