Commit Graph

13969 Commits

Author SHA1 Message Date
Raymond Hettinger 4f1e16338d Fix field name conflicts for named tuples. 2009-05-27 02:17:26 +00:00
Georg Brandl e081eef126 Merged revisions 72319-72320,72467,72661,72675-72679,72703,72708,72710,72712,72801-72802,72820,72822,72824,72826-72828,72830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72319 | georg.brandl | 2009-05-05 10:28:49 +0200 (Di, 05 Mai 2009) | 1 line

  #1309567: fix linecache behavior of stripping subdirectories from paths when looking for relative filename matches. Also add a linecache test suite.
........
  r72320 | georg.brandl | 2009-05-05 10:30:28 +0200 (Di, 05 Mai 2009) | 1 line

  Add a news entry for r72319.
........
  r72467 | georg.brandl | 2009-05-08 14:17:34 +0200 (Fr, 08 Mai 2009) | 1 line

  Fix name.
........
  r72661 | georg.brandl | 2009-05-15 10:03:03 +0200 (Fr, 15 Mai 2009) | 1 line

  Fix example output for doctest-like demos.
........
  r72675 | georg.brandl | 2009-05-16 13:13:21 +0200 (Sa, 16 Mai 2009) | 1 line

  #6034: clarify __reversed__ doc.
........
  r72676 | georg.brandl | 2009-05-16 13:14:46 +0200 (Sa, 16 Mai 2009) | 1 line

  #6025: fix signature of parse().
........
  r72677 | georg.brandl | 2009-05-16 13:18:55 +0200 (Sa, 16 Mai 2009) | 1 line

  #6009: undocument default argument of Option as deprecated.
........
  r72678 | georg.brandl | 2009-05-16 13:21:29 +0200 (Sa, 16 Mai 2009) | 1 line

  #2856: document 2.x os.listdir() behavior for undecodable filenames.
........
  r72679 | georg.brandl | 2009-05-16 13:24:41 +0200 (Sa, 16 Mai 2009) | 1 line

  Fix about and bugs pages to match real workflow.
........
  r72703 | georg.brandl | 2009-05-17 10:10:27 +0200 (So, 17 Mai 2009) | 1 line

  part of #4144: fix exception message in console session.
........
  r72708 | georg.brandl | 2009-05-17 10:24:29 +0200 (So, 17 Mai 2009) | 1 line

  #6017: better document behavior of dictiterators when the dict is changed.
........
  r72710 | georg.brandl | 2009-05-17 10:36:04 +0200 (So, 17 Mai 2009) | 1 line

  #5942: Copy over flag table from dbm.rst which is clearer.
........
  r72712 | georg.brandl | 2009-05-17 10:55:00 +0200 (So, 17 Mai 2009) | 1 line

  #5935: mention that BROWSER is looked for in PATH.
........
  r72801 | georg.brandl | 2009-05-20 20:31:14 +0200 (Mi, 20 Mai 2009) | 1 line

  #6055: refer to "sqlite3" consistently.
........
  r72802 | georg.brandl | 2009-05-20 20:35:27 +0200 (Mi, 20 Mai 2009) | 1 line

  #6051: refer to email examples for better way to construct email messages.
........
  r72820 | georg.brandl | 2009-05-22 09:23:32 +0200 (Fr, 22 Mai 2009) | 1 line

  Use raise X(y).
........
  r72822 | georg.brandl | 2009-05-22 11:33:25 +0200 (Fr, 22 Mai 2009) | 1 line

  #6084: fix example.
........
  r72824 | georg.brandl | 2009-05-22 11:43:17 +0200 (Fr, 22 Mai 2009) | 1 line

  Fix references to file-related functions and methods (os.* vs file.*).
........
  r72826 | georg.brandl | 2009-05-22 11:49:42 +0200 (Fr, 22 Mai 2009) | 1 line

  Fix confusing wording.
........
  r72827 | georg.brandl | 2009-05-22 11:50:30 +0200 (Fr, 22 Mai 2009) | 1 line

  s/use/call/
........
  r72828 | georg.brandl | 2009-05-22 11:58:48 +0200 (Fr, 22 Mai 2009) | 1 line

  Correction in softspace behavior description.
