]> granicus.if.org Git - python/log
python
13 years agoIssue #10762: Guard against invalid/non-supported format string '%f' on Windows....
Senthil Kumaran [Wed, 6 Apr 2011 06:27:47 +0000 (14:27 +0800)]
Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya.

13 years agoIssue #7108: Fix test_commands to not fail when special attributes ('@'
Ned Deily [Wed, 6 Apr 2011 00:16:09 +0000 (17:16 -0700)]
Issue #7108: Fix test_commands to not fail when special attributes ('@'
or '.') appear in 'ls -l' output.

13 years ago#7311: fix HTMLParser to accept non-ASCII attribute values.
Ezio Melotti [Tue, 5 Apr 2011 17:40:52 +0000 (20:40 +0300)]
#7311: fix HTMLParser to accept non-ASCII attribute values.

13 years agoIssue #10963: Ensure that subprocess.communicate() never raises EPIPE.
Ross Lagerwall [Tue, 5 Apr 2011 13:24:34 +0000 (15:24 +0200)]
Issue #10963: Ensure that subprocess.communicate() never raises EPIPE.

13 years agoIssue #9347: Fix formatting for tuples in argparse type= error messages.
Steven Bethard [Sun, 3 Apr 2011 23:47:52 +0000 (01:47 +0200)]
Issue #9347: Fix formatting for tuples in argparse type= error messages.

13 years agoDummy merge from 2.6.
R David Murray [Thu, 31 Mar 2011 15:48:31 +0000 (11:48 -0400)]
Dummy merge from 2.6.

13 years agoIssue 11713: clarify docstring for collections.deque()
Raymond Hettinger [Wed, 30 Mar 2011 00:28:25 +0000 (17:28 -0700)]
Issue 11713: clarify docstring for collections.deque()

13 years agoMerge cleanup.
Guido van Rossum [Tue, 29 Mar 2011 20:04:24 +0000 (13:04 -0700)]
Merge cleanup.

13 years agoMerge cleanup.
Guido van Rossum [Tue, 29 Mar 2011 20:03:10 +0000 (13:03 -0700)]
Merge cleanup.

13 years agoMerge issue 11662 from 2.6.
Guido van Rossum [Tue, 29 Mar 2011 19:53:55 +0000 (12:53 -0700)]
Merge issue 11662 from 2.6.

13 years agoMerge issue 11662 from 2.5.
Guido van Rossum [Tue, 29 Mar 2011 19:51:16 +0000 (12:51 -0700)]
Merge issue 11662 from 2.5.

13 years agoMerge urllib/urllib2 security fix from 2.6 branch.
guido@google.com [Tue, 29 Mar 2011 18:14:01 +0000 (11:14 -0700)]
Merge urllib/urllib2 security fix from 2.6 branch.

13 years agoMerge urllib/urllib2 security fix from 2.5 branch.
guido@google.com [Tue, 29 Mar 2011 17:48:23 +0000 (10:48 -0700)]
Merge urllib/urllib2 security fix from 2.5 branch.

13 years agoAdding .hgignore (copied from default branch).
guido@google.com [Tue, 29 Mar 2011 16:53:33 +0000 (09:53 -0700)]
Adding .hgignore (copied from default branch).

13 years agoIssue #11639: Configuration function documentation referred to logging.XXX rather...
Vinay Sajip [Tue, 29 Mar 2011 00:21:48 +0000 (01:21 +0100)]
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.

13 years agoIssue #11639: Configuration function documentation referred to logging.XXX rather...
Vinay Sajip [Tue, 29 Mar 2011 00:15:37 +0000 (01:15 +0100)]
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.

13 years agoIssue #11639: Configuration function documentation referred to logging.XXX rather...
Vinay Sajip [Tue, 29 Mar 2011 00:07:50 +0000 (01:07 +0100)]
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.

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

13 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

13 years agoAdd CVE number to urllib/urllib2 news item.
guido@google.com [Mon, 28 Mar 2011 20:53:40 +0000 (13:53 -0700)]
Add CVE number to urllib/urllib2 news item.

13 years agoAdd tests for the urllib[2] vulnerability. Change to raise exceptions.
guido@google.com [Mon, 28 Mar 2011 20:47:01 +0000 (13:47 -0700)]
Add tests for the urllib[2] vulnerability. Change to raise exceptions.

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

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

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

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

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

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

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

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

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

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 agoAdd FTP to the allowed url schemes. Add Misc/NEWS.
guido@google.com [Thu, 24 Mar 2011 17:44:17 +0000 (10:44 -0700)]
Add FTP to the allowed url schemes. Add Misc/NEWS.

13 years agoIssue 22663: fix redirect vulnerability in urllib/urllib2.
guido@google.com [Thu, 24 Mar 2011 15:07:45 +0000 (08:07 -0700)]
Issue 22663: fix redirect vulnerability in urllib/urllib2.

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.