]> granicus.if.org Git - python/log
python
13 years agoalways check return value of PyObject_IsInstance for error
Benjamin Peterson [Sat, 26 Mar 2011 23:04:09 +0000 (18:04 -0500)]
always check return value of PyObject_IsInstance for error

13 years agocheck possible recursive _as_parameter_ to prevent segfault (closes #1838)
Benjamin Peterson [Sat, 26 Mar 2011 22:56:28 +0000 (17:56 -0500)]
check possible recursive _as_parameter_ to prevent segfault (closes #1838)

13 years agoIn the Windows clean script for buildbots, also clear the build dir
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)

13 years agoIssue #9343: Document that argparse parent parsers must be configured before their...
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.)

13 years agoIssue #8982: Improve the documentation for the argparse Namespace object. (Merge...
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.)

13 years agoIssue #9348: Raise an early error if argparse nargs and metavar don't match. (Merge...
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.)

13 years agoIssue #11144: Fix corner cases where float-to-int conversion unnecessarily returned...
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.

13 years agoIssue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.
Mark Dickinson [Sat, 26 Mar 2011 10:02:37 +0000 (10:02 +0000)]
Issue #11675:  Zero-out newly-created multiprocessing.[Raw]Array objects.

13 years agoTweaks to sys.flags description table.
É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.

13 years agoRemove untrue statement from tutorial
Éric Araujo [Sat, 26 Mar 2011 00:26:08 +0000 (01:26 +0100)]
Remove untrue statement from tutorial

13 years agoUse universal construct os.path.expanduser('~') instead of os.environ['HOME']
Éric Araujo [Sat, 26 Mar 2011 00:24:47 +0000 (01:24 +0100)]
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']

13 years agoIssue #11666: Teach pydoc to display full help for named tuples
Raymond Hettinger [Fri, 25 Mar 2011 23:00:13 +0000 (16:00 -0700)]
Issue #11666: Teach pydoc to display full help for named tuples

13 years agoIssue #11673: Fix multiprocessing.[Raw]Array constructor to accept a size of type...
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.

13 years agomerge heads
Benjamin Peterson [Fri, 25 Mar 2011 21:58:31 +0000 (16:58 -0500)]
merge heads

13 years agoremove this dead subversion code
Benjamin Peterson [Fri, 25 Mar 2011 21:57:30 +0000 (16:57 -0500)]
remove this dead subversion code

13 years ago<Home> toggle failing on Tk 8.5, causing IDLE exits. Issue 3851.
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.

13 years ago#2650: Refactor re.escape and its tests.
Ezio Melotti [Fri, 25 Mar 2011 12:50:52 +0000 (14:50 +0200)]
#2650: Refactor re.escape and its tests.

13 years agoIssue #11634: Remove misleading paragraph from a comment
Eli Bendersky [Thu, 24 Mar 2011 20:38:25 +0000 (22:38 +0200)]
Issue #11634: Remove misleading paragraph from a comment

