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 |
|
Serhiy Storchaka
|
37a79a12d1
|
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
|
2013-05-28 16:24:45 +03:00 |
|
Jason R. Coombs
|
8f1a8e32b1
|
Merge with 3.3
|
2013-05-27 23:26:36 -04:00 |
|
Jason R. Coombs
|
3a09286790
|
Issue #13772: Restored directory detection of targets in os.symlink on 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.
|
2013-05-27 23:21:28 -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 |
|
Eli Bendersky
|
6dc32b34dd
|
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:25:48 -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 |
|
Benjamin Peterson
|
3b08a2978e
|
indicate that read/write work with bytes (closes #18009)
|
2013-05-24 14:35:57 -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 |
|
Ronald Oussoren
|
27a4ac535f
|
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:47:37 +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 |
|
Serhiy Storchaka
|
66d53fa9ad
|
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:07:51 +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
|
6a55dc3b4a
|
Issue #17989: fix typo in error message
|
2013-05-19 16:59:59 -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
|
08231a9c6a
|
Issue #17901: fix TreeBuilder construction for an explicit element_factory=None
Based on report and patch by Aaron Oakley.
|
2013-05-18 15:47:16 -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 |
|
Eli Bendersky
|
ef9683b73f
|
Issue #17989: element_setattro returned incorrect error value.
This caused an exception to be raised later than expected.
|
2013-05-18 07:52:34 -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 |
|
Benjamin Peterson
|
18b7191653
|
C89 declaration compliance
|
2013-05-16 15:29:44 -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 |
|
doko@ubuntu.com
|
9df891ca41
|
- Fix typos in the multiprocessing module.
|
2013-05-15 18:06:56 +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 |
|
Benjamin Peterson
|
dedac52731
|
prevent double free in cleanup code (#17968)
|
2013-05-13 19:55:40 -05:00 |
|
Antoine Pitrou
|
5f18791902
|
Issue #17968: Fix memory leak in os.listxattr().
|
2013-05-13 19:48:46 +02:00 |
|
Antoine Pitrou
|
7f987398b7
|
Issue #17968: Fix memory leak in os.listxattr().
|
2013-05-13 19:46:29 +02:00 |
|
Antoine Pitrou
|
04e70d19e7
|
Issue #17807: Generators can now be finalized even when they are part of a reference cycle.
|
2013-05-08 18:12:35 +02:00 |
|
Antoine Pitrou
|
070cb3c9be
|
Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable.
(should fix Windows buildbot failures on test_gc)
|
2013-05-08 13:23:25 +02:00 |
|
Ezio Melotti
|
0fbdf26158
|
#16523: merge with 3.3.
|
2013-05-08 10:56:32 +03:00 |
|
Ezio Melotti
|
babc8227cc
|
#16523: improve attrgetter/itemgetter/methodcaller documentation.
|
2013-05-08 10:53:11 +03:00 |
|
Victor Stinner
|
70792d268e
|
Fix compiler warnings: explicit cast to int in sha256/sha512 modules
|
2013-05-08 00:00:44 +02:00 |
|
Victor Stinner
|
e8289618bf
|
zlib: Explicit cast to fix a compiler warning
|
2013-05-07 23:50:21 +02:00 |
|