........
  r72830 | georg.brandl | 2009-05-22 12:40:00 +0200 (Fr, 22 Mai 2009) | 1 line

  #6086: fix spelling and use a better exception to catch.
........
2009-05-26 09:04:23 +00:00
Georg Brandl bbc5cc1e1d Merged revisions 72932 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72932 | georg.brandl | 2009-05-26 09:50:23 +0200 (Di, 26 Mai 2009) | 1 line

  #6112: list.remove raises ValueError, not RuntimeError.
........
2009-05-26 07:50:52 +00:00
Collin Winter e9a6514767 Merged revisions 72930 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72930 | collin.winter | 2009-05-25 21:12:39 -0700 (Mon, 25 May 2009) | 1 line

  Issue 5794: fix cPickle's unpickling of recursive tuples.
........
2009-05-26 05:37:22 +00:00
Antoine Pitrou bcc2f1aaa6 The test-skipping API doesn't exist in 2.6 2009-05-24 20:07:45 +00:00
Martin v. Löwis e7e46f8152 Merged revisions 72893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72893 | martin.v.loewis | 2009-05-24 21:30:52 +0200 (So, 24 Mai 2009) | 3 lines

  Issue #6050: Don't fail extracting a directory from a zipfile if
  the directory already exists.
........
2009-05-24 19:42:14 +00:00
Antoine Pitrou 6c3064beed Merged revisions 72887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72887 | antoine.pitrou | 2009-05-24 17:40:09 +0200 (dim., 24 mai 2009) | 6 lines

  Issue #1309352: fcntl now converts its third arguments to a C `long` rather
  than an int, which makes some operations possible under 64-bit Linux (e.g.
  DN_MULTISHOT with F_NOTIFY).
........
2009-05-24 15:41:43 +00:00
R. David Murray 7a458e8f64 Merged revisions 72878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72878 | r.david.murray | 2009-05-23 17:48:06 -0400 (Sat, 23 May 2009) | 2 lines

  Add smtplib test from issue 5259.
........
2009-05-24 14:48:53 +00:00
Antoine Pitrou f658e82daf Merged revisions 72859 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72859 | antoine.pitrou | 2009-05-23 18:32:32 +0200 (sam., 23 mai 2009) | 3 lines

  Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD
........
2009-05-23 16:33:31 +00:00
Eric Smith f73758f012 Merged revisions 72848 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72848 | eric.smith | 2009-05-23 09:56:13 -0400 (Sat, 23 May 2009) | 1 line

  Issue 6089: str.format raises SystemError.
........
2009-05-23 14:04:31 +00:00
R. David Murray 262dbb10b8 Merged revisions 72838-72839 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72838 | r.david.murray | 2009-05-22 22:16:58 -0400 (Fri, 22 May 2009) | 3 lines

  Don't be so wordy in requires('network') in case other tests
  are added later, and skip the existing test if SSL is not available.
........
  r72839 | r.david.murray | 2009-05-22 22:19:36 -0400 (Fri, 22 May 2009) | 2 lines

  Fix spelling left over from testing.
........
2009-05-23 02:30:55 +00:00
R. David Murray eb059b8cb8 Merged revisions 72835 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72835 | r.david.murray | 2009-05-22 20:48:58 -0400 (Fri, 22 May 2009) | 4 lines

  Fix Issue #4066: smtplib.SMTP_SSL._get_socket now correctly returns
  the socket.  Patch by Farhan Ahmad, test by Marcin Bachry.
........
2009-05-23 01:42:42 +00:00
Collin Winter e6a02d0823 Merged revisions 72792 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72792 | collin.winter | 2009-05-20 09:49:12 -0700 (Wed, 20 May 2009) | 1 line

  Issue 6066: POP_MARK was not in pickle protocol 0.
........
2009-05-20 19:05:16 +00:00
Tarek Ziadé 82313d8ffe Merged revisions 72781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72781 | tarek.ziade | 2009-05-19 18:17:21 +0200 (Tue, 19 May 2009) | 1 line

  fixed the 'package' option of build_ext
