Commit Graph

41650 Commits

Author SHA1 Message Date
Antoine Pitrou 1ccb66a5bd Merged revisions 76033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76033 | antoine.pitrou | 2009-11-01 22:26:14 +0100 (dim., 01 nov. 2009) | 3 lines

  test_normalization should skip and not crash when the resource isn't available
........
2009-11-01 21:34:42 +00:00
Gregory P. Smith 5662924453 Merged revisions 74475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines

  Issue 6665: Fix fnmatch to properly match filenames with newlines in them.
........
2009-11-01 20:33:31 +00:00
Gregory P. Smith 63e64add92 Merged revisions 69519 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69519 | gregory.p.smith | 2009-02-11 15:45:25 -0800 (Wed, 11 Feb 2009) | 3 lines

  Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even
  on LP64 platforms (most 64-bit Linux, bsd, unix systems).
........
2009-11-01 20:28:48 +00:00
Raymond Hettinger 743d8319ef Fix space/tabs issue. 2009-11-01 20:05:41 +00:00
Raymond Hettinger 4da5faae21 Issue 7244: Fix indentation in C code. Fix test to not sent output to stdout. 2009-11-01 18:43:31 +00:00
Gregory P. Smith 6da85f947f Merged revisions 76000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76000 | gregory.p.smith | 2009-10-31 14:26:08 -0700 (Sat, 31 Oct 2009) | 7 lines

  Fixes issue7208 - getpass would still allow the password to be echoed on
  Solaris due to not flushing the input buffer.

  This change also incorporates some additional getpass implementation
  suggestions for security based on an analysis of getpass.c linked to from the
  issue.
........
2009-11-01 18:31:13 +00:00
Antoine Pitrou f44aa34cee (neither to 2.6)
Merged revisions 76012 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76012 | antoine.pitrou | 2009-11-01 17:10:47 +0100 (dim., 01 nov. 2009) | 3 lines

  Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.
........
2009-11-01 16:17:06 +00:00
Raymond Hettinger 80d49b33b1 Issue 7244: fix exception handling in itertools.izip_longest(). 2009-11-01 08:53:21 +00:00
Eric Smith e2670af08b Blocked revisions 75995 via svnmerge
........
  r75995 | eric.smith | 2009-10-31 13:07:17 -0400 (Sat, 31 Oct 2009) | 1 line

  Improved test for a deprecation warning.
........
2009-10-31 17:07:52 +00:00
Mark Dickinson 45ce3bd205 Blocked revisions 75991 via svnmerge
........
  r75991 | mark.dickinson | 2009-10-31 12:47:47 +0000 (Sat, 31 Oct 2009) | 1 line

  Set retval on PyOS_string_to_double failure.
........
2009-10-31 12:48:51 +00:00
Mark Dickinson 265035e1e5 Merged revisions 75986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75986 | mark.dickinson | 2009-10-31 10:36:06 +0000 (Sat, 31 Oct 2009) | 2 lines

  Issue #7042:  Use a better mechanism for testing timers in test_signal.
........
2009-10-31 10:37:15 +00:00
Mark Dickinson 648568fca8 Merged revisions 75982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75982 | mark.dickinson | 2009-10-31 10:11:28 +0000 (Sat, 31 Oct 2009) | 5 lines

  Issue #6603: Fix --with-tsc build failures on x86-64 that resulted
  from a gcc inline assembler peculiarity. (gcc's "A" constraint
  apparently means 'rax or rdx' in 64-bit mode, not edx:eax
  or rdx:rax as one might expect.)
........
2009-10-31 10:14:33 +00:00
Mark Dickinson a9792159ec Blocked revisions 75979 via svnmerge
........
  r75979 | mark.dickinson | 2009-10-31 09:42:39 +0000 (Sat, 31 Oct 2009) | 1 line

  Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.
........
2009-10-31 09:43:04 +00:00
Mark Dickinson 965316713d Blocked revisions 75974 via svnmerge
........
  r75974 | mark.dickinson | 2009-10-31 09:28:12 +0000 (Sat, 31 Oct 2009) | 1 line

  Move a Misc/NEWS entry to right section.
........
2009-10-31 09:28:55 +00:00
Mark Dickinson d8a2e2b794 Merged revisions 75943-75945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line

  Fix duplicate test numbers in extra.decTest
