Commit Graph

38942 Commits

Author SHA1 Message Date
Jeroen Ruigrok van der Werven 939c178379 Merged revisions 71874,71882,71890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71874 | jeroen.ruigrok | 2009-04-25 13:59:09 +0200 (za, 25 apr 2009) | 2 lines

  First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
........
  r71882 | jeroen.ruigrok | 2009-04-25 14:49:10 +0200 (za, 25 apr 2009) | 3 lines

  Issue #4239: adjust email examples not to use connect() and terminate with
  quit() and not close().
........
  r71890 | jeroen.ruigrok | 2009-04-25 15:07:40 +0200 (za, 25 apr 2009) | 3 lines

  Rewrite a sentence to be more in line with the rest of the documentation with
  regard to person and audience.
........
2009-04-26 20:25:45 +00:00
Jeroen Ruigrok van der Werven f4a9f96168 Merged revisions 71873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71873 | jeroen.ruigrok | 2009-04-25 13:15:06 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to expanding.
........
2009-04-26 20:21:12 +00:00
Raymond Hettinger f0320c7ee6 Remove the round() discussion which is now out-of-date. 2009-04-26 20:10:50 +00:00
Mark Dickinson ce95e5646b 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 20:02:24 +00:00
Walter Dörwald e250775d53 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:16:11 +00:00
Mark Dickinson d2df7e4974 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:05:51 +00:00
Mark Dickinson 6d65df1e8a Internal plumbing changes for float parsing:
- check for nans and infs within PyOS_ascii_strtod
 - simplify parsing in PyFloat_FromString, and handle out-of-memory
   errors properly
2009-04-26 15:30:47 +00:00
Mark Dickinson 35f1c9470a Merged revisions 71963 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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:11:18 +00:00
Hirokazu Yamamoto ae9eb5c4d0 Fixed documentation build warning. 2009-04-26 03:34:06 +00:00
Kurt B. Kaiser c34ed8e869 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.
........
2009-04-26 01:33:55 +00:00
Martin v. Löwis 71efeb7cbf 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:02:07 +00:00
Kurt B. Kaiser 7442bd9cdb Remove item from NEWS.txt; not checked in yet... 2009-04-25 22:34:54 +00:00
Eric Smith 709abc92ce 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:42:04 +00:00
Benjamin Peterson 0b4915e99e install idle and pydoc with a 3 suffix #5756 2009-04-25 21:11:45 +00:00
Benjamin Peterson f4841e2df7 fix some issues with install and altinstall #5818
1. fullinstall should install 'python'
2. remove link targets if already exist
3. make python3-config
4. install the man in altinstall
5. $(EXE) consistency

Patch by Larry Hastings
2009-04-25 21:04:19 +00:00
Michael Foord 5859b869a3 Doc fix, closing issue 5826 2009-04-25 20:47:43 +00:00
Kurt B. Kaiser 160ff019b6 Fix up IDLE's NEWS.txt. Include missed changes, keep 2.7 changes in separate
section to make merging easier.  Update release dates.
2009-04-25 20:14:29 +00:00
Mark Dickinson 0cd526ef58 Don't try to use x87 assembly on OS X universal builds. 2009-04-25 18:22:27 +00:00
Thomas Heller 84c97afbf1 Merged revisions 71906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71906 | thomas.heller | 2009-04-25 18:37:18 +0200 (Sa, 25 Apr 2009) | 1 line

  Issue #5078: Avoid redundant call to FormatError()