........
2009-05-19 16:19:15 +00:00
Raymond Hettinger 3b3ddb8828 Issue 6037: MutableSequence.__iadd__ should return self. 2009-05-18 15:56:38 +00:00
Tarek Ziadé de64e1a97e removed badly merged section 2009-05-18 08:08:31 +00:00
Tarek Ziadé 482c220ace Merged revisions 72758 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72758 | tarek.ziade | 2009-05-18 10:03:37 +0200 (Mon, 18 May 2009) | 1 line

  Fixed the library extension when distutils build_ext is used inplace
........
2009-05-18 08:05:17 +00:00
Tarek Ziadé 96f15392a8 Merged revisions 72713 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72713 | tarek.ziade | 2009-05-17 12:07:48 +0200 (Sun, 17 May 2009) | 1 line

  not running this test with MSVC6
........
2009-05-17 10:10:51 +00:00
Antoine Pitrou fe8fb46ad3 Merged revisions 72662 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72662 | antoine.pitrou | 2009-05-15 13:50:29 +0200 (ven., 15 mai 2009) | 3 lines

  Issue #1655: Make imaplib IPv6-capable. Patch by Derek Morr.
........
2009-05-15 12:03:56 +00:00
Antoine Pitrou 05c8232dbc Merged revisions 72640 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72640 | antoine.pitrou | 2009-05-14 23:22:08 +0200 (jeu., 14 mai 2009) | 5 lines

  Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr.

  (Unfortunately, nntplib doesn't have a test suite)
........
2009-05-14 21:27:08 +00:00
Tarek Ziadé b7489a94ef Merged revisions 72636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72636 | tarek.ziade | 2009-05-14 22:14:13 +0200 (Thu, 14 May 2009) | 1 line

  #6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd
........
2009-05-14 20:17:32 +00:00
Tarek Ziadé 279641b5ba Merged revisions 72612 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72612 | tarek.ziade | 2009-05-14 00:16:03 +0200 (Thu, 14 May 2009) | 1 line

  adding void to the c function
........
2009-05-13 22:18:01 +00:00
Tarek Ziadé c10f17306b Merged revisions 72610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72610 | tarek.ziade | 2009-05-13 23:30:06 +0200 (Wed, 13 May 2009) | 1 line

  added an inifoo in the C file, to avoid a warning by the MSVC9 linker
........
2009-05-13 22:08:54 +00:00
Benjamin Peterson 44c3c0e2b9 Merged revisions 72593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72593 | benjamin.peterson | 2009-05-12 16:06:05 -0500 (Tue, 12 May 2009) | 1 line

  the compiler attribute is used in setup.py; can't rename
........
2009-05-12 21:20:41 +00:00
Tarek Ziadé 8dc07c0eb4 Merged revisions 72585 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72585 | tarek.ziade | 2009-05-12 19:07:14 +0200 (Tue, 12 May 2009) | 1 line

  fixed #5977: distutils build_ext.get_outputs was not using the inplace option
........
2009-05-12 17:11:54 +00:00
Tarek Ziadé 850ba43f63 Merged revisions 72577 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72577 | tarek.ziade | 2009-05-12 09:01:29 +0200 (Tue, 12 May 2009) | 1 line

  removing the assert statement so the code works when Python is run with -O
........
2009-05-12 07:04:51 +00:00
Mark Dickinson ce05717daa Merged revisions 72564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72564 | mark.dickinson | 2009-05-11 16:33:08 +0100 (Mon, 11 May 2009) | 2 lines

  Issue #5981: Fix some float.fromhex bugs related to inf and nan handling.
........
2009-05-11 16:09:39 +00:00
Tarek Ziadé a9905a0795 Merged revisions 72552 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72552 | tarek.ziade | 2009-05-10 23:27:55 +0200 (Sun, 10 May 2009) | 1 line

  fixed test_build_ext for win32
........
2009-05-10 21:33:09 +00:00
Tarek Ziadé b2b24bba6e Merged revisions 72531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72531 | tarek.ziade | 2009-05-10 12:12:08 +0200 (Sun, 10 May 2009) | 1 line

  fixed #5984 and improved test coverage
........
2009-05-10 10:24:16 +00:00
Vinay Sajip 28274ab6cf Issue #5971: StreamHandler.handleError now swallows IOErrors which occur when trying to print a traceback. 2009-05-09 12:11:30 +00:00
Philip Jenvey 54cea3b1a5 Merged revisions 72458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72458 | philip.jenvey | 2009-05-07 19:28:39 -0700 (Thu, 07 May 2009) | 2 lines

  #4351: more appropriate DeprecationWarning stacklevels
........
2009-05-08 02:47:02 +00:00
R. David Murray 7eaa992066 Merged revisions 72434 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72434 | r.david.murray | 2009-05-07 14:09:58 -0400 (Thu, 07 May 2009) | 2 lines

  Pre-opened test file needs to be opened in binary mode.
........
2009-05-07 18:25:20 +00:00
R. David Murray d0a4539632 Merged revisions 72422,72425-72426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72422 | benjamin.peterson | 2009-05-07 07:45:38 -0400 (Thu, 07 May 2009) | 1 line

  actually close files instead of leaving it to the gc #5955
........
  r72425 | r.david.murray | 2009-05-07 12:27:02 -0400 (Thu, 07 May 2009) | 3 lines

  Issue5955: aifc's close method did not close the file it wrapped,
  now it does.  This also means getfp method now returns the real fp.
........
  r72426 | r.david.murray | 2009-05-07 12:29:19 -0400 (Thu, 07 May 2009) | 3 lines

  News item for Issue5955.
........
2009-05-07 16:45:44 +00:00
Jeroen Ruigrok van der Werven 4965b48c68 Merged revisions 72399 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72399 | jeroen.ruigrok | 2009-05-06 15:16:36 +0200 (wo, 06 mei 2009) | 4 lines

  Be more explicit about the error we are catching.

  Requested by: Antoine Pitrou
........
2009-05-06 13:21:17 +00:00
Jeroen Ruigrok van der Werven 20573e0dd0 Merged revisions 72375 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72375 | jeroen.ruigrok | 2009-05-06 07:25:42 +0200 (wo, 06 mei 2009) | 5 lines

  Wrap getpreferredencoding()'s use of setlocale in a try/except to prevent
  us from raising an exception when the locale is invalid.

  Issue #1443504
........
2009-05-06 07:41:26 +00:00
Thomas Heller 54e024862a Merged revisions 72352 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72352 | thomas.heller | 2009-05-05 20:55:47 +0200 (Di, 05 Mai 2009) | 3 lines

  Fix Issue #4875: find_library can return directories instead of files
  (on win32)
........
2009-05-05 18:59:30 +00:00
R. David Murray 05afa1aefd Merged revisions 72299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72299 | r.david.murray | 2009-05-04 18:16:24 -0400 (Mon, 04 May 2009) | 7 lines

  Fix issue 5890: (property subclass shadows __doc__ string) by inserting
  the __doc__ into the subclass instance __dict__.  The fix refactors
  property_copy to call property_init in such a way that the __doc__
  logic is re-executed correctly when getter_doc is 1, thus simplifying
  property_copy.
........
2009-05-05 00:52:14 +00:00
Antoine Pitrou e199a49467 Merged revisions 72295 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72295 | antoine.pitrou | 2009-05-04 23:17:17 +0200 (lun., 04 mai 2009) | 3 lines

  Issue #5692: In :class:`zipfile.Zipfile`, fix wrong path calculation when extracting a file to the root directory.
........
2009-05-04 21:24:37 +00:00
Walter Dörwald 6da51a120d Merged revisions 72278 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72278 | walter.doerwald | 2009-05-04 18:03:03 +0200 (Mo, 04 Mai 2009) | 2 lines

  Fix typos.
........
2009-05-04 16:06:12 +00:00
R. David Murray cecc3a0083 Merged revisions 72100-72101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72100 | r.david.murray | 2009-04-29 09:17:37 -0400 (Wed, 29 Apr 2009) | 7 lines

  Fix issue 2245.  aifc now skips any chunk type it doesn't actually
  process instead of throwing errors for anything not in an explicit
  skip list.  This is per this spec: http://www.cnpbagwell.com/aiff-c.txt.
  Spec reference and test sound file provided by Santiago Peresón, fix
  based on patch by Hiroaki Kawai.
........
  r72101 | r.david.murray | 2009-04-29 09:51:44 -0400 (Wed, 29 Apr 2009) | 2 lines

  Now that we've got a test_aifc, add a few tests.
........
2009-04-29 14:54:29 +00:00
Georg Brandl e91d765a70 Update pydoc topics. 2009-04-28 18:53:13 +00:00
Georg Brandl 537caa2a0d Merged revisions 71540,71544,71546,71563,71572,71607,71653 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71540 | georg.brandl | 2009-04-12 22:30:53 +0200 (So, 12 Apr 2009) | 1 line

  #5719: add short usage example to optparse docstring.
........
  r71544 | benjamin.peterson | 2009-04-13 01:19:56 +0200 (Mo, 13 Apr 2009) | 1 line

  fix extra parenthesis #5774
........
  r71546 | benjamin.peterson | 2009-04-13 01:44:15 +0200 (Mo, 13 Apr 2009) | 1 line

  fix missing quote
........
  r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line

  Simplify markup.
........
  r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line

  #5745: more linking for identifiers in email docs.
........
  r71607 | benjamin.peterson | 2009-04-14 23:23:09 +0200 (Di, 14 Apr 2009) | 1 line

  tupel -> tuple
........
  r71653 | raymond.hettinger | 2009-04-16 20:16:10 +0200 (Do, 16 Apr 2009) | 1 line

  Clarify the behavior of any() and all() with an empty iterable.
........
2009-04-28 18:16:02 +00:00
Antoine Pitrou 7d834a571a Merged revisions 72045 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72045 | antoine.pitrou | 2009-04-27 22:50:20 +0200 (lun., 27 avril 2009) | 5 lines

  Issue #5853: calling a function of the mimetypes module from several threads
  at once could hit the recursion limit if the mimetypes database hadn't been
  initialized before.
........
2009-04-27 21:01:13 +00:00
Vinay Sajip 229bc0119a Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported. 2009-04-27 13:51:32 +00:00
Walter Dörwald 536120e34d Merged revisions 71984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71984 | walter.doerwald | 2009-04-26 22:51:44 +0200 (So, 26 Apr 2009) | 2 lines

  Use test.test_support.EnvironmentVarGuard where tests change environment vars.
........
2009-04-26 21:04:55 +00:00
Walter Dörwald cc8cfdb58d Merged revisions 71972 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71972 | walter.doerwald | 2009-04-26 21:11:43 +0200 (So, 26 Apr 2009) | 2 lines

  Fix typo.
........
2009-04-26 19:12:55 +00:00
Martin v. Löwis 2a574aed7e Merged revisions 71947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71947 | martin.v.loewis | 2009-04-26 02:53:18 +0200 (So, 26 Apr 2009) | 3 lines

  Issue #4971: Fix titlecase for characters that are their own
  titlecase, but not their own uppercase.
........
2009-04-26 01:01:58 +00:00
Kurt B. Kaiser f4eadb4dae Merged revisions 70723 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70723 | kurt.kaiser | 2009-03-30 12:22:00 -0400 (Mon, 30 Mar 2009) | 1 line

  Tk 8.5 Text widget requires 'wordprocessor' tabstyle attr to handle mixed space/tab properly. Issue 5120, patch by Guilherme Polo.
........
2009-04-25 18:18:54 +00:00
Kurt B. Kaiser d6cec0c61e Merged revisions 68801 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68801 | raymond.hettinger | 2009-01-20 05:46:23 -0500 (Tue, 20 Jan 2009) | 5 lines

  Use Georg's new permalinks to documentation by version number.
  That assures that IDLE's help always points to the correct
  version and the latest update with all bug fixes.
........
2009-04-25 17:30:40 +00:00
Kurt B. Kaiser 834b7ab909 Merged revisions 71812 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71812 | kurt.kaiser | 2009-04-22 22:36:01 -0400 (Wed, 22 Apr 2009) | 2 lines

  Produce correct version string to access the .chm
  docs on Windows.  Patch 5783 gpolo.  Will port.
........

Also, I straightened out NEWS.txt, bumped idlever.py, and updated CREDITS.txt.
2009-04-25 17:26:39 +00:00