13 years agoFix obscure set crashers (#4420). Backport of d56b3cafb1e6, reviewed by Raymond.
Éric Araujo [Tue, 22 Mar 2011 22:47:32 +0000 (23:47 +0100)]
Fix obscure set crashers (#4420).  Backport of d56b3cafb1e6, reviewed by Raymond.

13 years agoIssue #10771: Clarify that descriptors get used in an *owner* class or one of its...
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.

13 years agoIssue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:52:46 +0000 (15:52 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.

13 years agoIssue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 22:28:45 +0000 (15:28 -0700)]
Issue 10988: fix description of super's descriptor call.

13 years agoFix typo spotted by Sandro Tosi
Éric Araujo [Tue, 22 Mar 2011 20:45:42 +0000 (21:45 +0100)]
Fix typo spotted by Sandro Tosi

13 years agoIssue #11628: cmp_to_key should use__slots__.
Raymond Hettinger [Tue, 22 Mar 2011 20:20:59 +0000 (13:20 -0700)]
Issue #11628: cmp_to_key should use__slots__.

13 years agoIssue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 16:06:38 +0000 (09:06 -0700)]
Issue #11625: Fix Typo

13 years agonull merge
Martin v. Löwis [Mon, 21 Mar 2011 09:32:02 +0000 (10:32 +0100)]
null merge

13 years agonull merge
Martin v. Löwis [Mon, 21 Mar 2011 09:31:44 +0000 (10:31 +0100)]
null merge

13 years agoSet subversion version identification to empty strings if this is not a subversion
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.

13 years agoFix duplicate word.
Georg Brandl [Mon, 21 Mar 2011 07:55:16 +0000 (08:55 +0100)]
Fix duplicate word.

13 years agoFix some issue references in NEWS
Éric Araujo [Sun, 20 Mar 2011 23:15:26 +0000 (00:15 +0100)]
Fix some issue references in NEWS

13 years agoFix typo in class name
Éric Araujo [Sun, 20 Mar 2011 17:34:24 +0000 (18:34 +0100)]
Fix typo in class name

13 years agothe name of the option is a bit too low-level
Benjamin Peterson [Sun, 20 Mar 2011 17:24:20 +0000 (12:24 -0500)]
the name of the option is a bit too low-level

13 years agoMerge from 2.6.
Guido van Rossum [Sat, 19 Mar 2011 23:23:18 +0000 (16:23 -0700)]
Merge from 2.6.

13 years agoWhoops. The copyright should be two lines (merge from 2.5).
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).

13 years agoWhoops. The copyright should be two lines.
Guido van Rossum [Sat, 19 Mar 2011 23:20:06 +0000 (16:20 -0700)]
Whoops. The copyright should be two lines.

13 years agoTest commit. Add 2011 to copyright line (merge from 2.6).
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).

13 years agoTest commit. Add 2011 to copyright line (merge from 2.5).
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).

13 years agoTest commit. Add 2011 to copyright line.
Guido van Rossum [Sat, 19 Mar 2011 23:14:44 +0000 (16:14 -0700)]
Test commit. Add 2011 to copyright line.

13 years agoMinor doc clean-up.
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.

13 years agoFix the total_ordering decorator to handle cross-type comparisons
É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).

13 years agoNews update for previous commit
Michael Foord [Thu, 17 Mar 2011 16:59:38 +0000 (12:59 -0400)]
News update for previous commit

13 years agoIssue #10979. unittest stdout buffering now works for class and module fixtures.
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.

13 years agobranch merge.
Senthil Kumaran [Thu, 17 Mar 2011 06:43:21 +0000 (14:43 +0800)]
branch merge.

13 years agomerge from 2.6 branch
Senthil Kumaran [Thu, 17 Mar 2011 06:24:35 +0000 (14:24 +0800)]
merge from 2.6 branch

13 years agomerge from 2.5 branch.
Senthil Kumaran [Thu, 17 Mar 2011 06:23:24 +0000 (14:23 +0800)]
merge from 2.5 branch.

13 years agoFix issue11442 - Add a charset parameter to the Content-type to avoid XSS attacks.
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).

13 years ago<Home> toggle non-functional when NumLock set.
Kurt B. Kaiser [Thu, 17 Mar 2011 04:05:38 +0000 (00:05 -0400)]
<Home> toggle non-functional when NumLock set.
Issue3851

13 years agoChanges for Wing Project file caused by mercurial transition. Plus ignoring python...
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.

13 years agoIssue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual
Michael Foord [Thu, 17 Mar 2011 00:34:53 +0000 (20:34 -0400)]
Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual

13 years agoIssue #11569: use absolute path to the sysctl command in multiprocessing to
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.

