Commit Graph

41228 Commits

Author SHA1 Message Date
Georg Brandl ed4cf72dcc Blocked revisions 71696 via svnmerge
........
  r71696 | georg.brandl | 2009-04-18 10:26:21 +0200 (Sa, 18 Apr 2009) | 1 line

  "not subscriptable" should be a bit more understandable than "unsubscriptable".
........
2009-04-28 18:16:33 +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
Georg Brandl 508290fea6 Blocked revisions 71507 via svnmerge
........
  r71507 | georg.brandl | 2009-04-12 14:08:12 +0200 (So, 12 Apr 2009) | 1 line

  #5704: let python -3 imply -t as well.
........
2009-04-28 18:14:12 +00:00
Georg Brandl e658fe888e Blocked revisions 69130,70647,70652,70770,70777,70788,71101,71405,71485,71492,71498,71503 via svnmerge
........
  r69130 | andrew.kuchling | 2009-01-31 03:50:09 +0100 (Sa, 31 Jan 2009) | 1 line

  Add a section
........
  r70647 | antoine.pitrou | 2009-03-28 20:10:13 +0100 (Sa, 28 Mär 2009) | 3 lines

  Publicize the GC untracking optimization
........
  r70652 | antoine.pitrou | 2009-03-28 20:17:54 +0100 (Sa, 28 Mär 2009) | 3 lines

  Fix a typo and be more specific
........
  r70770 | andrew.kuchling | 2009-03-31 00:30:20 +0200 (Di, 31 Mär 2009) | 1 line

  Add several items and placeholders
........
  r70777 | andrew.kuchling | 2009-03-31 01:09:46 +0200 (Di, 31 Mär 2009) | 1 line

  Add more items
........
  r70788 | andrew.kuchling | 2009-03-31 03:21:01 +0200 (Di, 31 Mär 2009) | 1 line

  Add various items
........
  r71101 | andrew.kuchling | 2009-04-03 23:43:00 +0200 (Fr, 03 Apr 2009) | 1 line

  Add some items
........
  r71405 | andrew.kuchling | 2009-04-09 13:22:47 +0200 (Do, 09 Apr 2009) | 1 line

  Add items
........
  r71485 | andrew.kuchling | 2009-04-11 18:12:23 +0200 (Sa, 11 Apr 2009) | 1 line

  Add various items
........
  r71492 | georg.brandl | 2009-04-11 20:19:27 +0200 (Sa, 11 Apr 2009) | 1 line

  Take credit for a patch of mine.
........
  r71498 | benjamin.peterson | 2009-04-11 22:27:15 +0200 (Sa, 11 Apr 2009) | 1 line

  fix markup
........
  r71503 | eric.smith | 2009-04-12 04:57:29 +0200 (So, 12 Apr 2009) | 1 line

  Take credit for my patch for issue 5237.
........
2009-04-28 18:13:35 +00:00
Georg Brandl 583bdc0b42 Merged revisions 71397-71398,71441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71397 | georg.brandl | 2009-04-08 18:36:39 +0200 (Mi, 08 Apr 2009) | 1 line

  Remove redundant backtick.
........
  r71398 | georg.brandl | 2009-04-08 18:39:04 +0200 (Mi, 08 Apr 2009) | 1 line

  Update ignore file for suspicious builder.
........
  r71441 | georg.brandl | 2009-04-10 10:16:47 +0200 (Fr, 10 Apr 2009) | 1 line

  Let "lambda" point to the correct heading.
........
2009-04-28 18:11:53 +00:00
Georg Brandl 19844eb92a Blocked revisions 71237 via svnmerge
........
  r71237 | georg.brandl | 2009-04-05 16:24:52 +0200 (So, 05 Apr 2009) | 1 line

  #1326077: fix traceback formatting of SyntaxErrors.  This fixes two differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space.
........
2009-04-28 18:10:47 +00:00
R. David Murray db5c3bd28f Merged revisions 72060 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72060 | r.david.murray | 2009-04-28 12:08:18 -0400 (Tue, 28 Apr 2009) | 10 lines

  Various small fixups to the multiprocessing docs, mostly fixing and
  enabling doctests that Sphinx can run, and fixing and disabling tests that
  Sphinx can't run.  I hand checked every test not now marked as a doctest,
  and all except the two that have open bug reports against them now work,
  at least on Linux/trunk. (I did not look at the last example at all since
  there was already an open bug).  I did not read the whole document with
  an editor's eye, but I did fix a few things I noticed while working on
  the tests.
