Christian Heimes
|
75b8426698
|
fixd refleak
|
2013-06-10 10:47:22 +02:00 |
|
Ronald Oussoren
|
36451f076b
|
(3.3->default) Ensure that the fix for #17269 also works on OSX 10.4
AI_NUMERICSERV isn't defined on OSX 10.4.
|
2013-06-10 10:37:12 +02:00 |
|
Christian Heimes
|
46bebee25f
|
Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store.
|
2013-06-09 19:03:31 +02:00 |
|
Christian Heimes
|
142ec2c014
|
get_default_verify_paths doesn't belong inside the ifdef block
|
2013-06-09 18:29:54 +02:00 |
|
Christian Heimes
|
6d7ad13a45
|
Issue #18143: Implement ssl.get_default_verify_paths() in order to debug
the default locations for cafile and capath.
|
2013-06-09 18:02:55 +02:00 |
|
Richard Oudkerk
|
ac0ad884d1
|
Issue #17931: Resolve confusion on Windows between pids and process handles.
|
2013-06-05 23:29:30 +01:00 |
|
Łukasz Langa
|
6f69251980
|
Add reference implementation for PEP 443
PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html
|
2013-06-05 12:20:24 +02:00 |
|
Victor Stinner
|
072318b178
|
Issue #13772: Use syntax for literal wchar_t character
|
2013-06-05 02:07:46 +02:00 |
|
Victor Stinner
|
31b3b92f7a
|
Issue #13772: Mark helper functions as private (static)
Cleanup also the code to follow the Python coding style (PEP 7).
|
2013-06-05 01:49:17 +02:00 |
|
Victor Stinner
|
e87267dc6e
|
Issue #13772: Fix a compiler warning on Windows
|
2013-06-05 01:30:25 +02:00 |
|
Victor Stinner
|
5a4367600f
|
Issue #13772: fix _check_dirA(): call *A() functions, not *W() functions
|
2013-06-05 00:37:12 +02:00 |
|
Victor Stinner
|
e7e7eba108
|
Issue #13772: Fix compiler warnings on Windows
|
2013-06-05 00:35:54 +02:00 |
|
Victor Stinner
|
fbf50d43da
|
Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.c
|
2013-06-04 23:18:48 +02:00 |
|
Victor Stinner
|
640c35ce13
|
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
multiprocessing.h: remove unused MIN and MAX macros
|
2013-06-04 23:14:37 +02:00 |
|
Victor Stinner
|
0b81111b18
|
(Merge 3.3) Close #18109: os.uname() now decodes fields from the locale
encoding, and socket.gethostname() now decodes the hostname from the locale
encoding, instead of using the UTF-8 encoding in strict mode.
|
2013-06-03 22:09:14 +02:00 |
|
Victor Stinner
|
725e421222
|
Fix compilater warnings on Windows 64-bit
|
2013-05-17 00:19:59 +02:00 |
|
Stefan Krah
|
b6cc0aad4b
|
Merge 3.3.
|
2013-05-29 21:12:46 +02:00 |
|
Stefan Krah
|
a0547b8ac4
|
Mark untestable lines for gcov.
|
2013-05-29 19:08:34 +02:00 |
|
Stefan Krah
|
8d90e383a3
|
Merge 3.3.
|
2013-05-29 15:47:24 +02:00 |
|
Serhiy Storchaka
|
281945f427
|
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
|
2013-05-28 16:27:08 +03:00 |
|
Jason R. Coombs
|
8f1a8e32b1
|
Merge with 3.3
|
2013-05-27 23:26:36 -04:00 |
|
Benjamin Peterson
|
da5eb5a31c
|
don't expand the operand to Py_XINCREF/XDECREF/CLEAR/DECREF multiple times (closes #17206)
A patch from Illia Polosukhin.
|
2013-05-27 14:46:14 -07:00 |
|
Eli Bendersky
|
7b3022f24f
|
Issue #13612: handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
|
2013-05-25 05:27:10 -07:00 |
|
Antoine Pitrou
|
19fef69b75
|
Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC 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)
|
2013-05-25 13:23:03 +02:00 |
|
Antoine Pitrou
|
3a65ad7f08
|
Issue #8240: Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag on SSL sockets.
|
2013-05-25 13:02:32 +02:00 |
|
Benjamin Peterson
|
e08b583d88
|
merge 3.3
|
2013-05-24 14:36:04 -07:00 |
|
Ronald Oussoren
|
dc3e6cc452
|
(3.3->default) Issue #17269: Workaround for a platform bug in getaddrinfo on OSX
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
|
2013-05-24 13:51:21 +02:00 |
|
Serhiy Storchaka
|
447b6e3c6e
|
Issue #16986: ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.
|
2013-05-22 17:21:06 +03:00 |
|
Giampaolo Rodola'
|
80e1c43ddf
|
Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX.
|
2013-05-21 21:02:04 +02:00 |
|
Charles-François Natali
|
b10c71daa2
|
Backed out changeset c0f2b038fc12
|
2013-05-21 10:45:46 +02:00 |
|
Charles-François Natali
|
c7c333d25d
|
Issue #17683: socket module: return AF_UNIX addresses in Linux abstract
namespace as string.
|
2013-05-21 09:49:18 +02:00 |
|
Charles-Francois Natali
|
74ca886788
|
Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()
when applicable.
|
2013-05-20 19:13:19 +02:00 |
|
Charles-Francois Natali
|
7c4f8dacf4
|
Issue #17914: We can now inline _bsd_cpu_count().
|
2013-05-20 17:40:32 +02:00 |
|
Charles-Francois Natali
|
d59087de5b
|
Issue #17914: Remove OS-X special-case, and use the correct int type.
|
2013-05-20 17:31:06 +02:00 |
|
Charles-Francois Natali
|
44feda3cd0
|
Issue #17914: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an
initial patch by Trent Nelson.
|
2013-05-20 14:40:46 +02:00 |
|
Eli Bendersky
|
a369923cab
|
Get rid of ugly code duplication for ElementTree.parse when the accelerator
is imported. Instead, ElementTree.parse can look for a special internal method
defined by the accelerator.
|
2013-05-19 18:47:23 -07:00 |
|
Eli Bendersky
|
3a36756ba1
|
Issue #17989: fix typo in error message
|
2013-05-19 17:00:28 -07:00 |
|
Eli Bendersky
|
3a4fbd8241
|
_elementtree.XMLParser._setevents should support any sequence, not just tuples
Also clean up some code around this
|
2013-05-19 09:01:49 -07:00 |
|
Antoine Pitrou
|
fef34e3186
|
Issue #17937: Try harder to collect cyclic garbage at shutdown.
|
2013-05-19 01:11:58 +02:00 |
|
Eli Bendersky
|
20c1cdd64a
|
Issue #17901: fix TreeBuilder construction for an explicit element_factory=None
Based on report and patch by Aaron Oakley.
|
2013-05-18 15:47:58 -07:00 |
|
Eli Bendersky
|
1a8c3e247a
|
Issue #17989: element_setattro returned incorrect error value.
This caused an exception to be raised later than expected.
|
2013-05-18 07:53:47 -07:00 |
|
Victor Stinner
|
3e269397e3
|
FileIO.readall(): remove trailing space from an exception message
|
2013-05-18 00:38:43 +02:00 |
|
Richard Oudkerk
|
af7260e81a
|
Issue #15758: Fix FileIO.readall() so it no longer has O(n**2) complexity.
|
2013-05-17 23:34:42 +01:00 |
|
Serhiy Storchaka
|
fff61f2cd3
|
Issue #14596: The struct.Struct() objects now use more compact implementation.
|
2013-05-17 10:49:44 +03:00 |
|
Benjamin Peterson
|
aa96588399
|
merge 3.3
|
2013-05-16 15:30:09 -05:00 |
|
Victor Stinner
|
6fdd7b81fa
|
Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function
is long, not int.
|
2013-05-16 22:26:29 +02:00 |
|
doko@ubuntu.com
|
94fd53ba4e
|
- Fix typos in the multiprocessing module.
|
2013-05-15 18:08:03 +02:00 |
|
Antoine Pitrou
|
9396356948
|
Backout c89febab4648 following private feedback by Guido.
(Issue #17807: Generators can now be finalized even when they are part of a reference cycle)
|
2013-05-14 20:37:52 +02:00 |
|
Benjamin Peterson
|
cde88dcf10
|
merge 3.3 (#17968)
|
2013-05-13 19:56:35 -05:00 |
|
Antoine Pitrou
|
5f18791902
|
Issue #17968: Fix memory leak in os.listxattr().
|
2013-05-13 19:48:46 +02:00 |
|