]>
granicus.if.org Git - python/log
Richard Oudkerk [Wed, 13 Feb 2013 12:32:32 +0000 (12:32 +0000)]
Merge
Richard Oudkerk [Wed, 13 Feb 2013 12:18:03 +0000 (12:18 +0000)]
Issue #16743: Fix mmap overflow check on 32 bit Windows
Serhiy Storchaka [Wed, 13 Feb 2013 10:32:24 +0000 (12:32 +0200)]
Cleanup a test for issue #5308.
Serhiy Storchaka [Wed, 13 Feb 2013 10:11:03 +0000 (12:11 +0200)]
Issue #5308: Raise ValueError when marshalling too large object (a sequence
with size >= 2**31), instead of producing illegal marshal data.
Serhiy Storchaka [Wed, 13 Feb 2013 10:08:15 +0000 (12:08 +0200)]
Issue #5308: Raise ValueError when marshalling too large object (a sequence
with size >= 2**31), instead of producing illegal marshal data.
Serhiy Storchaka [Tue, 12 Feb 2013 22:59:53 +0000 (00:59 +0200)]
Fix for issue #16800: Use buffered write to handle EINTR.
Serhiy Storchaka [Tue, 12 Feb 2013 22:59:26 +0000 (00:59 +0200)]
Fix for issue #16800: Use buffered write to handle EINTR.
Serhiy Storchaka [Tue, 12 Feb 2013 22:37:29 +0000 (00:37 +0200)]
Issue #16800: tempfile.gettempdir() no longer left temporary files when
the disk is full. Original patch by Amir Szekely.
Serhiy Storchaka [Tue, 12 Feb 2013 22:35:30 +0000 (00:35 +0200)]
Issue #16800: tempfile.gettempdir() no longer left temporary files when
the disk is full. Original patch by Amir Szekely.
Serhiy Storchaka [Tue, 12 Feb 2013 07:30:03 +0000 (09:30 +0200)]
Null merge
Serhiy Storchaka [Tue, 12 Feb 2013 07:24:16 +0000 (09:24 +0200)]
Issue #4591: Uid and gid values larger than 2**31 are supported now.
Serhiy Storchaka [Tue, 12 Feb 2013 07:21:36 +0000 (09:21 +0200)]
Clean trailing whitespaces in Makefile.pre.in.
Serhiy Storchaka [Mon, 11 Feb 2013 18:32:47 +0000 (20:32 +0200)]
Raise KeyError instead of OverflowError when getpwuid's argument is out of
uid_t range.
R David Murray [Mon, 11 Feb 2013 15:53:35 +0000 (10:53 -0500)]
Merge: #17171: fix email.encoders.encode_7or8bit when applied to binary data.
R David Murray [Mon, 11 Feb 2013 15:51:28 +0000 (10:51 -0500)]
#17171: fix email.encoders.encode_7or8bit when applied to binary data.
R David Murray [Mon, 11 Feb 2013 15:05:03 +0000 (10:05 -0500)]
Merge: #17064: fix sporadic permission errors in test_mailbox on windows.
Patch by Jeremy Kloth.
R David Murray [Mon, 11 Feb 2013 15:04:26 +0000 (10:04 -0500)]
#17064: fix sporadic permission errors in test_mailbox on windows.
Patch by Jeremy Kloth.
Michael Foord [Mon, 11 Feb 2013 13:29:58 +0000 (13:29 +0000)]
Merge
Michael Foord [Mon, 11 Feb 2013 13:20:52 +0000 (13:20 +0000)]
Correction to issue 17052 fix
Michael Foord [Mon, 11 Feb 2013 00:18:07 +0000 (00:18 +0000)]
Merge
Michael Foord [Mon, 11 Feb 2013 00:04:24 +0000 (00:04 +0000)]
Issue 17502: unittest discovery should use self.testLoader
Serhiy Storchaka [Sun, 10 Feb 2013 21:28:02 +0000 (23:28 +0200)]
Reject float as uid or gid.
A regression was introduced in the commit for issue issue #4591.
Serhiy Storchaka [Sun, 10 Feb 2013 19:56:49 +0000 (21:56 +0200)]
Issue #4591: Uid and gid values larger than 2**31 are supported now.
Serhiy Storchaka [Sun, 10 Feb 2013 17:29:20 +0000 (19:29 +0200)]
Issue #17141: random.vonmisesvariate() no more hangs for large kappas.
Serhiy Storchaka [Sun, 10 Feb 2013 17:28:56 +0000 (19:28 +0200)]
Issue #17141: random.vonmisesvariate() no more hangs for large kappas.
Serhiy Storchaka [Sun, 10 Feb 2013 15:42:01 +0000 (17:42 +0200)]
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
and a full traceback including line number.
Serhiy Storchaka [Sun, 10 Feb 2013 15:36:00 +0000 (17:36 +0200)]
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
and a full traceback including line number.
Mark Dickinson [Sun, 10 Feb 2013 14:16:56 +0000 (14:16 +0000)]
Issue #17149: merge fix from 3.2.
Mark Dickinson [Sun, 10 Feb 2013 14:16:10 +0000 (14:16 +0000)]
Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
Serhiy Storchaka [Sun, 10 Feb 2013 12:44:14 +0000 (14:44 +0200)]
Fix a test for SpooledTemporaryFile (added in issue #10355).
Serhiy Storchaka [Sun, 10 Feb 2013 12:43:46 +0000 (14:43 +0200)]
Fix a test for SpooledTemporaryFile (added in issue #10355).
Serhiy Storchaka [Sun, 10 Feb 2013 12:31:07 +0000 (14:31 +0200)]
Issue #
1470548 : XMLGenerator now works with binary output streams.
Serhiy Storchaka [Sun, 10 Feb 2013 12:29:52 +0000 (14:29 +0200)]
Issue #
1470548 : XMLGenerator now works with binary output streams.
Serhiy Storchaka [Sun, 10 Feb 2013 10:23:10 +0000 (12:23 +0200)]
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
Serhiy Storchaka [Sun, 10 Feb 2013 10:22:07 +0000 (12:22 +0200)]
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
Raymond Hettinger [Sun, 10 Feb 2013 01:00:55 +0000 (20:00 -0500)]
Backport deque.rotate() improvements.
Antoine Pitrou [Sat, 9 Feb 2013 22:14:42 +0000 (23:14 +0100)]
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), mpdecimal (needs to build without Python.h).
Antoine Pitrou [Sat, 9 Feb 2013 22:11:27 +0000 (23:11 +0100)]
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).
Serhiy Storchaka [Sat, 9 Feb 2013 20:38:12 +0000 (22:38 +0200)]
Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
Serhiy Storchaka [Sat, 9 Feb 2013 20:37:22 +0000 (22:37 +0200)]
Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
Serhiy Storchaka [Sat, 9 Feb 2013 20:25:49 +0000 (22:25 +0200)]
Issue #17169: Restore errno in tempfile exceptions.
R David Murray [Sat, 9 Feb 2013 18:24:44 +0000 (13:24 -0500)]
Merge: #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
R David Murray [Sat, 9 Feb 2013 18:23:46 +0000 (13:23 -0500)]
#17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
R David Murray [Sat, 9 Feb 2013 18:10:54 +0000 (13:10 -0500)]
Merge: #16564: Fix regression in use of encoders.encode_noop with binary data.
R David Murray [Sat, 9 Feb 2013 18:02:58 +0000 (13:02 -0500)]
#16564: Fix regression in use of encoders.encode_noop with binary data.
Christian Heimes [Sat, 9 Feb 2013 16:02:16 +0000 (17:02 +0100)]
add proper dependencies on expat headers and sources
Christian Heimes [Sat, 9 Feb 2013 16:02:06 +0000 (17:02 +0100)]
add proper dependencies on expat headers and sources
Benjamin Peterson [Sat, 9 Feb 2013 13:57:28 +0000 (08:57 -0500)]
StringIO.StringIO -> io.StringIO (closes #17168)
Serhiy Storchaka [Sat, 9 Feb 2013 10:21:52 +0000 (12:21 +0200)]
Issue #10355: SpooledTemporaryFile properties now work for unrolled files.
Remove obsoleted xreadline method.
Serhiy Storchaka [Sat, 9 Feb 2013 10:21:14 +0000 (12:21 +0200)]
Issue #10355: SpooledTemporaryFile properties now work for unrolled files.
Remove obsoleted xreadline method.
Serhiy Storchaka [Sat, 9 Feb 2013 09:51:48 +0000 (11:51 +0200)]
Minor fix of previous commit.
Serhiy Storchaka [Sat, 9 Feb 2013 09:51:21 +0000 (11:51 +0200)]
Minor fix of previous commit.
Serhiy Storchaka [Sat, 9 Feb 2013 09:47:20 +0000 (11:47 +0200)]
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
Serhiy Storchaka [Sat, 9 Feb 2013 09:46:42 +0000 (11:46 +0200)]
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
Serhiy Storchaka [Sat, 9 Feb 2013 09:12:36 +0000 (11:12 +0200)]
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.
Serhiy Storchaka [Sat, 9 Feb 2013 09:10:53 +0000 (11:10 +0200)]
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.
Ned Deily [Sat, 9 Feb 2013 07:02:09 +0000 (23:02 -0800)]
Issue #17161: make install now also installs a python3 man page.
Ned Deily [Sat, 9 Feb 2013 06:53:51 +0000 (22:53 -0800)]
Issue #17161: make install now also installs a python3 man page.
Serhiy Storchaka [Fri, 8 Feb 2013 09:24:16 +0000 (11:24 +0200)]
Fix accidental non-breakable spaces (U+00A0).
Serhiy Storchaka [Fri, 8 Feb 2013 09:22:05 +0000 (11:22 +0200)]
Fix accidental non-breakable spaces (U+00A0).
Gregory P. Smith [Fri, 8 Feb 2013 06:15:51 +0000 (22:15 -0800)]
Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
Gregory P. Smith [Fri, 8 Feb 2013 06:15:04 +0000 (22:15 -0800)]
Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
Senthil Kumaran [Fri, 8 Feb 2013 05:44:42 +0000 (21:44 -0800)]
Addressing the review comment made by Terry Reedy
Senthil Kumaran [Fri, 8 Feb 2013 05:43:21 +0000 (21:43 -0800)]
Addressing the review comment made by Terry Reedy
Victor Stinner [Thu, 7 Feb 2013 22:12:46 +0000 (23:12 +0100)]
Issue #17137: When an Unicode string is resized, the internal wide character
string (wstr) format is now cleared.
Serhiy Storchaka [Thu, 7 Feb 2013 15:03:46 +0000 (17:03 +0200)]
Issue #17073: Fix some integer overflows in sqlite3 module.
Serhiy Storchaka [Thu, 7 Feb 2013 15:01:47 +0000 (17:01 +0200)]
Issue #17073: Fix some integer overflows in sqlite3 module.
Serhiy Storchaka [Thu, 7 Feb 2013 14:25:25 +0000 (16:25 +0200)]
Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
Serhiy Storchaka [Thu, 7 Feb 2013 14:23:21 +0000 (16:23 +0200)]
Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
Serhiy Storchaka [Thu, 7 Feb 2013 13:40:26 +0000 (15:40 +0200)]
Issue #17118: Add new tests for testing Python-Tcl interaction.
Serhiy Storchaka [Thu, 7 Feb 2013 13:40:03 +0000 (15:40 +0200)]
Issue #17118: Add new tests for testing Python-Tcl interaction.
Serhiy Storchaka [Thu, 7 Feb 2013 13:25:09 +0000 (15:25 +0200)]
Issue #17114: IDLE now uses non-strict config parser.
Serhiy Storchaka [Thu, 7 Feb 2013 13:24:36 +0000 (15:24 +0200)]
Issue #17114: IDLE now uses non-strict config parser.
Serhiy Storchaka [Thu, 7 Feb 2013 12:59:25 +0000 (14:59 +0200)]
Fix test_from_dll* in test_returnfuncptrs.py.
Serhiy Storchaka [Thu, 7 Feb 2013 12:58:44 +0000 (14:58 +0200)]
Fix test_from_dll* in test_returnfuncptrs.py.
Senthil Kumaran [Thu, 7 Feb 2013 08:49:12 +0000 (00:49 -0800)]
Fix Issue17069: Document getcode method in urllib.request.rst
Senthil Kumaran [Thu, 7 Feb 2013 08:47:01 +0000 (00:47 -0800)]
Fix Issue17069: Document getcode method in urllib.request.rst
R David Murray [Wed, 6 Feb 2013 14:57:51 +0000 (09:57 -0500)]
Merge: #17142: fix apparent copy and paste error in test_all.
R David Murray [Wed, 6 Feb 2013 14:56:19 +0000 (09:56 -0500)]
#17142: fix apparent copy and paste error in test_all.
Serhiy Storchaka [Wed, 6 Feb 2013 08:35:40 +0000 (10:35 +0200)]
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.
Serhiy Storchaka [Wed, 6 Feb 2013 08:31:57 +0000 (10:31 +0200)]
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.
R David Murray [Tue, 5 Feb 2013 15:55:27 +0000 (10:55 -0500)]
Merge: #16948: Fix quopri encoding of non-latin1 character sets.
R David Murray [Tue, 5 Feb 2013 15:49:49 +0000 (10:49 -0500)]
#16948: Fix quopri encoding of non-latin1 character sets.
R David Murray [Tue, 5 Feb 2013 15:17:09 +0000 (10:17 -0500)]
News item for issue #16811 fix.
Benjamin Peterson [Tue, 5 Feb 2013 15:12:14 +0000 (10:12 -0500)]
update symbol.py for yield from grammar changes (closes #17132)
Benjamin Peterson [Tue, 5 Feb 2013 15:11:13 +0000 (10:11 -0500)]
token.main is now token._main
Hynek Schlawack [Tue, 5 Feb 2013 07:22:44 +0000 (08:22 +0100)]
#17076: Make copying of xattrs more permissive of missing FS support
Patch by Thomas Wouters.
R David Murray [Mon, 4 Feb 2013 20:22:53 +0000 (15:22 -0500)]
#16811: Fix folding of headers with no value in provisional policies.
Serhiy Storchaka [Mon, 4 Feb 2013 16:28:01 +0000 (18:28 +0200)]
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.
Serhiy Storchaka [Mon, 4 Feb 2013 16:26:15 +0000 (18:26 +0200)]
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.
R David Murray [Mon, 4 Feb 2013 15:22:39 +0000 (10:22 -0500)]
merge #17091: update docstring for _thread.Lock.acquire.
R David Murray [Mon, 4 Feb 2013 15:15:58 +0000 (10:15 -0500)]
#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.
Serhiy Storchaka [Mon, 4 Feb 2013 14:56:23 +0000 (16:56 +0200)]
Null merge
Serhiy Storchaka [Mon, 4 Feb 2013 14:55:59 +0000 (16:55 +0200)]
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.
Serhiy Storchaka [Mon, 4 Feb 2013 14:50:05 +0000 (16:50 +0200)]
Null merge
Serhiy Storchaka [Mon, 4 Feb 2013 14:47:39 +0000 (16:47 +0200)]
Issue #16903: Popen.communicate() on Unix now accepts strings when
universal_newlines is true as on Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 13:45:58 +0000 (15:45 +0200)]
Do not raise self.skipTest().
skipTest() already raises an exception.
Serhiy Storchaka [Mon, 4 Feb 2013 13:45:00 +0000 (15:45 +0200)]
Do not raise self.skipTest().
skipTest() already raises an exception.
Serhiy Storchaka [Mon, 4 Feb 2013 13:19:59 +0000 (15:19 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 13:19:37 +0000 (15:19 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.