........
2009-04-28 18:06:10 +00:00
Eric Smith 5c8a5aed7e Blocked revisions 72056 via svnmerge
........
  r72056 | eric.smith | 2009-04-28 03:33:09 -0400 (Tue, 28 Apr 2009) | 1 line

  Silence warning on Windows.
........
2009-04-28 07:34:37 +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
Eric Smith 061c7bb2f2 Blocked revisions 72040 via svnmerge
........
  r72040 | eric.smith | 2009-04-27 15:04:37 -0400 (Mon, 27 Apr 2009) | 1 line

  Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
........
2009-04-27 19:36:00 +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
Mark Dickinson 9a0517c2cc Merged revisions 71976 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71976 | mark.dickinson | 2009-04-26 20:54:55 +0100 (Sun, 26 Apr 2009) | 2 lines

  Fix typo in function name
........
2009-04-26 19:59:00 +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
Mark Dickinson b16f06bf5c Blocked revisions 71969 via svnmerge
........
  r71969 | mark.dickinson | 2009-04-26 17:04:05 +0100 (Sun, 26 Apr 2009) | 3 lines

  Backport r71967 changes from py3k to trunk.
  (Internal plumbing changes for float parsing.)
........
2009-04-26 16:04:46 +00:00
Mark Dickinson 5d48529fc4 Blocked revisions 71963 via svnmerge
........
  r71963 | mark.dickinson | 2009-04-26 15:00:08 +0100 (Sun, 26 Apr 2009) | 2 lines

  Reset errno before both calls to PyOS_ascii_strtod, not just one.
........
2009-04-26 14:00:59 +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
Eric Smith 47c975385d Blocked revisions 71938 via svnmerge
........
  r71938 | eric.smith | 2009-04-25 17:40:15 -0400 (Sat, 25 Apr 2009) | 5 lines

  Issue #5835, deprecate PyOS_ascii_formatd.

  If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.

  Will port to py3k with a different strategy.
........
2009-04-25 21:41:27 +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
Walter Dörwald 6c863d1ab2 Merged revisions 71894 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71894 | walter.doerwald | 2009-04-25 16:03:16 +0200 (Sa, 25 Apr 2009) | 4 lines

  Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in
  makeunicodedata.py and regenerated the Unicode database (This fixes
  u'\u1d79'.lower() == '\x00').
........
2009-04-25 14:05:52 +00:00
Mark Dickinson 22999a69e1 Issue #5829: complex('1e-500') shouldn't raise an exception.
Also fix some confusing indentation.
2009-04-25 13:16:50 +00:00
Tarek Ziadé de0d5e3247 Merged revisions 71884 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71884 | tarek.ziade | 2009-04-25 14:51:59 +0200 (Sat, 25 Apr 2009) | 1 line

  #5810: Fixed Distutils test_build_scripts
........
2009-04-25 12:55:56 +00:00
Tarek Ziadé 17ba0fc6e9 Blocked revisions 71878 via svnmerge
........
  r71878 | tarek.ziade | 2009-04-25 14:38:08 +0200 (Sat, 25 Apr 2009) | 1 line

  Issue #4951: Fixed failure in test_httpservers
........
2009-04-25 12:44:37 +00:00
Walter Dörwald 729df01045 Merged revisions 71875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71875 | walter.doerwald | 2009-04-25 14:15:07 +0200 (Sa, 25 Apr 2009) | 7 lines

  Issue #5837: Certain sequences of calls to set() and unset() for
  support.EnvironmentVarGuard objects restored the environment variables
  incorrectly on __exit__.

  Fix this by recording the initial value of each environment variable on the
  first access in set() or unset().
........
2009-04-25 12:23:49 +00:00
Mark Dickinson be7b7bb902 Blocked revisions 71869 via svnmerge
........
  r71869 | mark.dickinson | 2009-04-25 10:47:00 +0100 (Sat, 25 Apr 2009) | 2 lines

  Fix typo in complex parsing code;  expand tests.
