Victor Stinner
bd2d30cf31
Issue #17209 : curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
13 years ago
Kristján Valur Jónsson
5aed330e37
Issue #10296 : Don't handle BreakPoint exceptions using
Structured Exception Handling on windows.
13 years ago
R David Murray
f5d7cc239e
#8862 : Fix curses cleanup with getchar is interrupted by a signal.
I have no idea how one would write a test for this.
Patch by July Tikhonov.
13 years ago
Gregory P. Smith
029273fc90
Fixes issue #17192 : Update the ctypes module's libffi to v3.0.13. This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
13 years ago
Terry Jan Reedy
0f84764a09
Issue #17047 : remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
13 years ago
Terry Jan Reedy
0158af38b7
Issue #17047 : remove doubled words found in 2.7 to 3.4 Modules/*,
as reported by Serhiy Storchaka and Matthew Barnett.
13 years ago
Antoine Pitrou
44d5214927
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
13 years ago
Gregory P. Smith
255bf5b9ec
Issue #16962 : Use getdents64 instead of the obsolete getdents syscall in
the subprocess module on Linux.
13 years ago
Victor Stinner
29ec595c6a
Issue #17223 : array module: Fix a crasher when converting an array containing
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array),
str(array) and array.tounicode(). Patch written by Manuel Jacob.
13 years ago
R David Murray
67bfe80758
#17275 : Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
13 years ago
Serhiy Storchaka
59f5dee3d6
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
a string argument contains non-BMP character.
13 years ago
Serhiy Storchaka
fa46816915
Issue #9669 : Protect re against infinite loops on zero-width matching in
non-greedy repeat. Patch by Matthew Barnett.
13 years ago
Serhiy Storchaka
f8def28ff0
Issue #17193 : Use binary prefixes (KiB, MiB, GiB) for memory units.
13 years ago
Serhiy Storchaka
70ca0210e8
Issue #13169 : The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
13 years ago
Richard Oudkerk
0d09ba8e0b
Issue #16743 : Fix mmap overflow check on 32 bit Windows
13 years ago
Serhiy Storchaka
e4ad8aacd1
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
13 years ago
Serhiy Storchaka
55e2238272
Raise KeyError instead of OverflowError when getpwuid's argument is out of
uid_t range.
13 years ago
Serhiy Storchaka
b462189921
Reject float as uid or gid.
A regression was introduced in the commit for issue issue #4591 .
13 years ago
Serhiy Storchaka
7cf5599346
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
13 years ago
Raymond Hettinger
986bbfc079
Backport deque.rotate() improvements.
13 years ago
Antoine Pitrou
4de7457009
Issue #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag).
13 years ago
Serhiy Storchaka
01ad622a2c
Issue #16686 : Fixed a lot of bugs in audioop module.
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
13 years ago
Serhiy Storchaka
3cf96ac248
Issue #17073 : Fix some integer overflows in sqlite3 module.
13 years ago
Serhiy Storchaka
43536e9e37
Issue #17089 : Expat parser now correctly works with string input not only when
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
13 years ago
R David Murray
95b7110a11
#17091 : update docstring for _thread.Lock.acquire.
The main docs were fixed to remove mention of None long ago,
but the docstring was not. Reported by Armin Rigo, patch
by Ian Cordasco.
13 years ago
Serhiy Storchaka
19c4e0df29
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
13 years ago
Serhiy Storchaka
94dc6736bd
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
13 years ago
Nadeem Vawda
6375257188
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
13 years ago
Gregory P. Smith
aded2e5e59
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
13 years ago
Gregory P. Smith
b9817b01ed
Additional fix for Issue #12268 : The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR).
13 years ago
Brett Cannon
0ecd30b4af
Issue #17098 : Make sure every module has __loader__ defined.
Thanks to Thomas Heller for the bug report.
13 years ago
Nadeem Vawda
6f02ea02c8
Issue #13886 : Fix input() to not strip out supposedly-invalid input bytes.
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
13 years ago
Ezio Melotti
3f5db3940f
Fix a few typos and a double semicolon. Patch by Eitan Adler.
13 years ago
Ronald Oussoren
697e56d0f5
Issue #1602133 : 'environ' is not really available with shared libraries on OSX
There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.
Closes #1602133
13 years ago
Serhiy Storchaka
e7e9c32195
Clean trailing whitespace in itertoolsmodule.c.
13 years ago
Serhiy Storchaka
a3e9128aba
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
13 years ago
Stefan Krah
eb8c451bd2
Since the return type of format() is not a Decimal, raise ValueError instead of
InvalidOperation if the format specification (width, prec) exceeds the internal
limits of libmpdec.
13 years ago
Charles-François Natali
986a56cefe
Issue #16953 : Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.
13 years ago
Serhiy Storchaka
441d30fac7
Issue #15989 : Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
13 years ago
Raymond Hettinger
bd8f29028e
Show the function signature in the docstring
13 years ago
Benjamin Peterson
c68a4a048c
check windows fd validity ( closes #16992 )
13 years ago
Stefan Krah
897c3e994f
Issue #11729 : Backport commit bff052d9 from libffi upstream in order to fix
a ctypes build failure with clang.
13 years ago
Stefan Krah
752bfb71d8
Remove trailing whitespace.
13 years ago
Stefan Krah
59a4a93f43
Issue #16422 : Use strings for rounding mode constants for better readability
and pickling compatibility.
13 years ago
Richard Oudkerk
ad1d5f908a
Issue #10527 : Use poll() instead of select() for multiprocessing pipes
13 years ago
Eli Bendersky
25771b3749
Issue #16922 : fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
13 years ago
Eli Bendersky
b09b167419
Issue #16922 : fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
13 years ago
Eli Bendersky
4583990143
Clean trailing whitespace in _elementtree.c
13 years ago
Benjamin Peterson
0e5c48a917
make deque_clear void, since it's infallible
13 years ago
Antoine Pitrou
457a2292ca
SSLContext.load_dh_params() now properly closes the input file.
13 years ago