]>
granicus.if.org Git - python/log
Tim Peters [Fri, 20 Sep 2013 02:06:37 +0000 (21:06 -0500)]
Update internal comments to say _something_ about the "API ID".
Best I can tell, the possible values for this aren't documented anywhere.
Senthil Kumaran [Thu, 19 Sep 2013 07:10:17 +0000 (00:10 -0700)]
Correcting the mistake in
678e3c0d2d99
Merge from 3.3
Addresses Issue #18553: isatty is not Unix only.
Senthil Kumaran [Thu, 19 Sep 2013 07:08:56 +0000 (00:08 -0700)]
Correcting the mistake in
14ba90816930
Addresses Issue #18553: isatty is not Unix only.
R David Murray [Wed, 18 Sep 2013 12:59:47 +0000 (08:59 -0400)]
Merge #14984: only import pwd on POSIX.
Since we have fine grained import locks in 3.4, I moved the
import to where it is actually needed.
R David Murray [Wed, 18 Sep 2013 12:54:00 +0000 (08:54 -0400)]
Merge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:53:26 +0000 (08:53 -0400)]
Merge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:52:38 +0000 (08:52 -0400)]
#14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:36:36 +0000 (08:36 -0400)]
Merge #19037: adjust file times *before* moving maildir files into place.
R David Murray [Wed, 18 Sep 2013 12:34:40 +0000 (08:34 -0400)]
#19037: adjust file times *before* moving maildir files into place.
This avoids race conditions when other programs are monitoring
the maildir directory. Patch by janzert.
R David Murray [Wed, 18 Sep 2013 11:36:12 +0000 (07:36 -0400)]
Merge merge heads.
R David Murray [Wed, 18 Sep 2013 11:35:30 +0000 (07:35 -0400)]
Merge heads.
R David Murray [Wed, 18 Sep 2013 11:34:13 +0000 (07:34 -0400)]
Merge heads.
doko@ubuntu.com [Wed, 18 Sep 2013 10:13:18 +0000 (12:13 +0200)]
- followup for issue #18997, make _clear_joined_ptr static.
doko@ubuntu.com [Wed, 18 Sep 2013 10:12:28 +0000 (12:12 +0200)]
- followup for issue #18997, make _clear_joined_ptr static.
R David Murray [Wed, 18 Sep 2013 01:28:17 +0000 (21:28 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 01:04:50 +0000 (21:04 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 00:32:54 +0000 (20:32 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 00:30:02 +0000 (20:30 -0400)]
#14984: On POSIX, enforce permissions when reading default .netrc.
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
Serhiy Storchaka [Mon, 16 Sep 2013 20:57:00 +0000 (23:57 +0300)]
Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.
Serhiy Storchaka [Mon, 16 Sep 2013 20:51:56 +0000 (23:51 +0300)]
Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.
Serhiy Storchaka [Mon, 16 Sep 2013 20:18:10 +0000 (23:18 +0300)]
Issue #17003: Unified the size argument names in the io module with common
practice.
Serhiy Storchaka [Mon, 16 Sep 2013 08:03:59 +0000 (11:03 +0300)]
Issue #19029: Change non-existing since 3.0 StringType to str.
Serhiy Storchaka [Mon, 16 Sep 2013 08:01:31 +0000 (11:01 +0300)]
Issue #19029: Change non-existing since 3.0 StringType to str.
Georg Brandl [Mon, 16 Sep 2013 02:03:12 +0000 (04:03 +0200)]
One more markup fix.
Ethan Furman [Sun, 15 Sep 2013 23:59:35 +0000 (16:59 -0700)]
Close #18693: Enum is now more help() friendly.
Andrew Kuchling [Sun, 15 Sep 2013 22:15:56 +0000 (18:15 -0400)]
#
1565525 : Add traceback.clear_frames() helper function to clear locals ref'd by a traceback
Raymond Hettinger [Sun, 15 Sep 2013 21:57:15 +0000 (14:57 -0700)]
Issue 18771: Make it possible to set the number linear probes at compile-time.
Tim Peters [Sun, 15 Sep 2013 20:40:18 +0000 (15:40 -0500)]
Null merge of 3.3 into default.
Tim Peters [Sun, 15 Sep 2013 20:39:06 +0000 (15:39 -0500)]
Null merge of 3.2 into 3.3.
Tim Peters [Sun, 15 Sep 2013 20:37:25 +0000 (15:37 -0500)]
Null merge of 3.1 into 3.2
Changeset
c39f42f46a05 left a dangling head on 3.1.
Ethan Furman [Sun, 15 Sep 2013 19:34:36 +0000 (12:34 -0700)]
Close #18989: enum members will no longer overwrite other attributes, nor be overwritten by them.
Senthil Kumaran [Sun, 15 Sep 2013 16:37:27 +0000 (09:37 -0700)]
Expose --bind argument for http.server, enable http.server to bind to a user
specified network interface.
Patch contributed by Malte Swart. Addresses issue #17764.
HG :Enter commit message. Lines beginning with 'HG:' are removed.
Georg Brandl [Sun, 15 Sep 2013 08:37:57 +0000 (10:37 +0200)]
Fixup reST syntax errors and streamline docs of PEP 446.
Raymond Hettinger [Sun, 15 Sep 2013 03:52:54 +0000 (20:52 -0700)]
merge
Raymond Hettinger [Sun, 15 Sep 2013 03:51:57 +0000 (20:51 -0700)]
Issue #19018: The heapq.merge() function no longer suppresses IndexError
Ethan Furman [Sun, 15 Sep 2013 01:53:26 +0000 (18:53 -0700)]
Close #18929: inspect.classify_class_attrs will now search the metaclasses (last) to find where an attr was defined.
Ethan Furman [Sun, 15 Sep 2013 01:11:24 +0000 (18:11 -0700)]
Add __reversed__ to Enum. Minor code reorg (moved __members__ to be in alpha order).
Ezio Melotti [Sun, 15 Sep 2013 01:05:04 +0000 (04:05 +0300)]
#18856: merge with 3.3.
Antoine Pitrou [Sun, 15 Sep 2013 00:01:39 +0000 (02:01 +0200)]
Address Terry's comments
Ezio Melotti [Sun, 15 Sep 2013 00:00:42 +0000 (03:00 +0300)]
Merge heads.
Antoine Pitrou [Sat, 14 Sep 2013 19:16:39 +0000 (21:16 +0200)]
Avoid test_logging failure when run after test_unittest, by renaming a conflicting logger
Antoine Pitrou [Sat, 14 Sep 2013 17:45:47 +0000 (19:45 +0200)]
Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module.
R David Murray [Sat, 14 Sep 2013 17:31:44 +0000 (13:31 -0400)]
#18206: Re-fix license URL.
R David Murray [Sat, 14 Sep 2013 17:31:14 +0000 (13:31 -0400)]
Merge #18206: Fix test for existence of license URL.
This test will fail because a previous attempt to fix a merge error
in site.py was incorrect, but the test wasn't running so it wasn't
caught. The next commit will fix the site.py bug.
R David Murray [Sat, 14 Sep 2013 17:28:37 +0000 (13:28 -0400)]
#18206: Fix test for existence of license URL.
It now always checks, instead of only when the LICENSE file doesn't exist. It
is also protected by the 'network' resource, and uses a HEAD request since we
are only doing an existence check.
Georg Brandl [Sat, 14 Sep 2013 07:11:21 +0000 (09:11 +0200)]
merge with 3.3
Georg Brandl [Sat, 14 Sep 2013 07:11:09 +0000 (09:11 +0200)]
merge with 3.2
Georg Brandl [Sat, 14 Sep 2013 07:10:21 +0000 (09:10 +0200)]
Add a NEWS entry for
b9b521efeba3 .
Georg Brandl [Sat, 14 Sep 2013 07:09:18 +0000 (09:09 +0200)]
Add NEWS entry for
c18c18774e24 .
Georg Brandl [Sat, 14 Sep 2013 07:08:09 +0000 (09:08 +0200)]
Fix tkinter regression introduced by the security fix in #16248.
Georg Brandl [Sat, 14 Sep 2013 07:08:09 +0000 (09:08 +0200)]
Fix tkinter regression introduced by the security fix in #16248.
Ezio Melotti [Sat, 14 Sep 2013 01:55:53 +0000 (04:55 +0300)]
#18856: improve test coverage of the calendar module. Patch by Madison May.
Antoine Pitrou [Fri, 13 Sep 2013 22:40:46 +0000 (00:40 +0200)]
Adjust comment
Antoine Pitrou [Fri, 13 Sep 2013 22:39:15 +0000 (00:39 +0200)]
Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocation
Antoine Pitrou [Fri, 13 Sep 2013 22:37:18 +0000 (00:37 +0200)]
Issue #19013: add a __main__ to unittest.test to ease CLI invocation
Antoine Pitrou [Fri, 13 Sep 2013 21:54:01 +0000 (23:54 +0200)]
Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules
Antoine Pitrou [Fri, 13 Sep 2013 21:52:46 +0000 (23:52 +0200)]
Issue #19013: add unittest.main() epilogs to unittest's own test modules
Ezio Melotti [Fri, 13 Sep 2013 20:54:41 +0000 (23:54 +0300)]
#18981: merge with 3.3.
Brett Cannon [Fri, 13 Sep 2013 20:52:19 +0000 (16:52 -0400)]
Issue #18955: clarify what is removed by importlib.util.module_for_loader.
Ezio Melotti [Fri, 13 Sep 2013 20:52:12 +0000 (23:52 +0300)]
#18981: fix a typo in a comment (noticed by Anoop Thomas Mathew).
Ezio Melotti [Fri, 13 Sep 2013 19:18:02 +0000 (22:18 +0300)]
#18951: merge with 3.3.
Ezio Melotti [Fri, 13 Sep 2013 19:17:40 +0000 (22:17 +0300)]
#18951: use consistent names in unittest docs.
Charles-François Natali [Fri, 13 Sep 2013 17:53:08 +0000 (19:53 +0200)]
Issue #16201: socket: Use inet_pton()/inet_addr() instead of ad-hoc parsing for
numeric IP addresses.
Eli Bendersky [Fri, 13 Sep 2013 13:27:52 +0000 (06:27 -0700)]
Merge for Issue #18997: Issue #18997: fix ElementTree crash with using pickle and __getstate__.
Eli Bendersky [Fri, 13 Sep 2013 13:24:59 +0000 (06:24 -0700)]
Add Germán M. Bravo to Misc/ACKS
Eli Bendersky [Fri, 13 Sep 2013 13:24:25 +0000 (06:24 -0700)]
Issue #18997: fix ElementTree crash with using pickle and __getstate__.
Based on report and initial patch from Germán M. Bravo
Eli Bendersky [Fri, 13 Sep 2013 12:30:00 +0000 (05:30 -0700)]
Issue #18945: Add tests for tempfile name collision handling.
Patch by Vlad Shcherbina
Eli Bendersky [Fri, 13 Sep 2013 12:28:20 +0000 (05:28 -0700)]
Issue #18945: Add tests for tempfile name collision handling.
Patch by Vlad Shcherbina
Serhiy Storchaka [Fri, 13 Sep 2013 08:46:24 +0000 (11:46 +0300)]
Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.
Senthil Kumaran [Fri, 13 Sep 2013 07:22:45 +0000 (00:22 -0700)]
Fix http.server's request handling case on trailing '/'.
Patch contributed by Vajrasky Kok. Addresses Issue #17324
Senthil Kumaran [Fri, 13 Sep 2013 07:21:18 +0000 (00:21 -0700)]
Fix http.server's request handling case on trailing '/'.
Patch contributed by Vajrasky Kok. Addresses Issue #17324
Serhiy Storchaka [Fri, 13 Sep 2013 04:49:36 +0000 (07:49 +0300)]
Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
Serhiy Storchaka [Fri, 13 Sep 2013 04:46:40 +0000 (07:46 +0300)]
Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
Senthil Kumaran [Thu, 12 Sep 2013 14:06:49 +0000 (07:06 -0700)]
Removing the merge conflict markers.
- my previous removal and hg resolve mark had still left them and hooks did not catch it too!
Senthil Kumaran [Thu, 12 Sep 2013 05:56:30 +0000 (22:56 -0700)]
Automated merge with file:///Users/skumaran/python/cpython
Senthil Kumaran [Thu, 12 Sep 2013 05:56:28 +0000 (22:56 -0700)]
Automated merge with ssh://hg.python.org/cpython
Senthil Kumaran [Thu, 12 Sep 2013 05:55:54 +0000 (22:55 -0700)]
merge from 3.3
Improve the docstring of random.shuffle. Inform users not to provide int arg.
Addresses issue #14927
Senthil Kumaran [Thu, 12 Sep 2013 05:54:31 +0000 (22:54 -0700)]
Improve the docstring of random.shuffle. Inform users not to provide int arg.
Addresses issue #14927
Serhiy Storchaka [Wed, 11 Sep 2013 19:48:52 +0000 (22:48 +0300)]
Issue #18988: The "Tab" key now works when a word is already autocompleted.
Serhiy Storchaka [Wed, 11 Sep 2013 19:46:27 +0000 (22:46 +0300)]
Issue #18988: The "Tab" key now works when a word is already autocompleted.
Raymond Hettinger [Wed, 11 Sep 2013 06:15:40 +0000 (01:15 -0500)]
Issue #18962: Optimize the single iterator case for heapq.merge()
Suggested by Wouter Bolsterlee.
Senthil Kumaran [Tue, 10 Sep 2013 05:40:13 +0000 (22:40 -0700)]
merge from 3.3
Clarify mmap.close method behavior. Addresses issue #18815
Patch contributed by Anoop Thomas Mathew.
Senthil Kumaran [Tue, 10 Sep 2013 05:39:28 +0000 (22:39 -0700)]
Clarify mmap.close method behavior. Addresses issue #18815
Patch contributed by Anoop Thomas Mathew.
Senthil Kumaran [Tue, 10 Sep 2013 02:58:20 +0000 (19:58 -0700)]
merge from 3.3
Document Fraction's numerator and denominator properties.
Addresses issue #18800
Senthil Kumaran [Tue, 10 Sep 2013 02:57:37 +0000 (19:57 -0700)]
Document Fraction's numerator and denominator properties.
Addresses issue #18800
Tim Peters [Mon, 9 Sep 2013 23:48:24 +0000 (18:48 -0500)]
Get "stopped" back into repr(Thread) when appropriate.
Due to recent changes, a Thread doesn't know that it's over before
someone calls .join() or .is_alive(). That meant repr(Thread)
continued to include "started" (and not "stopped") before one of
those methods was called, even if hours passed since the thread
ended.
Repaired that.
Tim Peters [Mon, 9 Sep 2013 19:41:50 +0000 (14:41 -0500)]
Another stab at the thread cleanup patch.
Antoine Pitrou found a variation that worked for him on the
thread+fork tests, and added an important
self._is_stopped = True
to the after-fork code. I confess I don't know why things passed
before. But then mixing fork with threads is insane ;-)
Tim Peters [Mon, 9 Sep 2013 18:47:16 +0000 (13:47 -0500)]
Backed out changeset
1f5a7853680c
Unixy buildbots were failing the thread + fork tests :-(
Tim Peters [Mon, 9 Sep 2013 17:57:10 +0000 (12:57 -0500)]
Minor cleanup of the new scheme for detecting thread termination.
Documented some obscurities, and assert'ed ._stop()'s crucial precondition.
Larry Hastings [Mon, 9 Sep 2013 12:12:21 +0000 (21:12 +0900)]
Merge.
Larry Hastings [Mon, 9 Sep 2013 12:08:52 +0000 (21:08 +0900)]
Post-3.4.0a2-release fixups.
Mark Dickinson [Mon, 9 Sep 2013 09:34:56 +0000 (10:34 +0100)]
Merge docstring typo fix from 3.3
Mark Dickinson [Mon, 9 Sep 2013 09:34:24 +0000 (10:34 +0100)]
Docstring typo fix: Arithmentic -> Arithmetic.
Raymond Hettinger [Mon, 9 Sep 2013 07:02:05 +0000 (02:02 -0500)]
merge
Raymond Hettinger [Mon, 9 Sep 2013 07:01:35 +0000 (02:01 -0500)]
Issue 18752: Make chain.from_iterable() more visible in the documentation.
Raymond Hettinger [Mon, 9 Sep 2013 06:55:31 +0000 (01:55 -0500)]
merge
Raymond Hettinger [Mon, 9 Sep 2013 06:55:07 +0000 (01:55 -0500)]
merge
Raymond Hettinger [Mon, 9 Sep 2013 06:54:27 +0000 (01:54 -0500)]
Issue 18301: The classmethod decorator didn't fit well with the rough-equivalent example code.
Ethan Furman [Mon, 9 Sep 2013 06:48:34 +0000 (23:48 -0700)]
Close #18980: Enum doc fixes. Patch from Elazar Gershuni.
Raymond Hettinger [Mon, 9 Sep 2013 06:29:40 +0000 (01:29 -0500)]
Issue 18752: Make chain.from_iterable() more visible in the documentation.