........
2009-04-25 16:49:23 +00:00
Walter Dörwald 1b08b30743 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:13:56 +00:00
Tarek Ziadé 939f9c898a 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:53:56 +00:00
Walter Dörwald 4ba801360a 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:48:43 +00:00
Tarek Ziadé 23336083d3 Merged revisions 71878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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:39:56 +00:00
Mark Dickinson de8a710849 Merged revisions 71869 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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:11:40 +00:00
Benjamin Peterson 193152c174 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 01:08:45 +00:00
Benjamin Peterson 24fb1d0a7b these tests must call gc_collect() for non-refcounting gcs 2009-04-24 23:26:21 +00:00
Benjamin Peterson 45cec32f7d make sure to close files 2009-04-24 23:14:50 +00:00
Benjamin Peterson b01138a66e readline() args must be an int #3521 2009-04-24 22:59:52 +00:00
Thomas Heller 34596a90c8 Merged revisions 71853 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71853 | thomas.heller | 2009-04-24 22:31:47 +0200 (Fr, 24 Apr 2009) | 3 lines

  Issue #3102: All global symbols that the _ctypes extension defines are
  now prefixed with 'Py' or '_ctypes'.
........
2009-04-24 20:50:00 +00:00
Thomas Heller d3cfe99b13 Fix merge accident. 2009-04-24 20:10:24 +00:00
Thomas Heller c9baac88ab 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:05:20 +00:00
Georg Brandl b58f46f691 Remove leftover word. 2009-04-24 19:06:29 +00:00
Raymond Hettinger 8f40e099c3 Issue 5830: Events are now comparable when the time and type are the same. 2009-04-24 18:43:43 +00:00
Thomas Heller 6ab91487c4 Merged revisions 71842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71842 | thomas.heller | 2009-04-24 20:10:46 +0200 (Fr, 24 Apr 2009) | 3 lines

  Issue #5161: wrong paths for ctypes cleanup when Python is built in a
  directory other than the source directory.
........
2009-04-24 18:27:10 +00:00
Mark Dickinson 5c56708f68 Merged revisions 71837-71838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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:39:07 +00:00
Mark Dickinson d4d95f8eac Merged revisions 71832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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 14:06:19 +00:00
Mark Dickinson f21bd3cc2f 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:26:14 +00:00
Mark Dickinson 6649fa42f8 Make sure that complex parsing code and corresponding tests
match for 2.7 and 3.1, and that 3.1 continues to
accept complex('j') and complex('4-j')
2009-04-24 13:25:20 +00:00
Mark Dickinson c00b5ef06e 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:53:02 +00:00
Raymond Hettinger 8bd1d4f52c Update for the new float.__repr__() 2009-04-24 03:09:06 +00:00
Raymond Hettinger d258d1e7e8 Update decimal docs for the new floating point repr(). 2009-04-23 22:06:12 +00:00
Mark Dickinson 4a16e3a764 Fix int/long confusion in Misc/NEWS entry. 2009-04-23 19:15:48 +00:00
Mark Dickinson ad476dab09 Issue #5816: Simplify code for parsing and printing of complex numbers.
nans and infs are no longer given special treatment; as a result,
repr(complex(z)) recovers z for any complex number z.
2009-04-23 19:14:16 +00:00
Mark Dickinson f16e71d889 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:17:29 +00:00
Mark Dickinson cf63f2fb88 Issue #5812: Make Fraction('1e6') valid. The Fraction constructor now
accepts all strings accepted by the float and Decimal constructors,
with the exception of strings representing NaNs or infinities.
2009-04-22 17:50:21 +00:00
Eric Smith 937491d1a9 Merged revisions 71802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71802 | eric.smith | 2009-04-22 12:20:47 -0400 (Wed, 22 Apr 2009) | 1 line

  Fixed issue 5782: formatting with commas didn't work if no specifier type code was given.
........
2009-04-22 17:04:27 +00:00
Nick Coghlan 4738470402 Merged revisions 71799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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 16:13:36 +00:00
Eric Smith ae9b6ad91e 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:56 +00:00
R. David Murray eb3615d9f6 Merged revisions 71785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71785 | r.david.murray | 2009-04-21 09:06:04 -0400 (Tue, 21 Apr 2009) | 4 lines

  Restore skips of posix and pty tests on Windows by calling the
  test_support.import_module on the appropriate modules
  before any other imports.
........
2009-04-22 02:24:39 +00:00
Eric Smith c4cae32683 Merged revisions 71788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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:53:01 +00:00