Commit Graph

40949 Commits

Author SHA1 Message Date
Lars Gustäbel 9e2a09a3a3 Merged revisions 70523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70523 | lars.gustaebel | 2009-03-22 21:09:33 +0100 (Sun, 22 Mar 2009) | 5 lines

  Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop
  forever on incomplete input. That caused tarfile.open() to hang when used
  with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or
  partial bzip2 compressed data.
........
2009-03-22 20:22:29 +00:00
Benjamin Peterson 373498fc67 Merged revisions 70521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70521 | benjamin.peterson | 2009-03-22 12:45:11 -0500 (Sun, 22 Mar 2009) | 1 line

  close the file even if an exception occurs #5536
........
2009-03-22 17:49:21 +00:00
Matthias Klose 218f462a0f Merged revisions 70518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70518 | matthias.klose | 2009-03-22 14:08:22 +0100 (So, 22 Mär 2009) | 2 lines

  - Fix comment macro in python.man
2009-03-22 13:13:23 +00:00
Hirokazu Yamamoto 68e075e59c Merged revisions 70499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70499 | hirokazu.yamamoto | 2009-03-21 19:32:52 +0900 | 1 line

  There is no macro named SIZEOF_SSIZE_T. Should use SIZEOF_SIZE_T instead.
........
2009-03-21 13:04:41 +00:00
Mark Dickinson b47fac4329 PyLong_BASE_TWODIGITS_TYPE should be BASE_TWODIGITS_TYPE 2009-03-20 23:33:19 +00:00
Mark Dickinson b7cf437087 Blocked revisions 70489 via svnmerge
........
  r70489 | mark.dickinson | 2009-03-20 23:16:14 +0000 (Fri, 20 Mar 2009) | 4 lines

  Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signed
  integer types T, not just those for which "unsigned T" is legal.
........
2009-03-20 23:20:27 +00:00
Raymond Hettinger 399ff09961 Add MutableSet example. 2009-03-20 18:30:29 +00:00
Mark Dickinson 7e6cf31c29 Blocked revisions 70479 via svnmerge
........
  r70479 | mark.dickinson | 2009-03-20 15:51:55 +0000 (Fri, 20 Mar 2009) | 3 lines

  Issue #4258:  Use 30-bit digits for Python longs, on 64-bit platforms.
  Backport of r70459.
........
2009-03-20 15:56:53 +00:00
Benjamin Peterson 53f098cdc6 Merged revisions 70463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70463 | benjamin.peterson | 2009-03-18 15:52:15 -0500 (Wed, 18 Mar 2009) | 1 line

  fix strange errors when setting attributes on tracebacks #4034
........
2009-03-18 21:49:29 +00:00
Antoine Pitrou 1637a68ab5 Merged revisions 70457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70457 | antoine.pitrou | 2009-03-18 18:10:04 +0100 (mer., 18 mars 2009) | 3 lines

  Attempt to fix Solaris buildbot failure on test_locale
........
2009-03-18 17:11:06 +00:00
Mark Dickinson 5326110d0e Blocked revisions 70454 via svnmerge
........
  r70454 | mark.dickinson | 2009-03-18 16:07:26 +0000 (Wed, 18 Mar 2009) | 9 lines

  Issue 4474: On platforms with sizeof(wchar_t) == 4 and
  sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts
  each character outside the BMP to the appropriate surrogate pair.

  Thanks Victor Stinner for the patch.

  (backport of r70452 from py3k to trunk)
........
2009-03-18 16:08:23 +00:00
Hirokazu Yamamoto 6c87e8b741 Merged revisions 70448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70448 | hirokazu.yamamoto | 2009-03-18 19:17:26 +0900 | 3 lines

  Updated openssl support on VC6. (openssl-0.9.6g is old, cannot compile with _ssl.c)
  If you use http://svn.python.org/projects/external/openssl-0.9.8g, Perl is not needed.
  This scheme was ported from PCBuild.