........
2009-04-25 10:12:24 +00:00
Benjamin Peterson af75a5f247 Merged revisions 71860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71860 | benjamin.peterson | 2009-04-24 19:41:22 -0500 (Fri, 24 Apr 2009) | 1 line

  fix a segfault when setting __class__ in __del__ #5283
........
2009-04-25 00:44:44 +00:00
Thomas Heller 50101def6e Merged revisions 71847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71847 | thomas.heller | 2009-04-24 22:00:41 +0200 (Fr, 24 Apr 2009) | 2 lines

  Issue 5041: ctypes unwilling to allow pickling wide character.
........
2009-04-24 20:18:22 +00:00
Mark Dickinson 526ca87c27 Blocked revisions 71837-71838 via svnmerge
........
  r71837 | mark.dickinson | 2009-04-24 17:34:14 +0100 (Fri, 24 Apr 2009) | 4 lines

  Issue #5593: Use more robust test for double-rounding in test_fsum.
  While we're at it, use new unittest.skipUnless decorator to
  implement skipping for that test.
........
  r71838 | mark.dickinson | 2009-04-24 17:37:22 +0100 (Fri, 24 Apr 2009) | 2 lines

  Remove unnecessary double negative
........
2009-04-24 16:40:20 +00:00
Mark Dickinson ff12ef45ac Blocked revisions 71832 via svnmerge
........
  r71832 | mark.dickinson | 2009-04-24 14:56:07 +0100 (Fri, 24 Apr 2009) | 3 lines

  Issue #5812: The two-argument form of the Fraction constructor
  now accepts arbitrary Rational instances.
........
2009-04-24 13:56:40 +00:00
Mark Dickinson d5ac3a79e0 Blocked revisions 71827 via svnmerge
........
  r71827 | mark.dickinson | 2009-04-24 14:14:07 +0100 (Fri, 24 Apr 2009) | 2 lines

  Fix missing 'return NULL'
........
2009-04-24 13:14:47 +00:00
Mark Dickinson 1380861e7e Blocked revisions 71824 via svnmerge
........
  r71824 | mark.dickinson | 2009-04-24 13:46:53 +0100 (Fri, 24 Apr 2009) | 7 lines

  Issue #5816:
   - simplify parsing and printing of complex numbers
   - make complex(repr(z)) round-tripping work for complex
     numbers involving nans, infs, or negative zeros
   - don't accept some of the stranger complex strings
     that were previously allowed---e.g., complex('1..1j')
........
2009-04-24 12:51:43 +00:00
Mark Dickinson 5f614b1f90 Blocked revisions 71808 via svnmerge
........
  r71808 | mark.dickinson | 2009-04-22 19:15:25 +0100 (Wed, 22 Apr 2009) | 2 lines

  Issue #5812: make Fraction('1e-6') valid.  Backport of r71806.
........
2009-04-22 18:16:13 +00:00
Nick Coghlan 1bedacbfbe Blocked revisions 71799 via svnmerge
........
  r71799 | nick.coghlan | 2009-04-23 01:26:04 +1000 (Thu, 23 Apr 2009) | 1 line

  Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
........
2009-04-22 15:39:45 +00:00
Eric Smith 6da6317c9d Blocked revisions 71796 via svnmerge
........
  r71796 | eric.smith | 2009-04-22 09:29:05 -0400 (Wed, 22 Apr 2009) | 20 lines

  Backport of some of the work in r71665 to trunk. This reworks much of
  int, long, and float __format__(), and it keeps their implementation
  in sync with py3k.

  Also added PyOS_double_to_string. This is the "fallback" version
  that's also available in trunk, and should be kept in sync with that
  code. I'll add an issue to document PyOS_double_to_string in the C
  API.

  There are many internal cleanups. Externally visible changes include:

  - Implement PEP 378, Format Specifier for Thousands Separator, for
    floats, ints, and longs.

  - Issue #5515: 'n' formatting for ints, longs, and floats handles
    leading zero formatting poorly.

  - Issue #5772: For float.__format__, don't add a trailing ".0" if
    we're using no type code and we have an exponent.
........
2009-04-22 13:30:24 +00:00
Vinay Sajip ae7c4a0a42 Issue #5170: Fixed regression caused when fixing #5768. 2009-04-22 12:12:43 +00:00
Eric Smith 6b67846356 Blocked revisions 71788 via svnmerge
........
  r71788 | eric.smith | 2009-04-21 20:47:00 -0400 (Tue, 21 Apr 2009) | 1 line

  Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
