Commit Graph

41508 Commits

Author SHA1 Message Date
Benjamin Peterson beef5dcf77 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
........
2011-01-01 15:32:26 +00:00
Terry Reedy 574a3cf08a Issue 6285: catch missing IDLE help file. 2011-01-01 02:28:54 +00:00
Terry Reedy 2b8cf2f754 Issue 10789: Correct threading.Lock.acquire signature. 2011-01-01 00:29:59 +00:00
R. David Murray 488b485e2b 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.
........
2010-12-31 19:29:08 +00:00
Martin v. Löwis f9f2e02de5 Merged revisions 87575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87575 | martin.v.loewis | 2010-12-30 09:36:37 +0100 (Do, 30 Dez 2010) | 2 lines

  Issue #10542: Document that identifiers use XID_Start XID_Continue*.
........
2010-12-30 08:37:58 +00:00
Senthil Kumaran bd9761102e Merged revisions 87573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87573 | senthil.kumaran | 2010-12-30 15:07:58 +0800 (Thu, 30 Dec 2010) | 3 lines

  Fix Issue10793 - hashlib documentation issue on return type of digest
........
2010-12-30 07:21:14 +00:00
R. David Murray 5723d225f8 Merged revisions 87567 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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
........
2010-12-29 19:03:53 +00:00
Senthil Kumaran e5f8e849c8 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.
........
2010-12-29 06:29:58 +00:00
Terry Reedy bb53bb40e6 Issue 10738: Fix webbrowser.Opera.raise_opts value. 2010-12-28 19:50:27 +00:00
R. David Murray daa7ba038b 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.
........
2010-12-28 18:56:33 +00:00
Senthil Kumaran 6c85838489 Merged revisions 87542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87542 | senthil.kumaran | 2010-12-28 23:55:16 +0800 (Tue, 28 Dec 2010) | 3 lines

  Fix Issue10759 - html.parser.unescape() fails on HTML entities with incorrect syntax
........
2010-12-28 16:10:56 +00:00
Alexander Belopolsky 18f6b1987f 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.
........
2010-12-28 15:42:23 +00:00
R. David Murray 17638d9435 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.
........
2010-12-27 04:36:07 +00:00
R. David Murray a6405235c9 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
........
2010-12-27 00:07:32 +00:00
R. David Murray 6cb252fa14 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.
........
2010-12-26 22:24:54 +00:00
Éric Araujo a8ffafbc52 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)
........
2010-12-26 17:54:27 +00:00
Éric Araujo 4e8e7aef5a 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)
........
2010-12-26 02:39:07 +00:00
Éric Araujo 75cb8f5104 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)
........
2010-12-26 02:21:30 +00:00
R. David Murray 5fff1479a7 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.
........
2010-12-24 22:41:22 +00:00
Alexander Belopolsky 5512f32d91 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.
........
2010-12-24 00:29:04 +00:00
Benjamin Peterson 9e335fb3c5 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
........
2010-12-23 22:20:16 +00:00
R. David Murray 42d983f487 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.
........
2010-12-23 20:37:28 +00:00
R. David Murray 46c6fd605e 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.
........
2010-12-23 19:47:37 +00:00
Alexander Belopolsky c10abb42fb Merged revisions 87443 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87443 | alexander.belopolsky | 2010-12-22 21:58:25 -0500 (Wed, 22 Dec 2010) | 1 line

  Issue #10587: Document the meaning of str methods.
........
2010-12-23 03:00:58 +00:00
Alexander Belopolsky a79a6765ce Merged revisions 87433 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87433 | alexander.belopolsky | 2010-12-21 20:37:36 -0500 (Tue, 21 Dec 2010) | 3 lines

  Both PEP 3131 and the current implementation use NFKC normalization
  for identifiers.  Fixed the documentation to agree.
........
2010-12-22 01:55:15 +00:00
R. David Murray 30f9c8c684 Merged revisions 87430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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.
........
2010-12-21 21:57:54 +00:00
Antoine Pitrou 6cfc5124f2 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.
........
2010-12-21 21:26:09 +00:00
Antoine Pitrou 9fc6b6c453 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)
........
2010-12-21 18:56:38 +00:00
R. David Murray c7611d1126 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.
........
2010-12-21 18:26:10 +00:00
R. David Murray 27c1914c1b 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.
........
2010-12-21 18:11:01 +00:00
R. David Murray 08d3c1e713 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.
........
2010-12-20 19:05:57 +00:00
R. David Murray 2c2085bdf8 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.
........
2010-12-20 18:10:51 +00:00
R. David Murray 63cd7b6fb3 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.
........
2010-12-18 19:41:50 +00:00
R. David Murray af05f18aff 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.
........
2010-12-18 18:32:19 +00:00
Antoine Pitrou ff1bbba92a Merged revisions 87373,87381 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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
........
2010-12-18 18:04:38 +00:00
Ezio Melotti a2eb94b1cf 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.
........
2010-12-18 17:55:43 +00:00
R. David Murray 28b77ece82 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.
........
2010-12-18 17:21:30 +00:00
Ezio Melotti 9d254f7092 Merged revisions 87368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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.
........
2010-12-18 15:06:45 +00:00
R. David Murray c79cf04250 Blocked revisions 87356 via svnmerge
........
  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.
........
2010-12-18 03:50:46 +00:00
Antoine Pitrou bc7f20cea4 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).
........
2010-12-17 17:44:45 +00:00
Senthil Kumaran 3396e8671d 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 ';'
........
2010-12-17 04:54:43 +00:00
R. David Murray 115a3170c4 Blocked revisions 87324 via svnmerge
........
  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.
........
2010-12-16 19:10:16 +00:00
Antoine Pitrou db848f1276 svnmerge fooled me. That test class already existed. 2010-12-16 17:17:40 +00:00
Antoine Pitrou c5e548f6a5 Forgot to enable this test 2010-12-16 17:05:26 +00:00
Antoine Pitrou 3022ce1a14 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 backport some tests)
2010-12-16 17:03:16 +00:00
Éric Araujo 0da0c48e23 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
........
2010-12-16 06:30:42 +00:00
Brian Curtin 1c76044ea0 Merged revisions 87306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87306 | brian.curtin | 2010-12-15 21:24:49 -0600 (Wed, 15 Dec 2010) | 2 lines

  EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
........
2010-12-16 03:27:11 +00:00
Éric Araujo 3efdf0630b 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.
........
2010-12-16 03:16:29 +00:00
Éric Araujo b7ae2095d0 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)
........
2010-12-15 22:38:50 +00:00
Éric Araujo c1e14dffeb 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.
........
2010-12-15 22:07:54 +00:00