........
2009-03-18 10:26:33 +00:00
Mark Dickinson ca88cd1792 Blocked revisions 70444 via svnmerge
........
  r70444 | mark.dickinson | 2009-03-18 08:22:51 +0000 (Wed, 18 Mar 2009) | 3 lines

  Fix bug in _insert_thousands_sep: too much zero padding could be
  added for 'n' formats with non-repeating thousands-separator.
........
2009-03-18 08:26:22 +00:00
Mark Dickinson f4cf13a2aa Blocked revisions 70439 via svnmerge
........
  r70439 | mark.dickinson | 2009-03-17 23:03:46 +0000 (Tue, 17 Mar 2009) | 3 lines

  Issue #2110:  Add support for thousands separator and 'n' format specifier
  to Decimal __format__ method.
........
2009-03-17 23:15:40 +00:00
Mark Dickinson 714168248d Merged revisions 70430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70430 | mark.dickinson | 2009-03-17 18:01:03 +0000 (Tue, 17 Mar 2009) | 3 lines

  Fix bug in Decimal __format__ method that swapped left and right
  alignment.
........
2009-03-17 18:07:41 +00:00
Nick Coghlan 0ac5e636a0 Blocked revisions 70378 via svnmerge
........
  r70378 | nick.coghlan | 2009-03-15 13:24:46 +1000 (Sun, 15 Mar 2009) | 1 line

  Make marshalling errors a little more informative as to what went wrong
........
2009-03-15 03:41:37 +00:00
Eric Smith 0047511191 Merged revisions 70368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70368 | eric.smith | 2009-03-14 10:37:38 -0400 (Sat, 14 Mar 2009) | 1 line

  Unicode format tests weren't actually testing unicode. This was probably due to the original backport from py3k.
........
2009-03-14 14:43:27 +00:00
Eric Smith 991f8a0beb Blocked revisions 70364 via svnmerge
........
  r70364 | eric.smith | 2009-03-14 07:57:26 -0400 (Sat, 14 Mar 2009) | 17 lines

  Issue 5237, Allow auto-numbered replacement fields in str.format() strings.

  For simple uses for str.format(), this makes the typing easier. Hopfully this
  will help in the adoption of str.format().

  For example:
  'The {} is {}'.format('sky', 'blue')

  You can mix and matcth auto-numbering and named replacement fields:
  'The {} is {color}'.format('sky', color='blue')

  But you can't mix and match auto-numbering and specified numbering:
  'The {0} is {}'.format('sky', 'blue')
  ValueError: cannot switch from manual field specification to automatic field numbering

  Will port to 3.1.
........
2009-03-14 11:59:18 +00:00
Antoine Pitrou a099d145e6 Merged revisions 70356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70356 | antoine.pitrou | 2009-03-14 01:07:21 +0100 (sam., 14 mars 2009) | 3 lines

  Issue #1222: locale.format() bug when the thousands separator is a space character.
........
2009-03-14 00:13:36 +00:00
Benjamin Peterson 7fd6068c3e Merged revisions 68737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68737 | jesse.noller | 2009-01-18 15:04:36 -0600 (Sun, 18 Jan 2009) | 1 line

  issue 4301: patch logging to add processName, remove the old _check_logger_class code
........
2009-03-13 20:48:10 +00:00
Benjamin Peterson 95f9c4cfb3 Unblocked revisions 68737 via svnmerge
........
  r68737 | jesse.noller | 2009-01-18 15:04:36 -0600 (Sun, 18 Jan 2009) | 1 line

  issue 4301: patch logging to add processName, remove the old _check_logger_class code
........
2009-03-13 20:37:01 +00:00
Raymond Hettinger 2b45819b75 Issue 5477: Fix buglet in the itertools documentation. 2009-03-12 00:35:05 +00:00
Tarek Ziadé 52cafc50a6 Blocked revisions 70308 via svnmerge
........
  r70308 | tarek.ziade | 2009-03-11 13:48:04 +0100 (Wed, 11 Mar 2009) | 1 line

  Issue #5472: Fixed distutils.test_util tear down