........
  r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines

  Issue #7233:  A number of two-argument Decimal methods were failing to
  accept ints and longs for the second argument.
........
  r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines

  Issue #7233:  Fix Decimal.shift and Decimal.rotate methods for
  arguments with more digits than the current context precision.
  Bug reported by Stefan Krah.
........
2009-10-29 12:16:15 +00:00
Mark Dickinson 99eb961a56 Blocked revisions 75939 via svnmerge
........
  r75939 | mark.dickinson | 2009-10-29 09:46:04 +0000 (Thu, 29 Oct 2009) | 5 lines

  Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
  The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
  and PyErr_Format.  See issue #7228.
........
2009-10-29 09:55:14 +00:00
Lars Gustäbel fb829d4b08 Blocked revisions 75935 via svnmerge
........
  r75935 | lars.gustaebel | 2009-10-29 10:15:00 +0100 (Thu, 29 Oct 2009) | 3 lines

  Issue #4750: Store the basename of the original filename in
  the gzip FNAME header as required by RFC 1952.
........
2009-10-29 09:21:19 +00:00
Benjamin Peterson c717aec772 Merged revisions 75931 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75931 | benjamin.peterson | 2009-10-28 20:49:07 -0500 (Wed, 28 Oct 2009) | 5 lines

  do a backport of r75928

  The added test does not fail without the patch, but we still fix the issue of
  surrogates being used in wide builds where they should not be.
........
2009-10-29 02:02:47 +00:00
Benjamin Peterson e7228d3e01 remove binary mimetype 2009-10-29 01:57:08 +00:00
Vinay Sajip 602beb88d2 Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration. 2009-10-28 23:28:16 +00:00
R. David Murray 757cebc41b Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines

  Remove variable that is no longer used.
........
2009-10-28 14:05:34 +00:00
Eric Smith e59d62a5d4 Blocked revisions 75913 via svnmerge
........
  r75913 | eric.smith | 2009-10-28 04:44:37 -0400 (Wed, 28 Oct 2009) | 1 line

  Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
........
2009-10-28 08:47:31 +00:00
Mark Dickinson c48b381455 Blocked revisions 75909 via svnmerge
........
  r75909 | mark.dickinson | 2009-10-28 07:47:32 +0000 (Wed, 28 Oct 2009) | 1 line

  Fix format specifier for MSVC
........
2009-10-28 07:48:08 +00:00
Mark Dickinson 3a3b7fdca7 Blocked revisions 75905 via svnmerge
........
  r75905 | mark.dickinson | 2009-10-28 07:23:49 +0000 (Wed, 28 Oct 2009) | 1 line

  Replace long long with PY_LONG_LONG
........
2009-10-28 07:24:20 +00:00
Tarek Ziadé 34fb25b150 Blocked revisions 75901 via svnmerge
........
  r75901 | tarek.ziade | 2009-10-28 07:45:18 +0100 (Wed, 28 Oct 2009) | 1 line

  removed spurious spaces
........
2009-10-28 06:46:01 +00:00
R. David Murray 9e28ca707b Merged revisions 75528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines

  Clarify error report message, and don't recommend running in verbose
  mode for more information if we are already running in verbose mode.
........
2009-10-28 02:22:08 +00:00
R. David Murray 25bdfac975 Blocked revisions 70936 via svnmerge
........
  r70936 | r.david.murray | 2009-03-31 23:21:43 -0400 (Tue, 31 Mar 2009) | 4 lines

  Fix issue 2522.  locale.format now checks that it is passed
  exactly one pattern, which avoids mysterious errors where it
  had seemed to fail to do localization.
........
2009-10-28 02:09:26 +00:00
R. David Murray 48daba677d Merged revisions 75524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines

  Eliminate warning message that looks like an error message.  When it was
  added not finding Lib/test in the path indicated something was wrong,
  but when running regtest using "python -m" Lib/test isn't typically in
  the path, so this message is now more disturbing than it is helpful.
........
2009-10-28 01:49:02 +00:00
R. David Murray 7034db3306 Merged revisions 75301 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75301 | r.david.murray | 2009-10-09 17:50:54 -0400 (Fri, 09 Oct 2009) | 5 lines

  Issue #7082: When falling back to the MIME 'name' parameter, the
  correct place to look for it is the Content-Type header.

  Patch by Darren Worrall.
