Commit Graph

40401 Commits

Author SHA1 Message Date
Mark Dickinson 3a22b4fa99 Issue #7207: Fix race condition in telnetlib test; should stop test failures on OS X 10.6. 2009-10-26 22:48:32 +00:00
Mark Dickinson cc6bf5142c Blocked revisions 75739 via svnmerge
........
  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-26 22:29:02 +00:00
Mark Dickinson 1daebdf82c Make sure memory is freed on error in complex_subtype_from_string. 2009-10-26 22:05:06 +00:00
Mark Dickinson f972488213 Remove length limitation on string arguments to complex() 2009-10-26 21:51:18 +00:00
Mark Dickinson f0966c9568 Blocked revisions 75730-75731 via svnmerge
........
  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().
........
2009-10-26 21:13:15 +00:00
Mark Dickinson e0d6f605f2 Fix extra-long line; also makes py3k match trunk here. 2009-10-26 21:12:50 +00:00
Mark Dickinson 238b1098ca Merged revisions 75728 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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-26 20:02:55 +00:00
Antoine Pitrou d51317709b Merged revisions 75725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines

  Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
  Reported by Mark D.
........
2009-10-26 19:22:14 +00:00
Eric Smith 47312acfdb Blocked revisions 75722 via svnmerge
........
  r75722 | eric.smith | 2009-10-26 13:46:17 -0400 (Mon, 26 Oct 2009) | 1 line

  Finished removing _PyOS_double_to_string, as mentioned in issue 7117.
........
2009-10-26 17:48:13 +00:00
Mark Dickinson e7525e7c7c Blocked revisions 75720 via svnmerge
........
  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.
........
2009-10-26 15:40:42 +00:00
Eric Smith bda0645846 Blocked revisions 75717-75718 via svnmerge
........
  r75717 | eric.smith | 2009-10-26 10:48:55 -0400 (Mon, 26 Oct 2009) | 1 line

  Start to remove _PyOS_double_to_string, as mentioned in issue 7117.
........
  r75718 | eric.smith | 2009-10-26 11:06:39 -0400 (Mon, 26 Oct 2009) | 1 line

  Continue removing _PyOS_double_to_string, as mentioned in issue 7117.
........
2009-10-26 15:10:57 +00:00
Mark Dickinson 3b38df24df Move some comments to more appropriate places 2009-10-26 14:36:29 +00:00
Mark Dickinson 9acadc54e0 Merged revisions 75714 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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-26 14:19:42 +00:00
Mark Dickinson 2d7062e1b4 Merged revisions 75711 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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-26 12:01:06 +00:00
R. David Murray 0548ce088d Make the XMLRCP CGIHandlerTestCase pass like it did before the change of
the test to use StringIO instead of a temp file.  There may or may not
be an underlying problem here, so this patch makes the test function
as originally designed until a determination can be made as to whether
or not there is an underlying bug here.  See issue 7165 for discussion.
2009-10-26 08:24:14 +00:00
Mark Dickinson cc16d16add Silence gcc warning about possibly uninitialized variable 'converted_items' 2009-10-26 07:58:04 +00:00
Tarek Ziadé 04fe7c01a8 Merged revisions 75669-75671 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line

  Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode
........
  r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line

  fixed finally state in distutils.test_util
........
  r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line

  fixed warning and error message
........
2009-10-25 23:08:47 +00:00
Antoine Pitrou 4824c25e75 This mention is obsolete. 2009-10-25 23:00:53 +00:00
Mark Dickinson 27a87a2aa2 Merged revisions 75697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75697 | mark.dickinson | 2009-10-25 20:39:06 +0000 (Sun, 25 Oct 2009) | 3 lines

  Issue #1087418: Small performance boost for bitwise operations on longs.
  Initial patch by Gregory Smith;  some tweaks added.
........
2009-10-25 20:43:34 +00:00
Antoine Pitrou b6ef9633a9 Add NEWS entry for the various unsupported platforms. 2009-10-24 20:47:05 +00:00
Antoine Pitrou 2a9c2bb0fd Disable support for Irix threads 2009-10-24 20:43:49 +00:00
Antoine Pitrou db6c567a72 Disable GNU pth support 2009-10-24 20:35:52 +00:00
Antoine Pitrou 1b8c783408 Disable support for SunOS LWP 2009-10-24 20:30:34 +00:00
Antoine Pitrou 86b21c190a Disable support for Mach C Threads. 2009-10-24 20:24:16 +00:00
Antoine Pitrou 6103ab1d0b Remove AtheOS support, as per PEP 11 (which claims that all code was removed in Python 3.0). 2009-10-24 20:11:21 +00:00
Eric Smith 194fcf2d15 Blocked revisions 75675 via svnmerge
........
  r75675 | eric.smith | 2009-10-24 15:50:44 -0400 (Sat, 24 Oct 2009) | 1 line

  Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, and it's not declared in any .h file.
