summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
| * Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,Terry Jan Reedy2013-03-1110-19/+19
| | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the ↵Antoine Pitrou2013-03-041-6/+34
|\ \ | |/ | | | | list is being resized concurrently.
| * Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the ↵Antoine Pitrou2013-03-041-6/+34
| | | | | | | | list is being resized concurrently.
* | Issue #16962: Use getdents64 instead of the obsolete getdents syscall inGregory P. Smith2013-03-031-14/+8
| | | | | | | | the subprocess module on Linux.
* | Issue #17223: array module: Fix a crasher when converting an array containingVictor Stinner2013-02-251-0/+2
| | | | | | | | | | invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
* | Merge #17275: Fix class name in init errors in C bufferedio classes.R David Murray2013-02-241-2/+2
|\ \ | |/ | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob.
| * #17275: Fix class name in init errors in C bufferedio classes.R David Murray2013-02-241-2/+2
| | | | | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob.
* | Issue #13153: Tkinter functions now raise TclError instead of ValueError whenSerhiy Storchaka2013-02-181-1/+1
|\ \ | |/ | | | | a string argument contains non-BMP character.
| * Issue #13153: Tkinter functions now raise TclError instead of ValueError whenSerhiy Storchaka2013-02-181-1/+1
| | | | | | | | a string argument contains non-BMP character.
* | Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka2013-02-161-2/+7
|\ \ | |/ | | | | non-greedy repeat. Patch by Matthew Barnett.
| * Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka2013-02-161-2/+7
| | | | | | | | non-greedy repeat. Patch by Matthew Barnett.
* | Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units.Serhiy Storchaka2013-02-161-2/+2
| |
* | Issue #13169: The maximal repetition number in a regular expression has beenSerhiy Storchaka2013-02-162-6/+17
|\ \ | |/ | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
| * Issue #13169: The maximal repetition number in a regular expression has beenSerhiy Storchaka2013-02-162-6/+17
| | | | | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
* | MergeRichard Oudkerk2013-02-131-11/+11
|\ \ | |/
| * Issue #16743: Fix mmap overflow check on 32 bit WindowsRichard Oudkerk2013-02-131-11/+11
| |
| * Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-124-121/+254
| |
* | Raise KeyError instead of OverflowError when getpwuid's argument is out ofSerhiy Storchaka2013-02-111-1/+5
| | | | | | | | uid_t range.
* | Reject float as uid or gid.Serhiy Storchaka2013-02-101-2/+14
| | | | | | | | A regression was introduced in the commit for issue issue #4591.
* | Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-105-124/+250
| |
* | Backport deque.rotate() improvements.Raymond Hettinger2013-02-101-19/+73
| |
* | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-094-5/+5
|\ \ | |/ | | | | | | | | | | | | 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), mpdecimal (needs to build without Python.h).
| * Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-094-5/+5
| | | | | | | | | | | | | | | | 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).
* | Issue #16686: Fixed a lot of bugs in audioop module.Serhiy Storchaka2013-02-091-156/+154
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * 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.
| * Issue #16686: Fixed a lot of bugs in audioop module.Serhiy Storchaka2013-02-091-156/+154
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-075-49/+127
|\ \ | |/
| * Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-075-49/+127
| |
* | Issue #17089: Expat parser now correctly works with string input not only whenSerhiy Storchaka2013-02-041-4/+36
|\ \ | |/ | | | | | | an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and strings larger than 2 GiB.
| * Issue #17089: Expat parser now correctly works with string input not only whenSerhiy Storchaka2013-02-041-4/+39
| | | | | | | | | | an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and strings larger than 2 GiB.
* | merge #17091: update docstring for _thread.Lock.acquire.R David Murray2013-02-041-2/+2
|\ \ | |/
| * #17091: update docstring for _thread.Lock.acquire.R David Murray2013-02-041-2/+2
| | | | | | | | | | | | 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.
* | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-043-14/+49
|\ \ | |/ | | | | parses nested mutating sequence.
| * Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-043-14/+49
| | | | | | | | parses nested mutating sequence.
| * Update the embedded copy of the expat XML parser to 2.1.0. It bringsGregory P. Smith2012-07-1412-258/+374
| | | | | | | | | | | | | | | | | | with it a vareity of bug fixes, both security and behavior. See http://www.libexpat.org/ for the list. NOTE: I already backported the expat hash randomization fix in March. Fixes issue #14340.
* | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlyingSerhiy Storchaka2013-02-031-28/+48
|\ \ | |/ | | | | | | 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).
| * Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlyingSerhiy Storchaka2013-02-031-18/+44
| | | | | | | | | | 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).
* | Back out fix for issue #13886; it introduced a new bug in interactive ↵Nadeem Vawda2013-02-021-1/+1
|\ \ | |/ | | | | readline use.
| * Back out fix for issue #13886; it introduced a new bug in interactive ↵Nadeem Vawda2013-02-021-1/+1
| | | | | | | | readline use.
* | In the _hashlib module, only initialize the static data for OpenSSL'sGregory P. Smith2013-02-021-6/+9
|\ \ | |/ | | | | | | constructors once, to avoid memory leaks when finalizing and re-initializing the Python interpreter.
| * In the _hashlib module, only initialize the static data for OpenSSL'sGregory P. Smith2013-02-021-6/+9
| | | | | | | | | | constructors once, to avoid memory leaks when finalizing and re-initializing the Python interpreter.
* | Additional fix for issue #12268: The io module file object write methods noGregory P. Smith2013-02-012-3/+9
|\ \ | |/ | | | | longer abort early when a write system call is interrupted (EINTR).
| * Additional fix for Issue #12268: The io module file object writelines() ↵Gregory P. Smith2013-02-012-3/+9
| | | | | | | | methods no longer abort early when one of its write system calls is interrupted (EINTR).
* | Issue #17098: Make sure every module has __loader__ defined.Brett Cannon2013-02-011-2/+1
| | | | | | | | Thanks to Thomas Heller for the bug report.
* | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.Nadeem Vawda2013-01-271-1/+1
|\ \ | |/ | | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported.
| * Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.Nadeem Vawda2013-01-271-1/+1
| | | | | | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported.
* | Fix a few typos and a double semicolon. Patch by Eitan Adler.Ezio Melotti2013-01-272-2/+2
| |
* | Issue #1602133: 'environ' is not really available with shared libraries on ↵Ronald Oussoren2013-01-251-3/+4
|\ \ | |/ | | | | | | | | | | | | | | OSX (merge from 3.2) There already was a workaround for this for framework builds on OSX, this changeset enables the same workaround for shared libraries. Closes #1602133
| * Issue #1602133: 'environ' is not really available with shared libraries on OSXRonald Oussoren2013-01-251-3/+4
| | | | | | | | | | | | | | There already was a workaround for this for framework builds on OSX, this changeset enables the same workaround for shared libraries. Closes #1602133
* | Clean trailing whitespace in itertoolsmodule.c.Serhiy Storchaka2013-01-251-8/+8
|\ \ | |/
| * Clean trailing whitespace in itertoolsmodule.c.Serhiy Storchaka2013-01-251-4/+4
| |