13 years agoRevert typo fixes in zlib/*
Ezio Melotti [Wed, 16 Mar 2011 10:46:40 +0000 (12:46 +0200)]
Revert typo fixes in zlib/*

13 years ago#11565: Fix several typos. Patch by Piotr Kasprzyk.
Ezio Melotti [Wed, 16 Mar 2011 10:34:31 +0000 (12:34 +0200)]
#11565: Fix several typos. Patch by Piotr Kasprzyk.

13 years agoClose issue #8600: test_gdb failures because innocuous warnings
Jesus Cea [Wed, 16 Mar 2011 00:19:49 +0000 (01:19 +0100)]
Close issue #8600: test_gdb failures because innocuous warnings

13 years agoMerge #11216: document all possible set_charset execution paths.
R David Murray [Tue, 15 Mar 2011 22:01:04 +0000 (18:01 -0400)]
Merge #11216: document all possible set_charset execution paths.

13 years agomake this subversion artifact empty
Benjamin Peterson [Tue, 15 Mar 2011 20:03:13 +0000 (15:03 -0500)]
make this subversion artifact empty

13 years agoRevert typo fixes in _cytpes/libffi*
Ezio Melotti [Tue, 15 Mar 2011 17:09:10 +0000 (19:09 +0200)]
Revert typo fixes in _cytpes/libffi*

13 years ago#11515: fix several typos. Patch by Piotr Kasprzyk.
Ezio Melotti [Tue, 15 Mar 2011 16:55:01 +0000 (18:55 +0200)]
#11515: fix several typos. Patch by Piotr Kasprzyk.

13 years agoIssue #11500: Fixed a bug in the os x proxy bypass code for fully qualified
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.

13 years agoIssue #1099: Fix the build on MacOSX when building a framework with pydebug using...
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.

13 years agoPort #11488 patch from 3.1 (changeset f816841bab03)
R David Murray [Mon, 14 Mar 2011 14:01:12 +0000 (10:01 -0400)]
Port #11488 patch from 3.1 (changeset f816841bab03)

13 years agoIssue #10885: Fix multiprocessing docs typo
Ross Lagerwall [Mon, 14 Mar 2011 08:43:36 +0000 (10:43 +0200)]
Issue #10885: Fix multiprocessing docs typo

13 years agomerge heads
R David Murray [Mon, 14 Mar 2011 02:40:59 +0000 (22:40 -0400)]
merge heads

13 years ago#11490: EACCES can also mean command not found
R David Murray [Mon, 14 Mar 2011 02:37:18 +0000 (22:37 -0400)]
#11490: EACCES can also mean command not found

13 years ago#11484: remove paragraph about with_traceback from 2.7 doc.
Ezio Melotti [Sun, 13 Mar 2011 20:55:41 +0000 (22:55 +0200)]
#11484: remove paragraph about with_traceback from 2.7 doc.

13 years agoRemove documentation to non-existent function PyObject_CopyToObject (fixes #11478)
Antoine Pitrou [Sun, 13 Mar 2011 18:35:04 +0000 (19:35 +0100)]
Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478)

13 years agoDummy merge of 2.6 reversion of logging change
Nick Coghlan [Sun, 13 Mar 2011 11:52:31 +0000 (21:52 +1000)]
Dummy merge of 2.6 reversion of logging change

13 years agoIssue #11426: use 'with' statements on open files in CSV examples
Eli Bendersky [Sun, 13 Mar 2011 06:45:19 +0000 (08:45 +0200)]
Issue #11426: use 'with' statements on open files in CSV examples

13 years agoFix markup in inputoutput.rst.
Ezio Melotti [Sun, 13 Mar 2011 00:13:08 +0000 (02:13 +0200)]
Fix markup in inputoutput.rst.

13 years agoclarify condition for readline to return EOF (closes #11312)
Benjamin Peterson [Sat, 12 Mar 2011 23:12:54 +0000 (17:12 -0600)]
clarify condition for readline to return EOF (closes #11312)

13 years agoFixes issue #11476: StreamHandler parameter name change documented.
Vinay Sajip [Sat, 12 Mar 2011 22:43:23 +0000 (22:43 +0000)]
Fixes issue #11476: StreamHandler parameter name change documented.

13 years agoFix typo.
Ezio Melotti [Sat, 12 Mar 2011 20:21:37 +0000 (22:21 +0200)]
Fix typo.

13 years agotrunc -> math.trunc (closes #11475)
Benjamin Peterson [Sat, 12 Mar 2011 17:58:15 +0000 (11:58 -0600)]
trunc -> math.trunc (closes #11475)

13 years agoIssue 11131: Fix sign of zero result on plus and minus operations in ROUND_FLOOR...
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.

13 years agoIssue #11403: add some MSVC-generated files to .hgignore
Antoine Pitrou [Fri, 11 Mar 2011 22:46:26 +0000 (23:46 +0100)]
Issue #11403: add some MSVC-generated files to .hgignore

13 years agoReverted bug fixes for #11444 (fc4d045e3170) and #11424 (b9d76846bb1c), which should...
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.

13 years ago#10999: Add missing documentation for chflags constants to stat module docs
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.

13 years agoUse simpler assert in basic example.
Ezio Melotti [Thu, 10 Mar 2011 21:35:39 +0000 (23:35 +0200)]
Use simpler assert in basic example.

13 years agoBackport from 3.x several improvements and fixes for unittest.rst.
Ezio Melotti [Thu, 10 Mar 2011 21:00:48 +0000 (23:00 +0200)]
Backport from 3.x several improvements and fixes for unittest.rst.

13 years agoExplicitly mention that people should not depend on finalization of
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.

13 years agoIssue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
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.

13 years agoIssue #5622: Fix curses.wrapper to raise correct exception if curses
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.

13 years agoIssue #11444: Merge fix from 2.6.
Vinay Sajip [Tue, 8 Mar 2011 22:47:18 +0000 (22:47 +0000)]
Issue #11444: Merge fix from 2.6.

13 years agoIssue #11444: Lock handlers while flushing/closing during shutdown.
Vinay Sajip [Tue, 8 Mar 2011 22:39:55 +0000 (22:39 +0000)]
Issue #11444: Lock handlers while flushing/closing during shutdown.

13 years ago#11298: Improve the unittest discovery explanation.
Ezio Melotti [Tue, 8 Mar 2011 15:08:25 +0000 (17:08 +0200)]
#11298: Improve the unittest discovery explanation.

13 years agoSort out 2.7 and 2.7.1 tags.
Georg Brandl [Tue, 8 Mar 2011 10:05:40 +0000 (11:05 +0100)]
Sort out 2.7 and 2.7.1 tags.

13 years agotransform izip_longest #11424
Benjamin Peterson [Tue, 8 Mar 2011 04:50:37 +0000 (22:50 -0600)]
transform izip_longest #11424

13 years agoWhitespace normalization.
Vinay Sajip [Mon, 7 Mar 2011 18:20:27 +0000 (18:20 +0000)]
Whitespace normalization.

13 years ago#Issue 11424: merged fix from 2.6.
Vinay Sajip [Mon, 7 Mar 2011 15:07:58 +0000 (15:07 +0000)]
#Issue 11424: merged fix from 2.6.

13 years agoIssue #11424: Fix bug in determining child loggers.
Vinay Sajip [Mon, 7 Mar 2011 15:02:11 +0000 (15:02 +0000)]
Issue #11424: Fix bug in determining child loggers.

13 years agoonly do this sys.stderr replacing on CPython
Benjamin Peterson [Sun, 6 Mar 2011 23:08:40 +0000 (17:08 -0600)]
only do this sys.stderr replacing on CPython

13 years agoIssue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
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.

13 years agoConvert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
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.

13 years ago#11292: add missing A_REVERSE to curses attribute table.
Georg Brandl [Sun, 6 Mar 2011 10:08:35 +0000 (11:08 +0100)]
#11292: add missing A_REVERSE to curses attribute table.

13 years ago#11294: add missing ERA_T_FMT to locale docs.
Georg Brandl [Sun, 6 Mar 2011 10:09:51 +0000 (11:09 +0100)]
#11294: add missing ERA_T_FMT to locale docs.

13 years ago#11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie...
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 ].

13 years ago#11373: fix spelling.
Georg Brandl [Sun, 6 Mar 2011 09:57:52 +0000 (10:57 +0100)]
#11373: fix spelling.

13 years ago#11392: you can trust the computer, but you have to know what it does.
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.

13 years ago#11405: do not reference the string module again for its deprecated functions, only...
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.

13 years ago#11400: remove reference to pre-1.5 assignment behavior.
Georg Brandl [Sun, 6 Mar 2011 09:48:43 +0000 (10:48 +0100)]
#11400: remove reference to pre-1.5 assignment behavior.

13 years agoPort build identification from default branch.
Georg Brandl [Sun, 6 Mar 2011 09:42:21 +0000 (10:42 +0100)]
Port build identification from default branch.