]>
granicus.if.org Git - python/log
R David Murray [Tue, 19 Feb 2013 02:39:18 +0000 (21:39 -0500)]
#7963: fix error message when 'object' called with arguments.
R David Murray [Tue, 19 Feb 2013 02:20:08 +0000 (21:20 -0500)]
#7963: fix error message when 'object' called with arguments.
Patch by Alexander Belopolsky.
Serhiy Storchaka [Mon, 18 Feb 2013 11:33:13 +0000 (13:33 +0200)]
Disable posixpath.realpath() tests on Windows (fix for issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 11:32:30 +0000 (13:32 +0200)]
Disable posixpath.realpath() tests on Windows (fix for issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 11:02:41 +0000 (13:02 +0200)]
Issue #13153: Tkinter functions now raise TclError instead of ValueError when
a string argument contains non-BMP character.
Serhiy Storchaka [Mon, 18 Feb 2013 11:01:52 +0000 (13:01 +0200)]
Issue #13153: Tkinter functions now raise TclError instead of ValueError when
a string argument contains non-BMP character.
Serhiy Storchaka [Mon, 18 Feb 2013 10:21:30 +0000 (12:21 +0200)]
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 10:21:04 +0000 (12:21 +0200)]
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 09:18:33 +0000 (11:18 +0200)]
Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.
Serhiy Storchaka [Mon, 18 Feb 2013 09:14:21 +0000 (11:14 +0200)]
Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.
Andrew Svetlov [Sun, 17 Feb 2013 14:55:58 +0000 (16:55 +0200)]
Issue #17215: Fix documentation misprints (patch by July Tikhonov)
Raymond Hettinger [Sun, 17 Feb 2013 09:33:37 +0000 (01:33 -0800)]
Set cache sizes to a power-of-two
Eric Snow [Sun, 17 Feb 2013 05:23:48 +0000 (22:23 -0700)]
Fixes a FileFinder docstring to reflect an old change.
That change was in
1db6553f3f8c .
Serhiy Storchaka [Sat, 16 Feb 2013 19:25:05 +0000 (21:25 +0200)]
Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat. Patch by Matthew Barnett.
Serhiy Storchaka [Sat, 16 Feb 2013 19:23:53 +0000 (21:23 +0200)]
Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat. Patch by Matthew Barnett.
Serhiy Storchaka [Sat, 16 Feb 2013 15:29:56 +0000 (17:29 +0200)]
Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units.
Serhiy Storchaka [Sat, 16 Feb 2013 14:54:33 +0000 (16:54 +0200)]
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).
Serhiy Storchaka [Sat, 16 Feb 2013 14:47:47 +0000 (16:47 +0200)]
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).
Ezio Melotti [Fri, 15 Feb 2013 21:38:05 +0000 (23:38 +0200)]
#17178: merge with 3.2.
Ezio Melotti [Fri, 15 Feb 2013 21:35:14 +0000 (23:35 +0200)]
#17178: update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan.
Antoine Pitrou [Fri, 15 Feb 2013 20:31:33 +0000 (21:31 +0100)]
Issue #17208: add a note about the termination behaviour of daemon threads.
Antoine Pitrou [Fri, 15 Feb 2013 20:27:18 +0000 (21:27 +0100)]
Issue #17208: add a note about the termination behaviour of daemon threads.
Ezio Melotti [Fri, 15 Feb 2013 19:20:50 +0000 (21:20 +0200)]
#17143: fix a missing import in the trace module. Initial patch by Berker Peksag.
Ezio Melotti [Fri, 15 Feb 2013 17:17:53 +0000 (19:17 +0200)]
#17163: test_file now works with unittest test discovery. Patch by Zachary Ware.
Richard Oudkerk [Wed, 13 Feb 2013 15:21:23 +0000 (15:21 +0000)]
Merge
Richard Oudkerk [Wed, 13 Feb 2013 15:19:36 +0000 (15:19 +0000)]
Add Misc/NEWS entry for Issue #16743
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.