]> granicus.if.org Git - python/log
python
14 years agoTypo
Antoine Pitrou [Sun, 2 Jan 2011 20:05:11 +0000 (20:05 +0000)]
Typo

14 years agoIssue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k
Antoine Pitrou [Sun, 2 Jan 2011 20:04:52 +0000 (20:04 +0000)]
Issue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k
DeprecationWarning.

14 years agoMerged revisions 87639 via svnmerge from
Antoine Pitrou [Sun, 2 Jan 2011 19:37:45 +0000 (19:37 +0000)]
Merged revisions 87639 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87639 | antoine.pitrou | 2011-01-02 20:34:03 +0100 (dim., 02 janv. 2011) | 4 lines

  Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
  and DragonFly BSD.  Patch by Nicolas Joly.
........

14 years ago#10804: fix copy-paste error when checking assigned fields for NULL.
Georg Brandl [Sun, 2 Jan 2011 14:20:16 +0000 (14:20 +0000)]
#10804: fix copy-paste error when checking assigned fields for NULL.

14 years agoRaymond-Hettingers-MacBook-Pro:py27 raymondhettinger$ cat svn-commit.tmp
Raymond Hettinger [Sun, 2 Jan 2011 01:03:26 +0000 (01:03 +0000)]
Raymond-Hettingers-MacBook-Pro:py27 raymondhettinger$ cat svn-commit.tmp
Backport r87594 r87611 and r87612 so that OrderedDict subclassing behavior
better matches dict subclassing (i.e. adding __missing__ works and
extending/overriding the update() methods doesn't break __init__()).

14 years agoMerged revisions 87607 via svnmerge from
Benjamin Peterson [Sat, 1 Jan 2011 14:30:24 +0000 (14:30 +0000)]
Merged revisions 87607 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87607 | benjamin.peterson | 2011-01-01 08:28:31 -0600 (Sat, 01 Jan 2011) | 1 line

  update copyright to 2011
........

14 years agoIssue 6285: catch missing IDLE help file. Backport from 3.2.
Terry Reedy [Sat, 1 Jan 2011 02:32:46 +0000 (02:32 +0000)]
Issue 6285: catch missing IDLE help file. Backport from 3.2.

14 years agoIssue 10789: Correct threading.Lock.acquire signature.
Terry Reedy [Sat, 1 Jan 2011 00:36:18 +0000 (00:36 +0000)]
Issue 10789: Correct threading.Lock.acquire signature.

14 years agoMerged revisions 83089,87590 via svnmerge from
R. David Murray [Fri, 31 Dec 2010 19:31:48 +0000 (19:31 +0000)]
Merged revisions 83089,87590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83089 | brett.cannon | 2010-07-23 09:54:14 -0400 (Fri, 23 Jul 2010) | 4 lines

  Test calendar.monthrange.

  Closes issue 9342. Thanks John Chandler for the patch.
........
  r87590 | r.david.murray | 2010-12-31 14:21:14 -0500 (Fri, 31 Dec 2010) | 4 lines

  #9361: add some tests for calendar.leapdays

  Patch by John Chandler.
........

14 years agoBlocked revisions 87567 via svnmerge
R. David Murray [Wed, 29 Dec 2010 16:59:09 +0000 (16:59 +0000)]
Blocked revisions 87567 via svnmerge

........
  r87567 | r.david.murray | 2010-12-29 11:57:24 -0500 (Wed, 29 Dec 2010) | 2 lines

  Fix a comment typo and update another comment to match Python3 reality
........

14 years agoMerged revisions 87564 via svnmerge from
Senthil Kumaran [Wed, 29 Dec 2010 06:30:19 +0000 (06:30 +0000)]
Merged revisions 87564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87564 | senthil.kumaran | 2010-12-29 14:25:42 +0800 (Wed, 29 Dec 2010) | 3 lines

  Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.
........

14 years agoIssue 10738: Fix webbrowser.Opera.raise_opts value.
Terry Reedy [Tue, 28 Dec 2010 19:53:32 +0000 (19:53 +0000)]
Issue 10738: Fix webbrowser.Opera.raise_opts value.

14 years agoMerged revisions 87550 via svnmerge from
R. David Murray [Tue, 28 Dec 2010 19:11:03 +0000 (19:11 +0000)]
Merged revisions 87550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87550 | r.david.murray | 2010-12-28 13:54:13 -0500 (Tue, 28 Dec 2010) | 8 lines

  #9824: encode , and ; in cookie values so that browsers don't split on them

  There is a small chance of backward incompatibility here, but only for
  non-SimpleCookie applications reading SimpleCookie generated cookies.  Even
  then, any such ap is likely to be handling escaped values already, and it would
  take a fairly perverse implementation of unescaping to fail to unescape these
  newly escaped chars, so the risk seems minimal.
........

14 years agoFix Issue10759 - HTMLParser.unescape() to handle malform charrefs.
Senthil Kumaran [Tue, 28 Dec 2010 16:05:07 +0000 (16:05 +0000)]
Fix Issue10759  - HTMLParser.unescape() to handle malform charrefs.

14 years agofixed issue 10254 test
Alexander Belopolsky [Tue, 28 Dec 2010 16:04:06 +0000 (16:04 +0000)]
fixed issue 10254 test

14 years agoMerged revisions 87442 via svnmerge from
Alexander Belopolsky [Tue, 28 Dec 2010 15:47:56 +0000 (15:47 +0000)]
Merged revisions 87442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87442 | alexander.belopolsky | 2010-12-22 21:27:37 -0500 (Wed, 22 Dec 2010) | 1 line

  Issue #10254: Fixed a crash and a regression introduced by the implementation of PRI 29.
........

14 years ago#1379416: encode charset name to ascii to avoid unicode promotion of output
R. David Murray [Mon, 27 Dec 2010 19:17:17 +0000 (19:17 +0000)]
#1379416: encode charset name to ascii to avoid unicode promotion of output

14 years agoMerged revisions 87508 via svnmerge from
R. David Murray [Mon, 27 Dec 2010 04:37:25 +0000 (04:37 +0000)]
Merged revisions 87508 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87508 | r.david.murray | 2010-12-26 23:31:48 -0500 (Sun, 26 Dec 2010) | 5 lines

  Skip test that does not raise an error on Windows.

  I'm assuming that the putative path from the malformed
  pth file is simply not found and therefore ignored.
........

14 years agoMerged revisions 87501 via svnmerge from
R. David Murray [Mon, 27 Dec 2010 00:09:41 +0000 (00:09 +0000)]
Merged revisions 87501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87501 | r.david.murray | 2010-12-26 19:03:13 -0500 (Sun, 26 Dec 2010) | 2 lines

  Escape file path before searching for it in output via regex
........

14 years agoMerged revisions 87497 via svnmerge from
R. David Murray [Sun, 26 Dec 2010 22:29:53 +0000 (22:29 +0000)]
Merged revisions 87497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87497 | r.david.murray | 2010-12-26 14:54:29 -0500 (Sun, 26 Dec 2010) | 7 lines

  #5258/#10642: print fn, line, traceback and continue when .pth file is broken

  If a .pth file contained an error, it could cause a traceback in site.py,
  terminating its processing.  In 2.7 and 3.2, the interpreter will then not
  start.  Previously, a message would print saying to use -v to get the
  traceback.  In either case, the traceback generated for a failed .pth file did
  not include the .pth filename, making it difficult to debug the problem.  Now
  site.py reports not only the .pth filename but also the line number causing the
  error, and just skips the remainder of the file.
........

14 years agoMerged revisions 87493 via svnmerge from
Éric Araujo [Sun, 26 Dec 2010 17:55:02 +0000 (17:55 +0000)]
Merged revisions 87493 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87493 | eric.araujo | 2010-12-26 18:53:27 +0100 (dim., 26 déc. 2010) | 2 lines

  Fix typo (#10770)
........

14 years agoMerged revisions 87489 via svnmerge from
Éric Araujo [Sun, 26 Dec 2010 02:39:48 +0000 (02:39 +0000)]
Merged revisions 87489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87489 | eric.araujo | 2010-12-26 03:38:05 +0100 (dim., 26 déc. 2010) | 2 lines

  Remove unexistent parameter (#3216)
........

14 years agoMerged revisions 87486 via svnmerge from
Éric Araujo [Sun, 26 Dec 2010 02:24:42 +0000 (02:24 +0000)]
Merged revisions 87486 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87486 | eric.araujo | 2010-12-26 03:18:49 +0100 (dim., 26 déc. 2010) | 2 lines

  Fix typo spotted by Rodrigo Bernardo Pimentel (#9891)
........

14 years agoBlocked revisions 87479 via svnmerge
R. David Murray [Fri, 24 Dec 2010 22:41:42 +0000 (22:41 +0000)]
Blocked revisions 87479 via svnmerge

........
  r87479 | r.david.murray | 2010-12-24 17:36:49 -0500 (Fri, 24 Dec 2010) | 8 lines

  #1693546: don't add quotes around RFC 2231 encoded values.

  The RFC is bit hard to understand on this point, but the examples
  clearly show that parameter values that are encoded according
  to its charset/language rules don't have surrounding quotes, and
  the ABNF does not allow for quotes.  So when we produce such
  encoded values, we no longer add quotes.
........

14 years agoMerged revisions 87463 via svnmerge from
Alexander Belopolsky [Fri, 24 Dec 2010 00:27:27 +0000 (00:27 +0000)]
Merged revisions 87463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87463 | alexander.belopolsky | 2010-12-23 19:24:11 -0500 (Thu, 23 Dec 2010) | 1 line

  Issue #9063: Corrected the tzinfo example.
........

14 years agoMerged revisions 87455 via svnmerge from
Benjamin Peterson [Thu, 23 Dec 2010 22:22:48 +0000 (22:22 +0000)]
Merged revisions 87455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87455 | benjamin.peterson | 2010-12-23 16:17:42 -0600 (Thu, 23 Dec 2010) | 1 line

  fix docstring
........

14 years agoBlocked revisions 87451 via svnmerge
R. David Murray [Thu, 23 Dec 2010 20:37:41 +0000 (20:37 +0000)]
Blocked revisions 87451 via svnmerge

........
  r87451 | r.david.murray | 2010-12-23 15:35:46 -0500 (Thu, 23 Dec 2010) | 4 lines

  #1155362: allow hh:mm:ss-uuuu like we allow hh:mm:ss+uuuu in parsedate_tz

  Original patch by Thomas Herve.
........

14 years agoMerged revisions 87448 via svnmerge from
R. David Murray [Thu, 23 Dec 2010 19:50:56 +0000 (19:50 +0000)]
Merged revisions 87448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87448 | r.david.murray | 2010-12-23 14:44:49 -0500 (Thu, 23 Dec 2010) | 4 lines

  #4496: remove misleading comment and note that self.handlers is obsolete.

  self.handlers is still used in one urllib2 test, but not by the code iteslf.
........

14 years agoBlocked revisions 87430 via svnmerge
R. David Murray [Tue, 21 Dec 2010 22:02:31 +0000 (22:02 +0000)]
Blocked revisions 87430 via svnmerge

........
  r87430 | r.david.murray | 2010-12-21 16:53:37 -0500 (Tue, 21 Dec 2010) | 9 lines

  #4871: check that zipfile password is bytes, and give useful error message.

  Previously passing a string in as the password would fail either with
  an assertion error or a TypeError with a confusing error message.
  Note that a string can't be accepted since zipfile has no way to
  guess what encoding should be used to turn it into bytes.

  Patch by Victor Stinner.
........

14 years agoMerged revisions 87427 via svnmerge from
Antoine Pitrou [Tue, 21 Dec 2010 21:26:55 +0000 (21:26 +0000)]
Merged revisions 87427 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87427 | antoine.pitrou | 2010-12-21 22:20:59 +0100 (mar., 21 déc. 2010) | 3 lines

  Issue #10750: The `raw` attribute of buffered IO objects is now read-only.
........

14 years agoMerged revisions 87421 via svnmerge from
Antoine Pitrou [Tue, 21 Dec 2010 18:56:45 +0000 (18:56 +0000)]
Merged revisions 87421 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87421 | antoine.pitrou | 2010-12-21 19:49:01 +0100 (mar., 21 déc. 2010) | 4 lines

  Suggest sys.maxsize as a reliable way to know whether the interpreter is 64-bit.
  (part of #10735)
........

14 years agoBlocked revisions 87418 via svnmerge
R. David Murray [Tue, 21 Dec 2010 18:27:56 +0000 (18:27 +0000)]
Blocked revisions 87418 via svnmerge

........
  r87418 | r.david.murray | 2010-12-21 13:24:33 -0500 (Tue, 21 Dec 2010) | 10 lines

  Make test_compileall more robust by using -S to keep sys.path minimized.

  Try this again, hopefully the right way this time.

  Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
  install because it was tyring to write .pyc files to a read-only system
  directory during test_no_args_compiles_path.  Having the tests call python
  with -S should eliminate the system directories from the path.
........

14 years agoMerged revisions 87415 via svnmerge from
R. David Murray [Tue, 21 Dec 2010 18:12:50 +0000 (18:12 +0000)]
Merged revisions 87415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87415 | r.david.murray | 2010-12-21 13:07:59 -0500 (Tue, 21 Dec 2010) | 4 lines

  Fix the change made for issue 1243654.

  Surprisingly, it turns out there was no test that exercised this code path.
........

14 years ago#10748: add versionchanged for non-trivial bugfix.
Georg Brandl [Tue, 21 Dec 2010 17:58:06 +0000 (17:58 +0000)]
#10748: add versionchanged for non-trivial bugfix.

14 years agoBlocked revisions 87411 via svnmerge
R. David Murray [Mon, 20 Dec 2010 19:07:21 +0000 (19:07 +0000)]
Blocked revisions 87411 via svnmerge

........
  r87411 | r.david.murray | 2010-12-20 14:04:51 -0500 (Mon, 20 Dec 2010) | 2 lines

  Revert incorrect patch made at the wrong time.
........

14 years agoBlocked revisions 87408 via svnmerge
R. David Murray [Mon, 20 Dec 2010 18:10:29 +0000 (18:10 +0000)]
Blocked revisions 87408 via svnmerge

........
  r87408 | r.david.murray | 2010-12-20 13:08:59 -0500 (Mon, 20 Dec 2010) | 8 lines

  Make test_compileall more robust by using -S to keep sys.path minimized.

  Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
  install because it was tyring to write .pyc files to a read-only system
  directory during test_no_args_compiles_path.  Having subprocess call python
  with -S should eliminate the system directories from the path.
........

14 years agoIssue 10242. Switching unittest.TestCase.assertItemsEqual to use a collections.Counte...
Michael Foord [Sun, 19 Dec 2010 15:52:56 +0000 (15:52 +0000)]
Issue 10242. Switching unittest.TestCase.assertItemsEqual to use a collections.Counter under the hood.
This fixes bugs when comparing collections of items like sets that can be sorted without raising an exception but where sorting has no meaning.

14 years agoIssue 10611. SystemExit should not cause a unittest test run to exit.
Michael Foord [Sun, 19 Dec 2010 14:53:19 +0000 (14:53 +0000)]
Issue 10611. SystemExit should not cause a unittest test run to exit.

14 years agoImprovement to fix for issue 9926 to allow TestResult to be reused.
Michael Foord [Sun, 19 Dec 2010 14:12:23 +0000 (14:12 +0000)]
Improvement to fix for issue 9926 to allow TestResult to be reused.

14 years agoMerged revisions 87027 via svnmerge from
R. David Murray [Sat, 18 Dec 2010 19:43:05 +0000 (19:43 +0000)]
Merged revisions 87027 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87027 | gregory.p.smith | 2010-12-04 06:36:58 -0500 (Sat, 04 Dec 2010) | 3 lines

  issue10622: fix superflous scrollbar on the right side of <pre> boxes in the
  generated html docs.  visible in chrome, possibly other webkit browsers.
........

14 years agoBlocked revisions 87384 via svnmerge
R. David Murray [Sat, 18 Dec 2010 18:32:28 +0000 (18:32 +0000)]
Blocked revisions 87384 via svnmerge

........
  r87384 | r.david.murray | 2010-12-18 13:25:38 -0500 (Sat, 18 Dec 2010) | 12 lines

  #9286: Fix the rfc822 parser to preserve whitespace in address local part.

  Such addresses are not RFC compliant except under the 'obsolete syntax'
  rules, but before this fix the whitespace was dropped from the input,
  concatenating the pieces.  That breaks one of the principles of the
  email package, that of preserving the input as much as possible.
  It also denies the application program the opportunity to apply its
  own heuristics to interpretation of such non-compliant addresses.

  It is possible users of the email package were depending on the local
  part always being a single token, so this fix will not be backported.
........

14 years agoMerged revisions 87373,87381 via svnmerge from
Antoine Pitrou [Sat, 18 Dec 2010 18:18:21 +0000 (18:18 +0000)]
Merged revisions 87373,87381 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

BaseHTTPServer isn't fixed, this would require too much refactoring.

........
  r87373 | senthil.kumaran | 2010-12-18 17:55:23 +0100 (sam., 18 déc. 2010) | 3 lines

  Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by Antoine Pitrou
........
  r87381 | antoine.pitrou | 2010-12-18 18:59:18 +0100 (sam., 18 déc. 2010) | 3 lines

  NEWS entry for r87373
........

14 years agoMerged revisions 87377 via svnmerge from
Ezio Melotti [Sat, 18 Dec 2010 17:58:29 +0000 (17:58 +0000)]
Merged revisions 87377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87377 | ezio.melotti | 2010-12-18 18:31:58 +0100 (Sat, 18 Dec 2010) | 1 line

  Use lowercase true/false in assertTrue/assertFalse messages.
........

14 years agoMerged revisions 87374 via svnmerge from
R. David Murray [Sat, 18 Dec 2010 17:22:18 +0000 (17:22 +0000)]
Merged revisions 87374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87374 | r.david.murray | 2010-12-18 12:19:10 -0500 (Sat, 18 Dec 2010) | 8 lines

  #10404: Use ctl-button-1 for context menus on OSX Idle.

  This provides access to the context menus where they previously could
  not be accessed due to the way OSX Tk binds buttons.  It also
  improves platform consistency.

  Patch by Ned Deily.
........

14 years agoBlocked revisions 87368 via svnmerge
Ezio Melotti [Sat, 18 Dec 2010 15:05:50 +0000 (15:05 +0000)]
Blocked revisions 87368 via svnmerge

........
  r87368 | ezio.melotti | 2010-12-18 15:59:43 +0100 (Sat, 18 Dec 2010) | 1 line

  #5587: add a repr to dict_proxy objects.  Patch by David Stanek and Daniel Urban.
........

14 years agoMerged revisions 87356 via svnmerge from
R. David Murray [Sat, 18 Dec 2010 03:52:09 +0000 (03:52 +0000)]
Merged revisions 87356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87356 | r.david.murray | 2010-12-17 22:48:32 -0500 (Fri, 17 Dec 2010) | 11 lines

  #9907: call rl_initialize early when using editline on OSX

  editline rl_initialize apparently discards any mappings done before it
  is called, which makes tab revert to file completion instead of inserting
  a tab.  So now on OSX we call rl_initialize first if we are using
  readline, and then re-read the users .editrc (if any) afterward so they
  can still override our defaults.

  Patch by Ned Deily, modified by Ronald Oussoren.
........

14 years agoRevert doc patch committed to the wrong branch: "Issue 2690: Doc fixup. xrange...
Daniel Stutzbach [Fri, 17 Dec 2010 21:20:55 +0000 (21:20 +0000)]
Revert doc patch committed to the wrong branch: "Issue 2690:  Doc fixup.  xrange() objects are slicable."

14 years agoMerged revisions 87341 via svnmerge from
Antoine Pitrou [Fri, 17 Dec 2010 17:45:12 +0000 (17:45 +0000)]
Merged revisions 87341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87341 | antoine.pitrou | 2010-12-17 18:42:16 +0100 (ven., 17 déc. 2010) | 4 lines

  Issue #4188: Avoid creating dummy thread objects when logging operations
  from the threading module (with the internal verbose flag activated).
........

14 years agoMerged revisions 87329 via svnmerge from
Senthil Kumaran [Fri, 17 Dec 2010 04:56:02 +0000 (04:56 +0000)]
Merged revisions 87329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87329 | senthil.kumaran | 2010-12-17 12:48:45 +0800 (Fri, 17 Dec 2010) | 3 lines

  Fix Issue9721 - urljoin behavior when the relative url starts with ';'
........

14 years agoBlocked revisions 87324 via svnmerge
R. David Murray [Thu, 16 Dec 2010 19:15:41 +0000 (19:15 +0000)]
Blocked revisions 87324 via svnmerge

The risk of breakage (since the tests aren't backported) seems higher
than the benefit for a point release, since this is not a semantic
change.

........
  r87324 | r.david.murray | 2010-12-16 14:08:51 -0500 (Thu, 16 Dec 2010) | 9 lines

  #10719: restore messages generated on invalid compileall args

  Before the introduction of filename arguments to compileall it gave semi useful
  messages about not being able to 'list' names that weren't valid directories.
  This fix restores that behavior.  In addition to the test for this case, the
  patch also adds a test for the default behavior of compileall when no arguments
  are provided, and fixes a bug in one of the previously added tests.
........

14 years agosvnmerge fooled me. That test class already existed.
Antoine Pitrou [Thu, 16 Dec 2010 17:18:49 +0000 (17:18 +0000)]
svnmerge fooled me. That test class already existed.

14 years agoMerged revisions 87317 via svnmerge from
Antoine Pitrou [Thu, 16 Dec 2010 17:11:34 +0000 (17:11 +0000)]
Merged revisions 87317 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87317 | antoine.pitrou | 2010-12-16 17:48:36 +0100 (jeu., 16 déc. 2010) | 4 lines

  Issue #10714: Limit length of incoming request in http.server to 65536 bytes
  for security reasons.  Initial patch by Ross Lagerwall.
........

(also backported some tests)

14 years agoBlocked revisions 87312 via svnmerge
Éric Araujo [Thu, 16 Dec 2010 06:31:14 +0000 (06:31 +0000)]
Blocked revisions 87312 via svnmerge

........
  r87312 | eric.araujo | 2010-12-16 07:28:48 +0100 (jeu., 16 déc. 2010) | 2 lines

  Add missing docs and directives related to PEP 3147 and byte-compilation
........

14 years agoAdd missing doc from r79533
Éric Araujo [Thu, 16 Dec 2010 06:25:57 +0000 (06:25 +0000)]
Add missing doc from r79533

14 years agoAdd doc for compileall.compile_file
Éric Araujo [Thu, 16 Dec 2010 06:15:02 +0000 (06:15 +0000)]
Add doc for compileall.compile_file

14 years agoMerged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via svnmerge from
Éric Araujo [Thu, 16 Dec 2010 03:53:53 +0000 (03:53 +0000)]
Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines

  Fix usage of :option: in the docs (#9312).

  :option: is used to create a link to an option of python, not to mark
  up any instance of any arbitrary command-line option.  These were
  changed to ````.

  For modules which do have a command-line interface, lists of options
  have been properly marked up with the program/cmdoption directives
  combo.  Options defined in such blocks can be linked to with :option:
  later in the same file, they won’t link to an option of python.

  Finally, the markup of command-line fragments in optparse.rst has
  been cleaned to use ``x`` instead of ``"x"``, keeping that latter
  form for actual Python strings.

  Patch by Eli Bendersky and Éric Araujo.
........
  r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines

  Style edits in followup to r86521 (#9312)
........
  r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines

  Use link-generating markup (see #9312)
........
  r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines

  Rewrap long lines + minor edits
........
  r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines

  No need to generate a link for something that’s just above.
........
  r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines

  Advertise “python -m” instead of direct filename.
........
  r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines

  Advertise “python -m test” over test.regrtest (r87296 followup)
........
  r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines

  Add versionadded directive missing from r78983.
........

14 years agoMerged revisions 87289 via svnmerge from
Éric Araujo [Wed, 15 Dec 2010 22:39:29 +0000 (22:39 +0000)]
Merged revisions 87289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87289 | eric.araujo | 2010-12-15 23:37:27 +0100 (mer., 15 déc. 2010) | 2 lines

  Mark up one missed None in pkgutil.rst (#8851)
........

14 years agoMerged revisions 87283 via svnmerge from
Éric Araujo [Wed, 15 Dec 2010 22:20:15 +0000 (22:20 +0000)]
Merged revisions 87283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87283 | eric.araujo | 2010-12-15 23:06:35 +0100 (mer., 15 déc. 2010) | 2 lines

  Add disclaimer about MinGW compat in distutils docs (#6007).  Patch by Chris Lambacher.
........

14 years agoMerged revisions 87280 via svnmerge from
Éric Araujo [Wed, 15 Dec 2010 21:15:25 +0000 (21:15 +0000)]
Merged revisions 87280 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87280 | eric.araujo | 2010-12-15 22:07:22 +0100 (mer., 15 déc. 2010) | 2 lines

  Fix build_ext with VS 8.0.  Patch by Hirokazu Yamamoto (#9558).
........

14 years agoMerged revisions 87277 via svnmerge from
Éric Araujo [Wed, 15 Dec 2010 20:33:50 +0000 (20:33 +0000)]
Merged revisions 87277 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87277 | eric.araujo | 2010-12-15 21:26:30 +0100 (mer., 15 déc. 2010) | 2 lines

  Fix wrong name in docstring and doc (#10693).  Original patch by Eli Benderski.
........

14 years agoMerged revisions 87251 via svnmerge from
R. David Murray [Wed, 15 Dec 2010 01:36:03 +0000 (01:36 +0000)]
Merged revisions 87251 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87251 | r.david.murray | 2010-12-14 18:06:25 -0500 (Tue, 14 Dec 2010) | 4 lines

  #4236: avoid possible Fatal Error when import is called from __del__

  Patch by Simon Cross, crasher test code by Martin von Löwis.
........

14 years agoBlocked revisions 87248 via svnmerge
R. David Murray [Tue, 14 Dec 2010 22:35:07 +0000 (22:35 +0000)]
Blocked revisions 87248 via svnmerge

........
  r87248 | r.david.murray | 2010-12-14 17:32:50 -0500 (Tue, 14 Dec 2010) | 2 lines

  More comprehensive compileall cli tests, and fixes.
........

14 years agoSIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD).
Gregory P. Smith [Tue, 14 Dec 2010 18:21:59 +0000 (18:21 +0000)]
SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD).

14 years agoMerged revisions 87238 via svnmerge from
R. David Murray [Tue, 14 Dec 2010 16:26:30 +0000 (16:26 +0000)]
Merged revisions 87238 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87238 | r.david.murray | 2010-12-14 11:20:53 -0500 (Tue, 14 Dec 2010) | 7 lines

  #775964: skip YP/NIS entries instead of failing the test

  Also includes doc updates mentioning that these entries may not
  be retrievable via getgrnam and getgrgid.

  Patch by Bobby Impollonia.
........

14 years agoMerged revisions 87233 via svnmerge from
Gregory P. Smith [Tue, 14 Dec 2010 15:02:53 +0000 (15:02 +0000)]
Merged revisions 87233 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87233 | gregory.p.smith | 2010-12-14 06:38:00 -0800 (Tue, 14 Dec 2010) | 4 lines

  Issue #1731717: Fixed the problem where subprocess.wait() could cause an
  OSError exception when The OS had been told to ignore SIGCLD in our process
  or otherwise not wait for exiting child processes.
........

14 years agoMerged revisions 87230 via svnmerge from
R. David Murray [Tue, 14 Dec 2010 14:34:16 +0000 (14:34 +0000)]
Merged revisions 87230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87230 | r.david.murray | 2010-12-14 09:16:20 -0500 (Tue, 14 Dec 2010) | 7 lines

  #10695: use %s not %d so that a string 'port' does not cause a debug traceback

  Passing the port as a string value works fine in regular mode, but
  if you turned debug on it would throw an error trying to print the
  port number, which is surprising and confusing.
........

14 years agoMerged revisions 87225 via svnmerge from
R. David Murray [Tue, 14 Dec 2010 01:42:40 +0000 (01:42 +0000)]
Merged revisions 87225 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87225 | r.david.murray | 2010-12-13 20:38:16 -0500 (Mon, 13 Dec 2010) | 2 lines

  9162: fix license in multiprocessing files
........

14 years agoMerged revisions 87222 via svnmerge from
R. David Murray [Tue, 14 Dec 2010 01:28:59 +0000 (01:28 +0000)]
Merged revisions 87222 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87222 | r.david.murray | 2010-12-13 20:22:50 -0500 (Mon, 13 Dec 2010) | 2 lines

  Use skipIf instead of a return when attribute doesn't exist.
........

14 years agoBlocked revisions 87217 via svnmerge
R. David Murray [Tue, 14 Dec 2010 00:36:31 +0000 (00:36 +0000)]
Blocked revisions 87217 via svnmerge

........
  r87217 | r.david.murray | 2010-12-13 18:51:19 -0500 (Mon, 13 Dec 2010) | 5 lines

  #1078919: make add_header automatically do RFC2231 encoding when needed.

  Also document the use of three-tuples if control of the charset
  and language is desired.
........

14 years ago#1078919: document requirement to use triples for non-ascii add_header parms.
R. David Murray [Tue, 14 Dec 2010 00:29:27 +0000 (00:29 +0000)]
#1078919: document requirement to use triples for non-ascii add_header parms.

14 years agoMerged revisions 87191 via svnmerge from
R. David Murray [Sun, 12 Dec 2010 20:32:19 +0000 (20:32 +0000)]
Merged revisions 87191 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87191 | r.david.murray | 2010-12-12 15:06:19 -0500 (Sun, 12 Dec 2010) | 6 lines

  #243654: only create a new MIME boundary if we don't already have one.

  The rearranged code should do exactly what the old code did, but
  the new code avoids a potentially costly re computation in the case
  where a boundary already exists.
........

14 years ago#10676: fix bad wording in parallel with the lang ref.
Georg Brandl [Sat, 11 Dec 2010 08:10:37 +0000 (08:10 +0000)]
#10676: fix bad wording in parallel with the lang ref.

14 years agoregenerate symbol.py
Benjamin Peterson [Sat, 11 Dec 2010 04:38:24 +0000 (04:38 +0000)]
regenerate symbol.py

14 years agoremove dictmaker rule; it's unused
Benjamin Peterson [Sat, 11 Dec 2010 04:25:57 +0000 (04:25 +0000)]
remove dictmaker rule; it's unused

14 years agoBlocked revisions 85087,85178 via svnmerge
R. David Murray [Sat, 11 Dec 2010 02:29:48 +0000 (02:29 +0000)]
Blocked revisions 85087,85178 via svnmerge

........
  r85087 | r.david.murray | 2010-09-28 21:22:20 -0400 (Tue, 28 Sep 2010) | 2 lines

  Have test_sqlite print version info when run in verbose mode.
........
  r85178 | r.david.murray | 2010-10-02 09:29:13 -0400 (Sat, 02 Oct 2010) | 2 lines

  Make the printing of sqlite version in verbose mode work with regrtest -w.
........

14 years agoMerged revisions 85678 via svnmerge from
R. David Murray [Sat, 11 Dec 2010 02:13:04 +0000 (02:13 +0000)]
Merged revisions 85678 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85678 | r.david.murray | 2010-10-17 21:14:06 -0400 (Sun, 17 Oct 2010) | 5 lines

  #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.

  Patch by Sébastien Sablé.  This solves a test_mmap failure on AIX.
........

14 years agoIssue 2690: Doc fixup. xrange() objects are slicable.
Raymond Hettinger [Sat, 11 Dec 2010 00:41:02 +0000 (00:41 +0000)]
Issue 2690:  Doc fixup.  xrange() objects are slicable.

14 years ago#10658: Fix link.
Georg Brandl [Thu, 9 Dec 2010 12:13:38 +0000 (12:13 +0000)]
#10658: Fix link.

14 years agoMerged revisions 87140 via svnmerge from
Hirokazu Yamamoto [Thu, 9 Dec 2010 12:12:42 +0000 (12:12 +0000)]
Merged revisions 87140 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87140 | hirokazu.yamamoto | 2010-12-09 19:49:00 +0900 (木, 09 12 2010) | 2 lines

  Should call Py_INCREF for Py_None (Modules/_ssl.c: PySSL_cipher)
........

14 years agoMerged revisions 85071-85072,85894,87132 via svnmerge from
Hirokazu Yamamoto [Thu, 9 Dec 2010 08:01:18 +0000 (08:01 +0000)]
Merged revisions 85071-85072,85894,87132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85071 | hirokazu.yamamoto | 2010-09-29 03:29:57 +0900 (水, 29 9 2010) | 1 line

  Now perl path with spaces can be used.
........
  r85072 | hirokazu.yamamoto | 2010-09-29 03:36:04 +0900 (水, 29 9 2010) | 1 line

  Updated PC/VC6 openssl build script. (for openssl-1.0.0a)
........
  r85894 | hirokazu.yamamoto | 2010-10-29 02:57:25 +0900 (金, 29 10 2010) | 1 line

  Updated readme.txt about OpenSSL.
........
  r87132 | hirokazu.yamamoto | 2010-12-08 23:47:07 +0900 (水, 08 12 2010) | 3 lines

  Mention NASM which is needed to build openssl-1.0.0a original source.
  (PC/VC6/readme.txt)
........

14 years agoFix for issue #10406: enable Rstrip extension on OSX
Ronald Oussoren [Tue, 7 Dec 2010 16:13:17 +0000 (16:13 +0000)]
Fix for issue #10406: enable Rstrip extension on OSX

Without this patch the Rstrip extension for IDLE is not enabled on OSX,
while it is enabled on other platforms.

Patch by Ned Deily.

14 years agoMerged revisions 87119 via svnmerge from
Ronald Oussoren [Tue, 7 Dec 2010 16:02:59 +0000 (16:02 +0000)]
Merged revisions 87119 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87119 | ronald.oussoren | 2010-12-07 16:28:10 +0100 (Tue, 07 Dec 2010) | 2 lines

  Fix for issue #10107: Without this patch IDLE on OSX doesn't warn about unsaved files when quitting.
........

14 years agoFix Issue8194 - Fix incompatible API change in the parse_respones for xmlrpclib.
Senthil Kumaran [Tue, 7 Dec 2010 07:10:04 +0000 (07:10 +0000)]
Fix Issue8194  - Fix incompatible API change in the parse_respones for xmlrpclib.

14 years agoBlocked revisions 85674 via svnmerge
R. David Murray [Mon, 6 Dec 2010 18:53:47 +0000 (18:53 +0000)]
Blocked revisions 85674 via svnmerge

........
  r85674 | r.david.murray | 2010-10-17 19:12:16 -0400 (Sun, 17 Oct 2010) | 2 lines

  Tighten up 'byte string' wording in base64 docs.
........

14 years agoMerged revisions 85146 via svnmerge from
R. David Murray [Mon, 6 Dec 2010 18:48:31 +0000 (18:48 +0000)]
Merged revisions 85146 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85146 | r.david.murray | 2010-10-01 16:38:33 -0400 (Fri, 01 Oct 2010) | 3 lines

  Fix docstring typo.
........

14 years agoMerged revisions 85130 via svnmerge from
R. David Murray [Mon, 6 Dec 2010 18:45:46 +0000 (18:45 +0000)]
Merged revisions 85130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85130 | r.david.murray | 2010-09-30 22:08:02 -0400 (Thu, 30 Sep 2010) | 2 lines

  Fix a couple spelling errors in comments and delete redundant __len__ def.
........

14 years agoAdd missing label.
Georg Brandl [Sat, 4 Dec 2010 19:02:20 +0000 (19:02 +0000)]
Add missing label.

14 years agoMerged revisions 85086 via svnmerge from
R. David Murray [Sat, 4 Dec 2010 17:24:46 +0000 (17:24 +0000)]
Merged revisions 85086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85086 | r.david.murray | 2010-09-28 21:08:05 -0400 (Tue, 28 Sep 2010) | 4 lines

  #7110: have regrtest print test failures and tracebacks to stderr not stdout.

  Patch by Sandro Tosi.
........

14 years agoMerged revisions 87032 via svnmerge from
Mark Dickinson [Sat, 4 Dec 2010 12:30:41 +0000 (12:30 +0000)]
Merged revisions 87032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87032 | mark.dickinson | 2010-12-04 12:25:30 +0000 (Sat, 04 Dec 2010) | 3 lines

  Issue #10596: Fix float.__mod__ to have the same behaviour as
  float.__divmod__ with respect to signed zeros.
........

14 years agoMerged revisions 87014 via svnmerge from
Senthil Kumaran [Sat, 4 Dec 2010 09:58:29 +0000 (09:58 +0000)]
Merged revisions 87014 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87014 | senthil.kumaran | 2010-12-04 17:44:30 +0800 (Sat, 04 Dec 2010) | 3 lines

  Add the NEWS entry for issue7904
........

14 years agoMerged revisions 85551,86156-86157,86464 via svnmerge from
Benjamin Peterson [Sat, 4 Dec 2010 02:18:58 +0000 (02:18 +0000)]
Merged revisions 85551,86156-86157,86464 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r85551 | benjamin.peterson | 2010-10-15 16:57:29 -0500 (Fri, 15 Oct 2010) | 1 line

  escape() is now in the html module
........
  r86156 | georg.brandl | 2010-11-04 03:34:57 -0500 (Thu, 04 Nov 2010) | 1 line

  Consistency fixes in option parser help texts.
........
  r86157 | georg.brandl | 2010-11-04 03:35:30 -0500 (Thu, 04 Nov 2010) | 1 line

  #10286: fix urllib class names.
........
  r86464 | benjamin.peterson | 2010-11-14 09:28:52 -0600 (Sun, 14 Nov 2010) | 1 line

  match only .py files #10416
........

14 years agoMerged revisions 86981,86984 via svnmerge from
Antoine Pitrou [Fri, 3 Dec 2010 19:31:52 +0000 (19:31 +0000)]
Merged revisions 86981,86984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86981 | antoine.pitrou | 2010-12-03 19:41:39 +0100 (ven., 03 déc. 2010) | 5 lines

  Issue #10478: Reentrant calls inside buffered IO objects (for example by
  way of a signal handler) now raise a RuntimeError instead of freezing the
  current process.
........
  r86984 | antoine.pitrou | 2010-12-03 20:14:17 +0100 (ven., 03 déc. 2010) | 3 lines

  Add an "advanced topics" section to the io doc.
........

14 years agoMerged revisions 86985 via svnmerge from
Éric Araujo [Fri, 3 Dec 2010 19:24:49 +0000 (19:24 +0000)]
Merged revisions 86985 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86985 | eric.araujo | 2010-12-03 20:19:17 +0100 (ven., 03 déc. 2010) | 5 lines

  Fix incorrect use of gettext in argparse (#10497).

  Steven, the maintainer of argparse, agreed to have this committed
  without tests for now, since the fix is obvious.  See the bug log.
........

14 years agoFix for issue10367, courtesy of Daniel Tavares.
Phillip J. Eby [Fri, 3 Dec 2010 17:00:40 +0000 (17:00 +0000)]
Fix for issue10367, courtesy of Daniel Tavares.

14 years agoBlocked revisions 86952-86953 via svnmerge
R. David Murray [Fri, 3 Dec 2010 15:26:49 +0000 (15:26 +0000)]
Blocked revisions 86952-86953 via svnmerge

........
  r86952 | r.david.murray | 2010-12-02 23:06:39 -0500 (Thu, 02 Dec 2010) | 12 lines

  #1486713: Add a tolerant mode to HTMLParser.

  The motivation for adding this option is that the the functionality it
  provides used to be provided by sgmllib in Python2, and was used by,
  for example, BeautifulSoup.  Without this option, the Python3 version
  of BeautifulSoup and the many programs that use it are crippled.

  The original patch was by 'kxroberto'.  I modified it heavily but kept his
  heuristics and test.  I also added additional heuristics to fix #975556,
  #1046092, and part of #6191.  This patch should be completely backward
  compatible:  the behavior with the default strict=True is unchanged.
........
  r86953 | r.david.murray | 2010-12-02 23:26:18 -0500 (Thu, 02 Dec 2010) | 2 lines

  Add missing versionchanged, correct 'throw' wording to 'raise'.
........

14 years agoMerged revisions 86940 via svnmerge from
Éric Araujo [Thu, 2 Dec 2010 22:35:10 +0000 (22:35 +0000)]
Merged revisions 86940 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86940 | eric.araujo | 2010-12-02 23:16:19 +0100 (jeu., 02 déc. 2010) | 2 lines

  Fix wrong test code in test_csv (#10602)
........

14 years agoBlocked revisions 86936 via svnmerge
R. David Murray [Thu, 2 Dec 2010 21:56:45 +0000 (21:56 +0000)]
Blocked revisions 86936 via svnmerge

........
  r86936 | r.david.murray | 2010-12-02 16:47:19 -0500 (Thu, 02 Dec 2010) | 4 lines

  #8989: add 'domain' keyword to make_msgid.

  Patch by Adrian von Bidder.
........

14 years agoMerged revisions 86925 via svnmerge from
R. David Murray [Thu, 2 Dec 2010 03:16:23 +0000 (03:16 +0000)]
Merged revisions 86925 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86925 | r.david.murray | 2010-12-01 21:58:07 -0500 (Wed, 01 Dec 2010) | 4 lines

  #10464: fix netrc handling of lines with embedded '#" characters.

  Patch by Xuanji Li.
........

14 years agoMerged revisions 86896 via svnmerge from
Daniel Stutzbach [Tue, 30 Nov 2010 17:58:13 +0000 (17:58 +0000)]
Merged revisions 86896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86896 | daniel.stutzbach | 2010-11-30 09:49:53 -0800 (Tue, 30 Nov 2010) | 1 line

  Fix typo: "ofbytes" should be "of bytes"
........

14 years agoMerged revisions 86892 via svnmerge from
Éric Araujo [Tue, 30 Nov 2010 17:53:45 +0000 (17:53 +0000)]
Merged revisions 86892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86892 | eric.araujo | 2010-11-30 18:20:31 +0100 (mar., 30 nov. 2010) | 2 lines

  Let’s keep “throw” for the generator method and use “raise” elsewhere.
........