]> granicus.if.org Git - python/log
python
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.

14 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

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

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

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

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

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

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

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

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

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

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

14 years agoAdd some more ignores from default.
Georg Brandl [Sun, 6 Mar 2011 09:41:54 +0000 (10:41 +0100)]
Add some more ignores from default.

14 years agoIssue #11391: Writing to a mmap object created with
Antoine Pitrou [Sun, 6 Mar 2011 01:03:34 +0000 (02:03 +0100)]
Issue #11391: Writing to a mmap object created with
`mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a
TypeError.  Patch by Charles-François Natali.

14 years agoLib/email/test/data/msg_26.txt had its line endings wrong in the SVN repository.
Antoine Pitrou [Sat, 5 Mar 2011 20:39:40 +0000 (21:39 +0100)]
Lib/email/test/data/msg_26.txt had its line endings wrong in the SVN repository.
(they were probably converted right in working copies through an SVN property)

14 years agoMerge tags from 2.6.
Georg Brandl [Sat, 5 Mar 2011 19:41:44 +0000 (20:41 +0100)]
Merge tags from 2.6.

14 years agoMerge tags from 2.5.
Georg Brandl [Sat, 5 Mar 2011 19:40:50 +0000 (20:40 +0100)]
Merge tags from 2.5.

14 years agoAdd tags from the closed branches.
Georg Brandl [Sat, 5 Mar 2011 19:38:24 +0000 (20:38 +0100)]
Add tags from the closed branches.

14 years agoDummy-merge 2.6 branch into 2.7 branch.
Georg Brandl [Sat, 5 Mar 2011 14:15:07 +0000 (15:15 +0100)]
Dummy-merge 2.6 branch into 2.7 branch.

14 years agoDummy-merge 2.5 branch into 2.6 branch.
Georg Brandl [Sat, 5 Mar 2011 14:13:50 +0000 (15:13 +0100)]
Dummy-merge 2.5 branch into 2.6 branch.

14 years agoAdd updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl [Sat, 5 Mar 2011 14:06:13 +0000 (15:06 +0100)]
Add updated .hgeol file and fix newlines in the 2.7 branch.

14 years agoFix tag references in 2.7 branch.
Georg Brandl [Sat, 5 Mar 2011 14:05:02 +0000 (15:05 +0100)]
Fix tag references in 2.7 branch.

14 years agoAdd .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl [Sat, 5 Mar 2011 14:04:01 +0000 (15:04 +0100)]
Add .hgeol file and fix newlines in the 2.6 branch.

14 years agoFix tag references in 2.6 branch.
Georg Brandl [Sat, 5 Mar 2011 14:03:31 +0000 (15:03 +0100)]
Fix tag references in 2.6 branch.

14 years agoAdd .hgeol file and fix newlines in the 2.5 branch.
Georg Brandl [Sat, 5 Mar 2011 14:02:28 +0000 (15:02 +0100)]
Add .hgeol file and fix newlines in the 2.5 branch.

14 years agoFix tag references in 2.5 branch.
Georg Brandl [Sat, 5 Mar 2011 14:01:01 +0000 (15:01 +0100)]
Fix tag references in 2.5 branch.

14 years agoMerged revisions 88735 via svnmerge from
Eli Bendersky [Fri, 4 Mar 2011 06:14:56 +0000 (06:14 +0000)]
Merged revisions 88735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88735 | eli.bendersky | 2011-03-04 06:55:25 +0200 (Fri, 04 Mar 2011) | 2 lines

  Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays
........

14 years agoMerged revisions 88730 via svnmerge from
R. David Murray [Thu, 3 Mar 2011 18:17:40 +0000 (18:17 +0000)]
Merged revisions 88730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88730 | r.david.murray | 2011-03-03 13:03:36 -0500 (Thu, 03 Mar 2011) | 2 lines

  #11306: Treat EROFS like EACCES when making a 'file is read-only' decision
........

14 years agoMerged revisions 88722 via svnmerge from
Giampaolo Rodolà [Thu, 3 Mar 2011 14:17:51 +0000 (14:17 +0000)]
Merged revisions 88722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88722 | giampaolo.rodola | 2011-03-03 14:57:47 +0100 (gio, 03 mar 2011) | 1 line

  Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().
........

14 years agoMerged revisions 88691 via svnmerge from
Antoine Pitrou [Tue, 1 Mar 2011 00:48:40 +0000 (00:48 +0000)]
Merged revisions 88691 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88691 | antoine.pitrou | 2011-03-01 01:41:10 +0100 (mar., 01 mars 2011) | 3 lines

  Endly, fix UnboundLocalError in telnetlib
........

14 years agoPython 2 can encode/decode surrogates to utf-8. Add a test for this.
Ezio Melotti [Mon, 28 Feb 2011 01:42:29 +0000 (01:42 +0000)]
Python 2 can encode/decode surrogates to utf-8. Add a test for this.