summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Issue #17914: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on anCharles-Francois Natali2013-05-201-0/+68
| | | | | | | | initial patch by Trent Nelson.
* | Get rid of ugly code duplication for ElementTree.parse when the acceleratorEli Bendersky2013-05-201-4/+3
| | | | | | | | | | is imported. Instead, ElementTree.parse can look for a special internal method defined by the accelerator.
* | Issue #17989: fix typo in error messageEli Bendersky2013-05-201-1/+1
|\ \ | |/
| * Issue #17989: fix typo in error messageEli Bendersky2013-05-191-1/+1
| |
* | _elementtree.XMLParser._setevents should support any sequence, not just tuplesEli Bendersky2013-05-191-46/+42
| | | | | | | | Also clean up some code around this
* | Issue #17937: Try harder to collect cyclic garbage at shutdown.Antoine Pitrou2013-05-181-6/+25
| |
* | Issue #17901: fix TreeBuilder construction for an explicit element_factory=NoneEli Bendersky2013-05-181-1/+1
|\ \ | |/ | | | | Based on report and patch by Aaron Oakley.
| * Issue #17901: fix TreeBuilder construction for an explicit element_factory=NoneEli Bendersky2013-05-181-1/+1
| | | | | | | | Based on report and patch by Aaron Oakley.
* | Issue #17989: element_setattro returned incorrect error value.Eli Bendersky2013-05-181-8/+8
|\ \ | |/ | | | | This caused an exception to be raised later than expected.
| * Issue #17989: element_setattro returned incorrect error value.Eli Bendersky2013-05-181-8/+8
| | | | | | | | This caused an exception to be raised later than expected.