Serhiy Storchaka
7efaf95934
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
10 years ago
Martin Panter
afdd51343c
Issue #25764 : Preserve subprocess fork exception when preexec_fn used
Also fix handling of failure to release the import lock.
10 years ago
Serhiy Storchaka
ca28eba3d3
Fixed reference leak when read truncated pickle.
10 years ago
Serhiy Storchaka
097a664f57
Issue #19687 : Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.
10 years ago
Serhiy Storchaka
a49de6be36
Issue #25725 : Fixed a reference leak in pickle.loads() when unpickling
invalid data including tuple instructions.
10 years ago
Serhiy Storchaka
e9b3074cf9
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
10 years ago
Serhiy Storchaka
b6aa5375d5
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
10 years ago
Serhiy Storchaka
04d759b1e4
Issue #19687 : Fixed memory leak on failed Element slice assignment.
Added new tests for Element slice assignments.
10 years ago
Benjamin Peterson
025a1fd990
rm trailing ws
10 years ago
Benjamin Peterson
f0c9038a36
fix possible memory lea k in _get_aia_uri ( closes #25578 )
10 years ago
Benjamin Peterson
806fb25405
fix build with older openssl ( #25569 )
10 years ago
Martin Panter
1bb651540e
Issue #25498 : Fix GC crash due to ctypes objects wrapping a memoryview
This was a regression caused by revision 1da9630e9b7f. Based on patch by
Eryksun.
10 years ago
Benjamin Peterson
a9dcdabccb
always set OP_NO_SSLv3 by default ( closes #25530 )
10 years ago
Benjamin Peterson
eda06c8f5e
fix memory leak in _get_crl_dp ( closes #25569 )
Patch started by Stéphane Wirtel.
10 years ago
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
10 years ago
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
10 years ago
Benjamin Peterson
b397e3b526
add a missing comma ( closes #25371 )
10 years ago
Martin Panter
cfad54344f
Issue #22413 : Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
10 years ago
Martin Panter
9955a373a8
Various minor typos in documentation and comments
10 years ago
Berker Peksag
e2382c598c
Issue #25290 : Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
10 years ago
Serhiy Storchaka
e060619d4b
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
10 years ago
Alexander Belopolsky
edc6885b3f
Closes issue #23600 : Wrong results from tzinfo.fromutc().
10 years ago
Alexander Belopolsky
c79447b267
Closes issue #23600 : Wrong results from tzinfo.fromutc().
10 years ago
Serhiy Storchaka
1138439376
Issue #25203 : Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
10 years ago
Benjamin Peterson
3c0769d478
fix spacing
10 years ago
Benjamin Peterson
6aa1564e9c
initialize return value to NULL to avoid compiler compliants ( closes #25245 )
10 years ago
Benjamin Peterson
e48cf7e729
prevent overflow in _Unpickler_Read
10 years ago
Victor Stinner
511491ade0
Issue #23517 : Fix rounding in fromtimestamp() and utcfromtimestamp() methods
of datetime.datetime: microseconds are now rounded to nearest with ties going
to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
zero (ROUND_DOWN). It's important that these methods use the same rounding
mode than datetime.timedelta to keep the property:
(datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t)
It also the rounding mode used by round(float) for example.
Add more unit tests on the rounding mode in test_datetime.
10 years ago
Kristján Valur Jónsson
102764a1f6
Issue #25021 : Correctly make sure that product.__setstate__ does not access
invalid memory.
11 years ago
Victor Stinner
ec1a498a01
Issue #24684 : socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom string with an encode() method which doesn't
return a byte string. The encoder of the IDNA codec is now called directly
instead of calling the encode() method of the string.
11 years ago
Martin Panter
db4220ea09
Issue #25030 : Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
11 years ago
Martin Panter
9499413508
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
11 years ago
Martin Panter
bf19d16950
Issue #23738 : Document and test actual keyword parameter names
Also fix signature because os.utime(..., ns=None) is not allowed.
11 years ago
Serhiy Storchaka
de5f9f4f70
Raise more correct exception on overflow in setting buffer_size attribute of
expat parser.
11 years ago
Serhiy Storchaka
931331a328
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
11 years ago
Steve Dower
aa2fcc6b35
Issue #24917 : time_strftime() buffer over-read.
11 years ago
Steve Dower
ef920d6d5e
Backed out changeset: a29b49d57769
11 years ago
Steve Dower
0fba9b324f
Issue #24917 : time_strftime() Buffer Over-read. Patch by John Leitch.
11 years ago
Victor Stinner
528a9ab1f0
Don't use defined() in C preprocessor macros
The ICC compiler doesn't seem to support defined() in macro expansion. Example
of warning:
warning #3199 : "defined" is always false in a macro expansion in Microsoft mode
11 years ago
Benjamin Peterson
f6b5cad3c3
include fcntl.h on all *nix platforms ( closes #24217 )
Patch by Jeffrey Armstrong.
11 years ago
Zachary Ware
3e77677692
Issue #23652 : Make the select module compile against LSB headers.
Patch by Matt Frank.
11 years ago
Victor Stinner
9c631a0f71
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
written by Matthieu Gautier.
11 years ago
Raymond Hettinger
acd61b6e40
Issue #24735 : Fix invalid memory access in combinations_with_replacement()
11 years ago
Serhiy Storchaka
83236f7a8b
Issue #24683 : Fixed crashes in _json functions called with arguments of
inappropriate type.
11 years ago
Serhiy Storchaka
178f0b6ddc
Issue #24620 : Random.setstate() now validates the value of state last element.
11 years ago
Raymond Hettinger
239aba7874
Issue #19663 : Improve error message for defaultdict.
11 years ago
Benjamin Peterson
d113c967b4
improve style of the convert macro ( #24655 )
Patch by Brian Cain.
11 years ago
Victor Stinner
579db160b3
Closes #23247 : Fix a crash in the StreamWriter.reset() of CJK codecs
11 years ago
Serhiy Storchaka
03d6ee3823
Issue #18684 : Fixed reading out of the buffer in the re module.
11 years ago
Benjamin Peterson
80f78a3efc
fix use after free ( closes #24552 )
11 years ago