]>
granicus.if.org Git - python/log
Benjamin Peterson [Sat, 26 Mar 2011 23:04:09 +0000 (18:04 -0500)]
always check return value of PyObject_IsInstance for error
Benjamin Peterson [Sat, 26 Mar 2011 22:56:28 +0000 (17:56 -0500)]
check possible recursive _as_parameter_ to prevent segfault (closes #1838)
Antoine Pitrou [Sat, 26 Mar 2011 21:08:21 +0000 (22:08 +0100)]
In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)
Steven Bethard [Sat, 26 Mar 2011 20:50:38 +0000 (21:50 +0100)]
Issue #9343: Document that argparse parent parsers must be configured before their children. (Merge from 3.2.)
Steven Bethard [Sat, 26 Mar 2011 18:59:02 +0000 (19:59 +0100)]
Issue #8982: Improve the documentation for the argparse Namespace object. (Merge from 3.2.)
Steven Bethard [Sat, 26 Mar 2011 16:57:52 +0000 (17:57 +0100)]
Issue #9348: Raise an early error if argparse nargs and metavar don't match. (Merge from 3.2.)
Mark Dickinson [Sat, 26 Mar 2011 12:18:00 +0000 (12:18 +0000)]
Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long.
Mark Dickinson [Sat, 26 Mar 2011 10:02:37 +0000 (10:02 +0000)]
Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.
Éric Araujo [Sat, 26 Mar 2011 01:09:14 +0000 (02:09 +0100)]
Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.
Éric Araujo [Sat, 26 Mar 2011 00:26:08 +0000 (01:26 +0100)]
Remove untrue statement from tutorial
Éric Araujo [Sat, 26 Mar 2011 00:24:47 +0000 (01:24 +0100)]
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
Raymond Hettinger [Fri, 25 Mar 2011 23:00:13 +0000 (16:00 -0700)]
Issue #11666: Teach pydoc to display full help for named tuples
Mark Dickinson [Fri, 25 Mar 2011 22:01:06 +0000 (22:01 +0000)]
Issue #11673: Fix multiprocessing.[Raw]Array constructor to accept a size of type long. Thanks Robert Kern.
Benjamin Peterson [Fri, 25 Mar 2011 21:58:31 +0000 (16:58 -0500)]
merge heads
Benjamin Peterson [Fri, 25 Mar 2011 21:57:30 +0000 (16:57 -0500)]
remove this dead subversion code
Kurt B. Kaiser [Fri, 25 Mar 2011 21:48:27 +0000 (17:48 -0400)]
<Home> toggle failing on Tk 8.5, causing IDLE exits. Issue 3851.
Ezio Melotti [Fri, 25 Mar 2011 12:50:52 +0000 (14:50 +0200)]
#2650: Refactor re.escape and its tests.
Eli Bendersky [Thu, 24 Mar 2011 20:38:25 +0000 (22:38 +0200)]
Issue #11634: Remove misleading paragraph from a comment
Éric Araujo [Tue, 22 Mar 2011 22:47:32 +0000 (23:47 +0100)]
Fix obscure set crashers (#4420). Backport of
d56b3cafb1e6 , reviewed by Raymond.
Raymond Hettinger [Wed, 23 Mar 2011 00:51:57 +0000 (17:51 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.
Raymond Hettinger [Tue, 22 Mar 2011 22:52:46 +0000 (15:52 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:28:45 +0000 (15:28 -0700)]
Issue 10988: fix description of super's descriptor call.
Éric Araujo [Tue, 22 Mar 2011 20:45:42 +0000 (21:45 +0100)]
Fix typo spotted by Sandro Tosi
Raymond Hettinger [Tue, 22 Mar 2011 20:20:59 +0000 (13:20 -0700)]
Issue #11628: cmp_to_key should use__slots__.
Raymond Hettinger [Tue, 22 Mar 2011 16:06:38 +0000 (09:06 -0700)]
Issue #11625: Fix Typo
Martin v. Löwis [Mon, 21 Mar 2011 09:32:02 +0000 (10:32 +0100)]
null merge
Martin v. Löwis [Mon, 21 Mar 2011 09:31:44 +0000 (10:31 +0100)]
null merge
Martin v. Löwis [Mon, 21 Mar 2011 09:30:07 +0000 (10:30 +0100)]
Set subversion version identification to empty strings if this is not a subversion
checkout (but a mercurial one). Closes #11579. Closes #11421.
Patch by Senthil Kumaran.
Georg Brandl [Mon, 21 Mar 2011 07:55:16 +0000 (08:55 +0100)]
Fix duplicate word.
Éric Araujo [Sun, 20 Mar 2011 23:15:26 +0000 (00:15 +0100)]
Fix some issue references in NEWS
Éric Araujo [Sun, 20 Mar 2011 17:34:24 +0000 (18:34 +0100)]
Fix typo in class name
Benjamin Peterson [Sun, 20 Mar 2011 17:24:20 +0000 (12:24 -0500)]
the name of the option is a bit too low-level
Guido van Rossum [Sat, 19 Mar 2011 23:23:18 +0000 (16:23 -0700)]
Merge from 2.6.
Guido van Rossum [Sat, 19 Mar 2011 23:20:39 +0000 (16:20 -0700)]
Whoops. The copyright should be two lines (merge from 2.5).
Guido van Rossum [Sat, 19 Mar 2011 23:20:06 +0000 (16:20 -0700)]
Whoops. The copyright should be two lines.
Guido van Rossum [Sat, 19 Mar 2011 23:18:02 +0000 (16:18 -0700)]
Test commit. Add 2011 to copyright line (merge from 2.6).
Guido van Rossum [Sat, 19 Mar 2011 23:17:14 +0000 (16:17 -0700)]
Test commit. Add 2011 to copyright line (merge from 2.5).
Guido van Rossum [Sat, 19 Mar 2011 23:14:44 +0000 (16:14 -0700)]
Test commit. Add 2011 to copyright line.
Raymond Hettinger [Sat, 19 Mar 2011 22:09:00 +0000 (15:09 -0700)]
Minor doc clean-up.
* Show list of fields option before showing the single string alternative.
* Remove the PS2 prompts so that the examples become cut-and-pastable.
Éric Araujo [Sat, 19 Mar 2011 03:29:36 +0000 (04:29 +0100)]
Fix the total_ordering decorator to handle cross-type comparisons
that could lead to infinite recursion (closes #10042).
Michael Foord [Thu, 17 Mar 2011 16:59:38 +0000 (12:59 -0400)]
News update for previous commit
Michael Foord [Thu, 17 Mar 2011 16:48:56 +0000 (12:48 -0400)]
Issue #10979. unittest stdout buffering now works for class and module fixtures.
Senthil Kumaran [Thu, 17 Mar 2011 06:43:21 +0000 (14:43 +0800)]
branch merge.
Senthil Kumaran [Thu, 17 Mar 2011 06:24:35 +0000 (14:24 +0800)]
merge from 2.6 branch
Senthil Kumaran [Thu, 17 Mar 2011 06:23:24 +0000 (14:23 +0800)]
merge from 2.5 branch.
Senthil Kumaran [Thu, 17 Mar 2011 04:34:18 +0000 (12:34 +0800)]
Fix issue11442 - Add a charset parameter to the Content-type to avoid XSS attacks.
Patch by Tom N. (Backported from py3k codeline).
Kurt B. Kaiser [Thu, 17 Mar 2011 04:05:38 +0000 (00:05 -0400)]
<Home> toggle non-functional when NumLock set.
Issue3851
Michael Foord [Thu, 17 Mar 2011 02:28:08 +0000 (22:28 -0400)]
Changes for Wing Project file caused by mercurial transition. Plus ignoring python.exe-gdb.py.
Michael Foord [Thu, 17 Mar 2011 00:34:53 +0000 (20:34 -0400)]
Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual
Ronald Oussoren [Wed, 16 Mar 2011 13:47:15 +0000 (09:47 -0400)]
Issue #11569: use absolute path to the sysctl command in multiprocessing to
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.
Patch by Steffen Daode Nurpmeso.
Ezio Melotti [Wed, 16 Mar 2011 10:46:40 +0000 (12:46 +0200)]
Revert typo fixes in zlib/*
Ezio Melotti [Wed, 16 Mar 2011 10:34:31 +0000 (12:34 +0200)]
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Jesus Cea [Wed, 16 Mar 2011 00:19:49 +0000 (01:19 +0100)]
Close issue #8600: test_gdb failures because innocuous warnings
R David Murray [Tue, 15 Mar 2011 22:01:04 +0000 (18:01 -0400)]
Merge #11216: document all possible set_charset execution paths.
Benjamin Peterson [Tue, 15 Mar 2011 20:03:13 +0000 (15:03 -0500)]
make this subversion artifact empty
Ezio Melotti [Tue, 15 Mar 2011 17:09:10 +0000 (19:09 +0200)]
Revert typo fixes in _cytpes/libffi*
Ezio Melotti [Tue, 15 Mar 2011 16:55:01 +0000 (18:55 +0200)]
#11515: fix several typos. Patch by Piotr Kasprzyk.
Ronald Oussoren [Mon, 14 Mar 2011 22:53:59 +0000 (18:53 -0400)]
Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified
IP addresses in the proxy exception list.
Ronald Oussoren [Mon, 14 Mar 2011 15:57:39 +0000 (11:57 -0400)]
Issue #1099: Fix the build on MacOSX when building a framework with pydebug using GCC 4.0.
R David Murray [Mon, 14 Mar 2011 14:01:12 +0000 (10:01 -0400)]
Port #11488 patch from 3.1 (changeset
f816841bab03 )
Ross Lagerwall [Mon, 14 Mar 2011 08:43:36 +0000 (10:43 +0200)]
Issue #10885: Fix multiprocessing docs typo
R David Murray [Mon, 14 Mar 2011 02:40:59 +0000 (22:40 -0400)]
merge heads
R David Murray [Mon, 14 Mar 2011 02:37:18 +0000 (22:37 -0400)]
#11490: EACCES can also mean command not found
Ezio Melotti [Sun, 13 Mar 2011 20:55:41 +0000 (22:55 +0200)]
#11484: remove paragraph about with_traceback from 2.7 doc.
Antoine Pitrou [Sun, 13 Mar 2011 18:35:04 +0000 (19:35 +0100)]
Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478)
Nick Coghlan [Sun, 13 Mar 2011 11:52:31 +0000 (21:52 +1000)]
Dummy merge of 2.6 reversion of logging change
Eli Bendersky [Sun, 13 Mar 2011 06:45:19 +0000 (08:45 +0200)]
Issue #11426: use 'with' statements on open files in CSV examples
Ezio Melotti [Sun, 13 Mar 2011 00:13:08 +0000 (02:13 +0200)]
Fix markup in inputoutput.rst.
Benjamin Peterson [Sat, 12 Mar 2011 23:12:54 +0000 (17:12 -0600)]
clarify condition for readline to return EOF (closes #11312)
Vinay Sajip [Sat, 12 Mar 2011 22:43:23 +0000 (22:43 +0000)]
Fixes issue #11476: StreamHandler parameter name change documented.
Ezio Melotti [Sat, 12 Mar 2011 20:21:37 +0000 (22:21 +0200)]
Fix typo.
Benjamin Peterson [Sat, 12 Mar 2011 17:58:15 +0000 (11:58 -0600)]
trunc -> math.trunc (closes #11475)
Mark Dickinson [Sat, 12 Mar 2011 11:05:32 +0000 (11:05 +0000)]
Issue 11131: Fix sign of zero result on plus and minus operations in ROUND_FLOOR rounding mode.
Antoine Pitrou [Fri, 11 Mar 2011 22:46:26 +0000 (23:46 +0100)]
Issue #11403: add some MSVC-generated files to .hgignore
Vinay Sajip [Fri, 11 Mar 2011 18:44:10 +0000 (18:44 +0000)]
Reverted bug fixes for #11444 (
fc4d045e3170 ) and #11424 (
b9d76846bb1c ), which should not have been made in this branch.
R David Murray [Thu, 10 Mar 2011 22:57:35 +0000 (17:57 -0500)]
#10999: Add missing documentation for chflags constants to stat module docs
Patch by Michal Nowikowski.
Ezio Melotti [Thu, 10 Mar 2011 21:35:39 +0000 (23:35 +0200)]
Use simpler assert in basic example.
Ezio Melotti [Thu, 10 Mar 2011 21:00:48 +0000 (23:00 +0200)]
Backport from 3.x several improvements and fixes for unittest.rst.
Gregory P. Smith [Thu, 10 Mar 2011 19:49:27 +0000 (11:49 -0800)]
Explicitly mention that people should not depend on finalization of
objects to happen immediately.
Antoine Pitrou [Wed, 9 Mar 2011 11:54:00 +0000 (12:54 +0100)]
Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
there are many tags (e.g. when using mq). Patch by Nadeem Vawda.
Ned Deily [Wed, 9 Mar 2011 10:31:55 +0000 (02:31 -0800)]
Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.
Vinay Sajip [Tue, 8 Mar 2011 22:47:18 +0000 (22:47 +0000)]
Issue #11444: Merge fix from 2.6.
Vinay Sajip [Tue, 8 Mar 2011 22:39:55 +0000 (22:39 +0000)]
Issue #11444: Lock handlers while flushing/closing during shutdown.
Ezio Melotti [Tue, 8 Mar 2011 15:08:25 +0000 (17:08 +0200)]
#11298: Improve the unittest discovery explanation.
Georg Brandl [Tue, 8 Mar 2011 10:05:40 +0000 (11:05 +0100)]
Sort out 2.7 and 2.7.1 tags.
Benjamin Peterson [Tue, 8 Mar 2011 04:50:37 +0000 (22:50 -0600)]
transform izip_longest #11424
Vinay Sajip [Mon, 7 Mar 2011 18:20:27 +0000 (18:20 +0000)]
Whitespace normalization.
Vinay Sajip [Mon, 7 Mar 2011 15:07:58 +0000 (15:07 +0000)]
#Issue 11424: merged fix from 2.6.
Vinay Sajip [Mon, 7 Mar 2011 15:02:11 +0000 (15:02 +0000)]
Issue #11424: Fix bug in determining child loggers.
Benjamin Peterson [Sun, 6 Mar 2011 23:08:40 +0000 (17:08 -0600)]
only do this sys.stderr replacing on CPython
Thomas Wouters [Sun, 6 Mar 2011 19:48:05 +0000 (11:48 -0800)]
Issue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
working correctly with a relative path.
Martin v. Löwis [Sun, 6 Mar 2011 11:27:30 +0000 (12:27 +0100)]
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
Georg Brandl [Sun, 6 Mar 2011 10:08:35 +0000 (11:08 +0100)]
#11292: add missing A_REVERSE to curses attribute table.
Georg Brandl [Sun, 6 Mar 2011 10:09:51 +0000 (11:09 +0100)]
#11294: add missing ERA_T_FMT to locale docs.
Georg Brandl [Sun, 6 Mar 2011 10:07:11 +0000 (11:07 +0100)]
#11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
Georg Brandl [Sun, 6 Mar 2011 09:57:52 +0000 (10:57 +0100)]
#11373: fix spelling.
Georg Brandl [Sun, 6 Mar 2011 09:53:55 +0000 (10:53 +0100)]
#11392: you can trust the computer, but you have to know what it does.
Georg Brandl [Sun, 6 Mar 2011 09:56:18 +0000 (10:56 +0100)]
#11405: do not reference the string module again for its deprecated functions, only for Template class.
Georg Brandl [Sun, 6 Mar 2011 09:48:43 +0000 (10:48 +0100)]
#11400: remove reference to pre-1.5 assignment behavior.
Georg Brandl [Sun, 6 Mar 2011 09:42:21 +0000 (10:42 +0100)]
Port build identification from default branch.