]>
granicus.if.org Git - python/log
Ezio Melotti [Sat, 23 Feb 2013 05:57:53 +0000 (07:57 +0200)]
#17217: merge with 3.2.
Ezio Melotti [Sat, 23 Feb 2013 05:53:56 +0000 (07:53 +0200)]
#17217: fix UnicodeEncodeErrors errors in test_format by printing ASCII only.
Ezio Melotti [Sat, 23 Feb 2013 04:53:21 +0000 (06:53 +0200)]
#17249: null merge.
Ezio Melotti [Sat, 23 Feb 2013 04:42:19 +0000 (06:42 +0200)]
#17249: check for the availability of the thread module.
Ezio Melotti [Sat, 23 Feb 2013 03:58:38 +0000 (05:58 +0200)]
#17249: merge with 3.2.
Ezio Melotti [Sat, 23 Feb 2013 03:52:46 +0000 (05:52 +0200)]
#17249: convert a test in test_capi to use unittest and reap threads.
Ezio Melotti [Sat, 23 Feb 2013 02:55:24 +0000 (04:55 +0200)]
#15438: merge with 3.2.
Ezio Melotti [Sat, 23 Feb 2013 02:53:44 +0000 (04:53 +0200)]
#15438: add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson.
Ezio Melotti [Fri, 22 Feb 2013 06:29:11 +0000 (08:29 +0200)]
#17271: merge with 3.2.
Ezio Melotti [Fri, 22 Feb 2013 06:28:14 +0000 (08:28 +0200)]
#17271: update example in tempfile docs.
Ezio Melotti [Fri, 22 Feb 2013 05:51:18 +0000 (07:51 +0200)]
#17256: merge with 3.2.
Ezio Melotti [Fri, 22 Feb 2013 05:46:22 +0000 (07:46 +0200)]
#17256: fix syntax highlight in embedding example. Patch by Kushal Das.
Chris Jerdonek [Fri, 22 Feb 2013 03:00:06 +0000 (19:00 -0800)]
Issue #17203: add long option names to unittest discovery docs.
Chris Jerdonek [Fri, 22 Feb 2013 02:54:43 +0000 (18:54 -0800)]
Issue #17203: add long option names to unittest discovery docs.
Ezio Melotti [Thu, 21 Feb 2013 21:17:08 +0000 (23:17 +0200)]
#17255: merge with 3.2.
Ezio Melotti [Thu, 21 Feb 2013 21:15:40 +0000 (23:15 +0200)]
#17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn.
Serhiy Storchaka [Thu, 21 Feb 2013 18:21:21 +0000 (20:21 +0200)]
Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
Serhiy Storchaka [Thu, 21 Feb 2013 18:19:16 +0000 (20:19 +0200)]
Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
Serhiy Storchaka [Thu, 21 Feb 2013 12:34:59 +0000 (14:34 +0200)]
Issue #17248: Fix os.*chown() testing when user is in root group.
Serhiy Storchaka [Thu, 21 Feb 2013 12:34:36 +0000 (14:34 +0200)]
Issue #17248: Fix os.*chown() testing when user is in root group.
Ezio Melotti [Thu, 21 Feb 2013 10:35:40 +0000 (12:35 +0200)]
#17265: merge with 3.2.
Ezio Melotti [Thu, 21 Feb 2013 10:30:32 +0000 (12:30 +0200)]
#17265: fix highlight in template example. Initial patch by Berker Peksag.
Ezio Melotti [Thu, 21 Feb 2013 00:41:42 +0000 (02:41 +0200)]
Silence DeprecationWarnings in test_urllib.
Ezio Melotti [Wed, 20 Feb 2013 22:00:17 +0000 (00:00 +0200)]
Merge heads.
Ezio Melotti [Wed, 20 Feb 2013 21:56:01 +0000 (23:56 +0200)]
Silence DeprecationWarnings in test_unicode.
Benjamin Peterson [Wed, 20 Feb 2013 21:54:30 +0000 (16:54 -0500)]
fix building without pymalloc (closes #17228)
Ezio Melotti [Wed, 20 Feb 2013 19:42:46 +0000 (21:42 +0200)]
Rebuild importlib.h after the changes introduced in
0f65bf6063ca .
Serhiy Storchaka [Wed, 20 Feb 2013 17:48:47 +0000 (19:48 +0200)]
Issue #17248: Fix os.*chown() testing when user has group root.
Serhiy Storchaka [Wed, 20 Feb 2013 17:48:22 +0000 (19:48 +0200)]
Issue #17248: Fix os.*chown() testing when user has group root.
Serhiy Storchaka [Wed, 20 Feb 2013 17:42:31 +0000 (19:42 +0200)]
Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.
Serhiy Storchaka [Wed, 20 Feb 2013 17:40:25 +0000 (19:40 +0200)]
Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.
Ezio Melotti [Wed, 20 Feb 2013 00:52:49 +0000 (02:52 +0200)]
#17143: fix buildbot failures on Windows.
R David Murray [Tue, 19 Feb 2013 17:19:13 +0000 (12:19 -0500)]
Merge: #13700: Make imap.authenticate with authobject work.
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
R David Murray [Tue, 19 Feb 2013 17:17:31 +0000 (12:17 -0500)]
#13700: Make imap.authenticate with authobject work.
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
Stefan Krah [Tue, 19 Feb 2013 12:44:49 +0000 (13:44 +0100)]
Fix error messages.
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.