Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge | Richard Oudkerk | 2013-02-13 | 1 | -11/+11 |
|\ | |||||
| * | Issue #16743: Fix mmap overflow check on 32 bit Windows | Richard Oudkerk | 2013-02-13 | 1 | -11/+11 |
| | | |||||
| * | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-12 | 4 | -121/+254 |
| | | |||||
* | | Raise KeyError instead of OverflowError when getpwuid's argument is out of | Serhiy Storchaka | 2013-02-11 | 1 | -1/+5 |
| | | | | | | | | uid_t range. | ||||
* | | Reject float as uid or gid. | Serhiy Storchaka | 2013-02-10 | 1 | -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 Storchaka | 2013-02-10 | 5 | -124/+250 |
| | | |||||
* | | Backport deque.rotate() improvements. | Raymond Hettinger | 2013-02-10 | 1 | -19/+73 |
| | | |||||
* | | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | 2013-02-09 | 4 | -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 Pitrou | 2013-02-09 | 4 | -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 Storchaka | 2013-02-09 | 1 | -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 Storchaka | 2013-02-09 | 1 | -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 Storchaka | 2013-02-07 | 5 | -49/+127 |
|\ \ | |/ | |||||
| * | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 5 | -49/+127 |
| | | |||||
* | | Issue #17089: Expat parser now correctly works with string input not only when | Serhiy Storchaka | 2013-02-04 | 1 | -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 when | Serhiy Storchaka | 2013-02-04 | 1 | -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 Murray | 2013-02-04 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #17091: update docstring for _thread.Lock.acquire. | R David Murray | 2013-02-04 | 1 | -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_ParseTuple | Serhiy Storchaka | 2013-02-04 | 3 | -14/+49 |
|\ \ | |/ | | | | | parses nested mutating sequence. | ||||
| * | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple | Serhiy Storchaka | 2013-02-04 | 3 | -14/+49 |
| | | | | | | | | parses nested mutating sequence. | ||||
| * | Update the embedded copy of the expat XML parser to 2.1.0. It brings | Gregory P. Smith | 2012-07-14 | 12 | -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 underlying | Serhiy Storchaka | 2013-02-03 | 1 | -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 underlying | Serhiy Storchaka | 2013-02-03 | 1 | -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 Vawda | 2013-02-02 | 1 | -1/+1 |
|\ \ | |/ | | | | | readline use. | ||||
| * | Back out fix for issue #13886; it introduced a new bug in interactive ↵ | Nadeem Vawda | 2013-02-02 | 1 | -1/+1 |
| | | | | | | | | readline use. | ||||
* | | In the _hashlib module, only initialize the static data for OpenSSL's | Gregory P. Smith | 2013-02-02 | 1 | -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's | Gregory P. Smith | 2013-02-02 | 1 | -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 no | Gregory P. Smith | 2013-02-01 | 2 | -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. Smith | 2013-02-01 | 2 | -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 Cannon | 2013-02-01 | 1 | -2/+1 |
| | | | | | | | | Thanks to Thomas Heller for the bug report. | ||||
* | | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. | Nadeem Vawda | 2013-01-27 | 1 | -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 Vawda | 2013-01-27 | 1 | -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 Melotti | 2013-01-27 | 2 | -2/+2 |
| | | |||||
* | | Issue #1602133: 'environ' is not really available with shared libraries on ↵ | Ronald Oussoren | 2013-01-25 | 1 | -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 OSX | Ronald Oussoren | 2013-01-25 | 1 | -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 Storchaka | 2013-01-25 | 1 | -8/+8 |
|\ \ | |/ | |||||
| * | Clean trailing whitespace in itertoolsmodule.c. | Serhiy Storchaka | 2013-01-25 | 1 | -4/+4 |
| | | |||||
* | | Issue #13454: Fix a crash when deleting an iterator created by itertools.tee() | Serhiy Storchaka | 2013-01-25 | 1 | -1/+20 |
|\ \ | |/ | | | | | if all other iterators were very advanced before. | ||||
| * | Issue #13454: Fix a crash when deleting an iterator created by itertools.tee() | Serhiy Storchaka | 2013-01-25 | 1 | -1/+20 |
| | | | | | | | | if all other iterators were very advanced before. | ||||
* | | Since the return type of format() is not a Decimal, raise ValueError instead of | Stefan Krah | 2013-01-24 | 1 | -1/+7 |
| | | | | | | | | | | InvalidOperation if the format specification (width, prec) exceeds the internal limits of libmpdec. | ||||
* | | Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL. | Charles-François Natali | 2013-01-19 | 1 | -2/+2 |
|\ \ | |/ | | | | | Patch by Jeffrey Armstrong. | ||||
| * | Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL. | Charles-François Natali | 2013-01-19 | 1 | -2/+2 |
| | | | | | | | | Patch by Jeffrey Armstrong. | ||||
* | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 7 | -17/+35 |
|\ \ | |/ | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 5 | -12/+17 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| * | Issue #10527: Use poll() instead of select() for multiprocessing pipes | Richard Oudkerk | 2013-01-15 | 1 | -0/+33 |
| | | |||||
| * | Issue #16922: fixed findtext() to return empty Unicode string instead of ↵ | Eli Bendersky | 2013-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | empty bytes object when there's no text. Patch by Serhiy Storchaka. | ||||
* | | Show the function signature in the docstring | Raymond Hettinger | 2013-01-19 | 1 | -3/+3 |
| | | |||||
* | | check windows fd validity (closes #16992) | Benjamin Peterson | 2013-01-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #11729: Backport commit bff052d9 from libffi upstream in order to fix | Stefan Krah | 2013-01-16 | 2 | -6/+6 |
| | | | | | | | | a ctypes build failure with clang. | ||||
* | | Remove trailing whitespace. | Stefan Krah | 2013-01-16 | 11 | -23/+23 |
| | | |||||
* | | Issue #16422: Use strings for rounding mode constants for better readability | Stefan Krah | 2013-01-16 | 2 | -87/+69 |
| | | | | | | | | and pickling compatibility. |