]> granicus.if.org Git - python/log
python
14 years agoCorrect handling of functions with only kwarg args in getcallargs (closes #11256)
Benjamin Peterson [Mon, 28 Mar 2011 22:32:31 +0000 (17:32 -0500)]
Correct handling of functions with only kwarg args in getcallargs (closes #11256)

A patch from Daniel Urban.

14 years agolet's keep parenthesis around sizeof
Benjamin Peterson [Mon, 28 Mar 2011 22:25:15 +0000 (17:25 -0500)]
let's keep parenthesis around sizeof

14 years ago#10617: add class directives to collections ABCs.
Ezio Melotti [Mon, 28 Mar 2011 10:46:28 +0000 (13:46 +0300)]
#10617: add class directives to collections ABCs.

14 years agoAdd missing file from #11696.
Martin v. Löwis [Sun, 27 Mar 2011 19:01:03 +0000 (21:01 +0200)]
Add missing file from #11696.

14 years agoCloses #11696: Fix ID generation in msilib.
Martin v. Löwis [Sun, 27 Mar 2011 18:58:52 +0000 (20:58 +0200)]
Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.

14 years agoIssue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying...
Mark Dickinson [Sun, 27 Mar 2011 15:15:24 +0000 (16:15 +0100)]
Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer.

14 years agoMove Misc/NEWS entry to correct section.
Mark Dickinson [Sun, 27 Mar 2011 14:32:05 +0000 (15:32 +0100)]
Move Misc/NEWS entry to correct section.

14 years agoIssue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.)
Steven Bethard [Sun, 27 Mar 2011 11:57:55 +0000 (13:57 +0200)]
Issue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.)

14 years agoFix short file name generation in bdist_msi.
Martin v. Löwis [Sun, 27 Mar 2011 08:10:46 +0000 (10:10 +0200)]
Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.

14 years agorevert unintended changes
Benjamin Peterson [Sat, 26 Mar 2011 23:11:54 +0000 (18:11 -0500)]
revert unintended changes

14 years agofix missing variable declarations
Benjamin Peterson [Sat, 26 Mar 2011 23:09:55 +0000 (18:09 -0500)]
fix missing variable declarations

14 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

14 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)

14 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)

14 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.)

14 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.)

14 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.)

14 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.

14 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.

14 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.

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

14 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']

14 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

14 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.

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

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

14 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.

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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

14 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__.

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

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

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

14 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.

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

14 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

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

14 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

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

14 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).

14 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.

14 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).

14 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).

14 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.

14 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.

14 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).

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

14 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.

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

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

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

14 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).

14 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

14 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.

14 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

14 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.

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

14 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.

14 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

14 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.

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

14 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*

14 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.

14 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.

14 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.

14 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)

14 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

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

14 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

14 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.

14 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)

14 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

14 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

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

14 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)

14 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.

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

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

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

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

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

14 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.

14 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.