........
2009-10-24 19:52:23 +00:00
Mark Dickinson f497584d33 Blocked revisions 75672 via svnmerge
........
  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
........
2009-10-24 15:56:07 +00:00
Mark Dickinson 0b3b73ba15 Blocked revisions 75666 via svnmerge
........
  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).
........
2009-10-24 14:05:34 +00:00
Mark Dickinson 55d110c82c Add tests for sys.float_repr_style 2009-10-24 14:04:48 +00:00
Mark Dickinson 2123c849d1 Blocked revisions 75664 via svnmerge
........
  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
........
2009-10-24 13:46:38 +00:00
Tarek Ziadé 978cca6e27 Merged revisions 75659 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75659 | tarek.ziade | 2009-10-24 15:29:44 +0200 (Sat, 24 Oct 2009) | 1 line

  #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
........
2009-10-24 13:38:27 +00:00
Mark Dickinson c2e05ed8cb Blocked revisions 75653,75658,75660 via svnmerge
........
  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
........
2009-10-24 13:32:56 +00:00
Antoine Pitrou cc452c4012 Blocked revisions 75650,75654-75655 via svnmerge
........
  r75650 | antoine.pitrou | 2009-10-24 13:59:41 +0200 (sam., 24 oct. 2009) | 3 lines

  Manual py3k backport: [svn r74155] Issue #6242: Fix deallocator of io.StringIO and io.BytesIO
........
  r75654 | antoine.pitrou | 2009-10-24 14:23:18 +0200 (sam., 24 oct. 2009) | 3 lines

  Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and io.StringIO picklable.
........
  r75655 | antoine.pitrou | 2009-10-24 14:28:22 +0200 (sam., 24 oct. 2009) | 3 lines

  Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept arbitrary keywords
........
2009-10-24 12:31:03 +00:00
Mark Dickinson 3749336005 Blocked revisions 75651 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.
........
2009-10-24 12:15:17 +00:00
Mark Dickinson 21b6c260da Recorded merge of 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-24 11:49:04 +00:00
Antoine Pitrou 899d1c64e3 Merged revisions 75624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines

  Fix Windows buildbot failure
........
2009-10-23 21:55:36 +00:00
Antoine Pitrou 97115d190a Merged revisions 75633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75633 | antoine.pitrou | 2009-10-23 20:32:15 +0200 (ven., 23 oct. 2009) | 3 lines

  Issue #7194: test_thread could try to release an unacquired mutex (and fail).
........
2009-10-23 18:34:17 +00:00
Eric Smith 5ccfa29f04 Changed try/finally to contextlib.closing, as discussed in issue 6882. 2009-10-23 12:56:11 +00:00
Eric Smith 09d95625d9 Blocked revisions 75620 via svnmerge
........
  r75620 | eric.smith | 2009-10-22 16:13:14 -0400 (Thu, 22 Oct 2009) | 1 line

  Per the discussion in issue6882, backport the try/finally work that was done to the py3k version (mostly in r59477, I think).
........
2009-10-22 20:48:54 +00:00
Georg Brandl f43713f9a7 #6927: fix wrong word. 2009-10-22 16:08:10 +00:00
Georg Brandl 95a75046c0 #7137: fix makefile() documentation to match the new parameters. 2009-10-22 15:16:26 +00:00
Raymond Hettinger af7adad51d Peephole constant folding had missed UNARY_POSITIVE. 2009-10-22 11:22:50 +00:00
Vinay Sajip 42ead48dc1 Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424. 2009-10-21 20:22:14 +00:00
Georg Brandl ff8c1e5ace Merged revisions 75580 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75580 | georg.brandl | 2009-10-21 09:15:59 +0200 (Mi, 21 Okt 2009) | 1 line

  #7170: fix explanation about non-weakrefable builtin types.
........
2009-10-21 07:17:48 +00:00
Antoine Pitrou 6a354d7e08 Another futile error in the previous commit :-( 2009-10-20 22:05:38 +00:00
Antoine Pitrou be03eec2e6 Merged revisions 75574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines

  Test wouldn't work in debug mode.
  We probably need a function in test_support to handle this.
........
2009-10-20 22:02:29 +00:00
Benjamin Peterson 810a80ab64 clarify the buffer arg 2009-10-20 21:56:16 +00:00
Antoine Pitrou 011bd62c8c Merged revisions 75570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75570 | antoine.pitrou | 2009-10-20 23:29:37 +0200 (mar., 20 oct. 2009) | 6 lines

  Issue #1722344: threading._shutdown() is now called in Py_Finalize(), which
  fixes the problem of some exceptions being thrown at shutdown when the
  interpreter is killed. Patch by Adam Olsen.
........
2009-10-20 21:52:47 +00:00
Mark Dickinson 06bb6746ed 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-20 13:38:04 +00:00
R. David Murray afaf48b953 Remove comment that went with the print_lock that was previously deleted. 2009-10-20 11:18:29 +00:00