........
2009-10-27 23:39:06 +00:00
Tarek Ziadé 33ae60ed73 Blocked revisions 75893 via svnmerge
........
  r75893 | tarek.ziade | 2009-10-28 00:06:10 +0100 (Wed, 28 Oct 2009) | 1 line

  Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils
........
2009-10-27 23:07:08 +00:00
Georg Brandl 23016276b6 Merged revisions 75887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line

  Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........
2009-10-27 22:57:25 +00:00
Mark Dickinson a8507d59db Blocked revisions 75883 via svnmerge
........
  r75883 | mark.dickinson | 2009-10-27 22:09:33 +0000 (Tue, 27 Oct 2009) | 1 line

  Test long inputs to float
........
2009-10-27 22:09:55 +00:00
Mark Dickinson 8d38452444 Blocked revisions 75879 via svnmerge
........
  r75879 | mark.dickinson | 2009-10-27 21:48:20 +0000 (Tue, 27 Oct 2009) | 3 lines

  Silence gcc warnings when trying to print an off_t using "lld", on platforms
  where off_t has type long (e.g., 64-bit Linux).
........
2009-10-27 21:48:54 +00:00
Tarek Ziadé 0c6664950d Blocked revisions 75871 via svnmerge
........
  r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line

  Issue #7218: Fix test_site for win32
........
2009-10-27 21:22:06 +00:00
Georg Brandl 0f23fcf519 Create the function before using it. 2009-10-27 20:13:06 +00:00
Eric Smith 9c76a98ed1 Blocked revisions 75846 via svnmerge
........
  r75846 | eric.smith | 2009-10-27 15:42:57 -0400 (Tue, 27 Oct 2009) | 1 line

  Removed PyOS_ascii_atof from marshal.c, as mentioned in issue 7117. Also brings it more in line with py3k.
........
2009-10-27 19:44:40 +00:00
Eric Smith 44aebce610 Blocked revisions 75824 via svnmerge
........
  r75824 | eric.smith | 2009-10-27 14:33:14 -0400 (Tue, 27 Oct 2009) | 1 line

  Removed PyOS_ascii_atof from ast.c, as mentioned in issue 7117.
........
2009-10-27 19:08:30 +00:00
Mark Dickinson 55a01488cd Blocked revisions 75651,75653,75658,75660,75664,75666,75672,75720,75730-75731,75739 via svnmerge
........
  r75651 | mark.dickinson | 2009-10-24 13:13:30 +0100 (Sat, 24 Oct 2009) | 7 lines

  Issue #7117: Prepare for backport of py3k float repr.
  Add the Python/dtoa.c file containing the main algorithms;
  add corresponding include file and include in Python.h;
  include license information for Python/dtoa.c;
  add dtoa.c and dtoa.h to Makefile.
........
  r75653 | mark.dickinson | 2009-10-24 13:17:24 +0100 (Sat, 24 Oct 2009) | 1 line

  Temporary define to avoid build failure
........
  r75658 | mark.dickinson | 2009-10-24 14:28:38 +0100 (Sat, 24 Oct 2009) | 8 lines

  Issue #7117 (backport py3k float repr) continued:
   - add double endianness detection to configure script
   - add configure-time check to see whether we can use inline
     assembly to get and set x87 control word in configure script
   - add functions to get and set x87 control word in Python/pymath.c
   - add pyport.h logic to determine whether it's safe to use the
     short float repr or not
........
  r75660 | mark.dickinson | 2009-10-24 14:31:41 +0100 (Sat, 24 Oct 2009) | 1 line

  Remove temporary define from r75653
........
  r75664 | mark.dickinson | 2009-10-24 14:44:16 +0100 (Sat, 24 Oct 2009) | 1 line

  Configure check for double rounding should take BASECFLAGS into account
........
  r75666 | mark.dickinson | 2009-10-24 15:01:08 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117 (backport py3k float repr) continued:
  Add sys.float_repr_style attribute ('short' if short float
  repr is in used;  'legacy' otherwise).
........
  r75672 | mark.dickinson | 2009-10-24 16:54:35 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117:  temporarily disable the short float repr while the
  pieces are being assembled.  To re-enable, define the preprocessor
  symbol PY_SHORT_FLOAT_REPR