........
2009-03-11 12:50:42 +00:00
Gregory P. Smith b7ec0025b9 Merged revisions 70197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70197 | jesus.cea | 2009-03-05 11:37:37 -0800 (Thu, 05 Mar 2009) | 1 line

  Minor bsddb documentation glitch
........
2009-03-10 16:51:19 +00:00
Raymond Hettinger 8ef4e78cf5 Fix typo. 2009-03-10 13:05:40 +00:00
Raymond Hettinger 618f505c02 Fix markup. 2009-03-10 00:11:32 +00:00
Raymond Hettinger e1bfcfac2d Add cross-reference to the collections docs. 2009-03-09 12:57:55 +00:00
Raymond Hettinger fb30cca591 Add consume() recipe to itertools docs. 2009-03-09 11:58:33 +00:00
Raymond Hettinger d31d294e89 Issue 5443: Fix typo. 2009-03-09 11:39:03 +00:00
Guilherme Polo f4362d12c7 Blocked revisions 70223 via svnmerge
........
  r70223 | guilherme.polo | 2009-03-06 23:14:38 -0300 (Fri, 06 Mar 2009) | 4 lines

  Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only
  after it is has been populated and properly configured in order to prevent
  window flashing.
........
2009-03-07 02:15:50 +00:00
Guilherme Polo c4f54fdfaa Merged revisions 70218-70219 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line

  Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
........
  r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines

  Fixed issue #4792: Prevent a segfault in _tkinter by using the
  guaranteed to be safe interp argument given to the PythonCmd in place
  of the Tcl interpreter taken from a PythonCmd_ClientData.
........
2009-03-07 01:51:48 +00:00
Tarek Ziadé a5322fb4ad Blocked revisions 70212 via svnmerge
........
  r70212 | tarek.ziade | 2009-03-07 01:32:45 +0100 (Sat, 07 Mar 2009) | 1 line

  Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler
........
2009-03-07 00:35:00 +00:00
Hirokazu Yamamoto e2d36e409d Merged revisions 70193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70193 | hirokazu.yamamoto | 2009-03-05 23:52:44 +0900 | 1 line

  mmap.resize for anonymous map is not working yet, so changed to real file mapping...
........
2009-03-05 14:58:34 +00:00
Hirokazu Yamamoto ec5294fa93 Merged revisions 70189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70189 | hirokazu.yamamoto | 2009-03-05 23:21:12 +0900 | 4 lines

  Issue #5385: Fixed mmap crash after resize failure on windows.

  Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle
  because CreateFileMapping returns NULL when error occurs.
........
2009-03-05 14:30:13 +00:00
Ronald Oussoren de3dfc1635 Merged revisions 70176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70176 | ronald.oussoren | 2009-03-04 22:35:05 +0100 (Wed, 04 Mar 2009) | 2 lines

  Fixes issues 3883 and 5194
........
2009-03-04 21:35:38 +00:00
Ronald Oussoren 5302a3011e Merged revisions 70172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70172 | ronald.oussoren | 2009-03-04 22:30:12 +0100 (Wed, 04 Mar 2009) | 7 lines

  Change framework search order when looking for Tcl/Tk on OSX.

  This is needed because the system linker looks in /Library/Framework before
  it looks in /System/Library frameworks. Without this patch _tkinter will
  be unusable when it is compiled on a system that has Tk 8.5 installed in
  /Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)
........
2009-03-04 21:30:52 +00:00
Ronald Oussoren 6f64894a92 Merged revisions 70169 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70169 | ronald.oussoren | 2009-03-04 22:12:17 +0100 (Wed, 04 Mar 2009) | 2 lines

  Fix for issue 5226.