........
2009-04-22 00:48:42 +00:00
Mark Dickinson 24b089bdb7 Blocked revisions 71776 via svnmerge
........
  r71776 | mark.dickinson | 2009-04-20 22:41:04 +0100 (Mon, 20 Apr 2009) | 2 lines

  Nit: integer division should use //, not /
........
2009-04-20 21:41:28 +00:00
Mark Dickinson 1480507762 Blocked revisions 71772 via svnmerge
........
  r71772 | mark.dickinson | 2009-04-20 22:13:33 +0100 (Mon, 20 Apr 2009) | 5 lines

  Issue #3166: Make long -> float (and int -> float) conversions
  correctly rounded, using round-half-to-even.  This ensures that the
  value of float(n) doesn't depend on whether we're using 15-bit digits
  or 30-bit digits for Python longs.
........
2009-04-20 21:38:54 +00:00
Raymond Hettinger ceecb8d3d8 Fix typo 2009-04-20 18:23:26 +00:00
Tarek Ziadé f581215b69 Blocked revisions 71766 via svnmerge
........
  r71766 | tarek.ziade | 2009-04-20 16:29:42 +0200 (Mon, 20 Apr 2009) | 1 line

  adding a NEWS note for #5795 (previously checked via the buildbot)
........
2009-04-20 14:31:45 +00:00
Tarek Ziadé 45d192b6d1 Merged revisions 71759 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71759 | tarek.ziade | 2009-04-20 12:33:47 +0200 (Mon, 20 Apr 2009) | 1 line

  making BuildWinInstTestCase silent in case bdist_wininst is not run under win32
........
2009-04-20 12:48:47 +00:00
Tarek Ziadé 8c7e99c52e Merged revisions 71758 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71758 | tarek.ziade | 2009-04-20 09:53:55 +0200 (Mon, 20 Apr 2009) | 1 line

  #5795 sysconfig._config_vars was shadowed in tearDown
........
2009-04-20 12:17:15 +00:00
Benjamin Peterson c485361f61 Merged revisions 71734,71738-71739 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71734 | benjamin.peterson | 2009-04-18 17:15:26 -0500 (Sat, 18 Apr 2009) | 1 line

  many more types to initialize (I had to expose some of them)
........
  r71738 | benjamin.peterson | 2009-04-18 21:32:42 -0500 (Sat, 18 Apr 2009) | 1 line

  initialize weakref some weakref types
........
  r71739 | benjamin.peterson | 2009-04-18 21:40:43 -0500 (Sat, 18 Apr 2009) | 1 line

  make errors consistent
........
2009-04-20 02:09:13 +00:00
Mark Dickinson 7b5adc066a Blocked revisions 71750 via svnmerge
........
  r71750 | mark.dickinson | 2009-04-19 18:10:47 +0100 (Sun, 19 Apr 2009) | 3 lines

  Automatic conversion of floats to integers for struct.pack integer codes
  is deprecated.  Use an explicit int() instead.
........
2009-04-19 17:12:41 +00:00
Ronald Oussoren 8572e7ba16 Merged revisions 71743 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71743 | ronald.oussoren | 2009-04-19 12:38:20 +0200 (Sun, 19 Apr 2009) | 2 lines

  Fix for issue5657.
........
2009-04-19 10:39:21 +00:00
Raymond Hettinger fd2405415b Remove duplicate recipe. 2009-04-18 23:58:45 +00:00
Benjamin Peterson 4585ca9428 Merged revisions 71722,71725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71722 | benjamin.peterson | 2009-04-18 15:12:47 -0500 (Sat, 18 Apr 2009) | 1 line

  try to initalize all builtin types with PyType_Ready to avoid problems like #5787
........
  r71725 | benjamin.peterson | 2009-04-18 15:25:25 -0500 (Sat, 18 Apr 2009) | 1 line

  initalize -> initialize
........
2009-04-18 20:50:24 +00:00
Mark Dickinson 9ea1852fb5 Blocked revisions 71715 via svnmerge
........
  r71715 | mark.dickinson | 2009-04-18 15:59:42 +0100 (Sat, 18 Apr 2009) | 2 lines

  Issue #1869: Fix a couple of minor round() issues.
........
2009-04-18 15:00:18 +00:00