........
  r75720 | mark.dickinson | 2009-10-26 15:39:50 +0000 (Mon, 26 Oct 2009) | 3 lines

  Issue #7117 (backport py3k float repr) continued:
  Backport pystrtod.c from py3k.
........
  r75730 | mark.dickinson | 2009-10-26 21:09:09 +0000 (Mon, 26 Oct 2009) | 2 lines

  Issue #7117:  Backport missing pystrtod.h declarations from py3k.
........
  r75731 | mark.dickinson | 2009-10-26 21:11:20 +0000 (Mon, 26 Oct 2009) | 4 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  floatobject.c.  Also, remove limitation on length of unicode inputs to
  float().
........
  r75739 | mark.dickinson | 2009-10-26 22:28:14 +0000 (Mon, 26 Oct 2009) | 5 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  complexobject.c.  Also remove length restriction on unicode inputs to
  the complex constructor.
........
2009-10-27 18:50:50 +00:00
Mark Dickinson 8d03956606 Blocked revisions 75728 via svnmerge
........
  r75728 | mark.dickinson | 2009-10-26 19:59:23 +0000 (Mon, 26 Oct 2009) | 3 lines

  Use correct conversion specifier and length modifier when printing an
  integer of type off_t.  Also, don't assume that long long is available.
........
2009-10-27 18:42:04 +00:00
Mark Dickinson 7a5c2655c1 Blocked revisions 75714 via svnmerge
........
  r75714 | mark.dickinson | 2009-10-26 14:18:44 +0000 (Mon, 26 Oct 2009) | 1 line

  Warn against replacing PyNumber_Add with PyNumber_InPlaceAdd in sum
........
2009-10-27 18:39:14 +00:00
Mark Dickinson 3e438e0b5e Blocked revisions 75711 via svnmerge
........
  r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line

  Skip readline tests if readline module is not available.
........
2009-10-27 18:38:17 +00:00
Mark Dickinson 2c835948b2 Merged revisions 75648 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75648 | mark.dickinson | 2009-10-24 12:47:17 +0100 (Sat, 24 Oct 2009) | 1 line

  Acknowledge Ned Deily (extensive bug hunting and testing on OS X)
........
2009-10-27 18:31:29 +00:00
Mark Dickinson 20a7cfcaa1 Merged revisions 75561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines

  Issue #7099: Decimal.is_normal should return True for all nonzero
  finite non-subnormal values, even those with exponent > Emax.
........
2009-10-27 18:27:53 +00:00
Antoine Pitrou f3a0ff61e0 Merged revisions 75818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75818 | antoine.pitrou | 2009-10-27 18:41:58 +0100 (mar., 27 oct. 2009) | 3 lines

  Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once.
........
2009-10-27 17:46:09 +00:00
Mark Dickinson ab90b90c7b Blocked revisions 75470 via svnmerge
........
  r75470 | mark.dickinson | 2009-10-17 22:46:32 +0100 (Sat, 17 Oct 2009) | 1 line

  Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
........
2009-10-27 17:34:20 +00:00
Mark Dickinson 8f919695d5 Blocked revisions 75454 via svnmerge
........
  r75454 | mark.dickinson | 2009-10-17 08:06:37 +0100 (Sat, 17 Oct 2009) | 1 line

  test_math ulp computation was wrong on big-endian systems
........
2009-10-27 17:32:46 +00:00
Mark Dickinson a47460ac34 Merged revisions 75440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line

  Allow core Python build to succeed under WITHOUT_COMPLEX.  The module build stage still fails.
........
2009-10-27 17:26:31 +00:00
Mark Dickinson a649498a01 Blocked revisions 75438 via svnmerge
........
  r75438 | mark.dickinson | 2009-10-15 16:53:58 +0100 (Thu, 15 Oct 2009) | 1 line

  Issue #7142:  Fix uses of unicode in memoryview objects
........
2009-10-27 17:21:56 +00:00
Mark Dickinson 6de416c70f Blocked revisions 75434 via svnmerge
........
  r75434 | mark.dickinson | 2009-10-15 16:18:55 +0100 (Thu, 15 Oct 2009) | 1 line

  Fix missing semicolon
........
2009-10-27 17:21:04 +00:00
Mark Dickinson 25567ef13b Merged revisions 75286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines

  Update decimal test data to the most recent set from Mike Cowlishaw.
........
2009-10-27 17:02:46 +00:00