........
2009-03-04 21:13:03 +00:00
Ronald Oussoren 03674a3855 Merged revisions 70167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70167 | ronald.oussoren | 2009-03-04 22:07:19 +0100 (Wed, 04 Mar 2009) | 2 lines

  Fix issue 5224.
........
2009-03-04 21:10:17 +00:00
Hirokazu Yamamoto 857c00e0fd Merged revisions 70137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70137 | hirokazu.yamamoto | 2009-03-04 07:18:14 +0900 | 1 line

  Issue #5179: Fixed subprocess handle leak on failure on windows.
........
2009-03-03 22:55:00 +00:00
Benjamin Peterson a97bed9572 Merged revisions 70107 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70107 | benjamin.peterson | 2009-03-02 16:41:42 -0600 (Mon, 02 Mar 2009) | 1 line

  give httplib.IncompleteRead a more sane repr #4308
........
2009-03-02 22:46:11 +00:00
Tarek Ziadé 43c0464d84 Blocked revisions 70094 via svnmerge
........
  r70094 | tarek.ziade | 2009-03-02 06:38:44 +0100 (Mon, 02 Mar 2009) | 1 line

  removing the force-optimized option as discussed in #1533164
........
2009-03-02 05:40:02 +00:00
Gregory P. Smith 13b19c1f94 Merged revisions 70088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70088 | gregory.p.smith | 2009-03-01 20:53:24 -0800 (Sun, 01 Mar 2009) | 4 lines

  The note about caching of regular expression objects was incorrect ReST and
  thus invisible in the compiled documentation.  Fixed.  Also I cleaned up the
  wording.
........
2009-03-02 05:25:11 +00:00
Benjamin Peterson e392b4ff11 Merged revisions 70086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70086 | benjamin.peterson | 2009-03-01 21:35:12 -0600 (Sun, 01 Mar 2009) | 1 line

  fix a silly problem of caching gone wrong #5401
........
2009-03-02 03:42:39 +00:00
Raymond Hettinger 4a9fda4280 Fix docs for ConfigParser. 2009-03-01 02:07:25 +00:00
Georg Brandl 9bb9f12266 Merged revisions 70078 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70078 | georg.brandl | 2009-02-28 22:33:10 +0100 (Sa, 28 Feb 2009) | 2 lines

  Fix 3k-style metaclass syntax in docstrings.
........
2009-02-28 21:35:59 +00:00
Mark Dickinson b896614cd9 Merged revisions 70062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70062 | mark.dickinson | 2009-02-28 15:50:40 +0000 (Sat, 28 Feb 2009) | 2 lines

  Issue #5393: typo in cmath.cos and cmath.cosh docstring
........
2009-02-28 15:56:34 +00:00
Hirokazu Yamamoto 4b27e963e7 Merged revisions 70056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70056 | hirokazu.yamamoto | 2009-02-28 21:13:07 +0900 | 2 lines

  Issue #1733986: Fixed mmap crash in accessing elements of second map object
  with same tagname but larger size than first map. (Windows)
........
2009-02-28 12:42:16 +00:00
Hirokazu Yamamoto e363fa020b Merged revisions 70052 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70052 | hirokazu.yamamoto | 2009-02-28 19:31:54 +0900 | 2 lines

  Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer
  overrun.
........
2009-02-28 11:39:45 +00:00
Tarek Ziadé bebfd256ee Blocked revisions 70049 via svnmerge
........
  r70049 | tarek.ziade | 2009-02-28 11:08:02 +0100 (Sat, 28 Feb 2009) | 1 line

  Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command
........
2009-02-28 10:12:45 +00:00
Tarek Ziadé df058767d5 Blocked revisions 70017 via svnmerge
........
  r70017 | tarek.ziade | 2009-02-27 13:53:34 +0100 (Fri, 27 Feb 2009) | 1 line

  Issue #5052: make Distutils compatible with 2.3 again.
........
2009-02-27 12:54:29 +00:00