Commit Graph

40980 Commits

Author SHA1 Message Date
Benjamin Peterson 61611f84c9 Merged revisions 70897 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70897 | benjamin.peterson | 2009-03-31 16:34:42 -0500 (Tue, 31 Mar 2009) | 1 line

  fix Thread.ident when it is the main thread or a dummy thread #5632
........
2009-03-31 21:40:18 +00:00
Tarek Ziadé a6f278cfa2 Blocked revisions 70886,70888-70892 via svnmerge
........
  r70886 | tarek.ziade | 2009-03-31 15:50:59 -0500 (Tue, 31 Mar 2009) | 1 line

  added tests for the clean command
........
  r70888 | tarek.ziade | 2009-03-31 15:53:13 -0500 (Tue, 31 Mar 2009) | 1 line

  more tests for the register command
........
  r70889 | tarek.ziade | 2009-03-31 15:53:55 -0500 (Tue, 31 Mar 2009) | 1 line

  more tests for the upload command
........
  r70890 | tarek.ziade | 2009-03-31 15:54:38 -0500 (Tue, 31 Mar 2009) | 1 line

  added test to the install_data command
........
  r70891 | tarek.ziade | 2009-03-31 15:55:21 -0500 (Tue, 31 Mar 2009) | 1 line

  added tests to the install_headers command
........
  r70892 | tarek.ziade | 2009-03-31 15:56:11 -0500 (Tue, 31 Mar 2009) | 1 line

  making sdist and config test silents
........
2009-03-31 21:06:56 +00:00
Hirokazu Yamamoto 81d4b360e2 Merged revisions 70879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70879 | hirokazu.yamamoto | 2009-04-01 05:14:04 +0900 | 1 line

  Issue #5387: Fixed mmap.move crash by integer overflow. (take2)
........
2009-03-31 20:22:13 +00:00
Jesse Noller 6be88dabcb Merged revisions 70852 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70852 | jesse.noller | 2009-03-31 13:27:14 -0500 (Tue, 31 Mar 2009) | 1 line

  missed the news/acks for netbsd patch
........
2009-03-31 18:39:39 +00:00
Jesse Noller 040bc1bb4b Merged revisions 70849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line

  Apply patch for netbsd multiprocessing support
........
2009-03-31 18:20:48 +00:00
Jesse Noller 8b56d47d01 Merged revisions 68915 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68915 | jesse.noller | 2009-01-24 21:36:13 -0600 (Sat, 24 Jan 2009) | 1 line

  Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels
........
2009-03-31 15:01:45 +00:00
Jesse Noller 5b19e62b88 Merged revisions 68787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68787 | jesse.noller | 2009-01-19 18:16:38 -0600 (Mon, 19 Jan 2009) | 1 line

  issue 5002: fix windows warning that I intro'ed with r68768
........
2009-03-31 14:35:13 +00:00
Jeremy Hylton cfb3d33c24 Merged revisions 70801,70809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines

  Add is_declared_global() which distinguishes between implicit and
  explicit global variables.
........
  r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines

  Global statements from one function leaked into parallel functions.

  Re http://bugs.python.org/issue4315

  The symbol table used the same name dictionaries to recursively
  analyze each of its child blocks, even though the dictionaries are
  modified during analysis.  The fix is to create new temporary
  dictionaries via the analyze_child_block().  The only information that
  needs to propagate back up is the names of the free variables.

  Add more comments and break out a helper function.  This code doesn't
  get any easier to understand when you only look at it once a year.
........
2009-03-31 14:30:05 +00:00
Ronald Oussoren 85da5e83de Merged revisions 70802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70802 | ronald.oussoren | 2009-03-31 08:20:45 -0500 (Tue, 31 Mar 2009) | 4 lines

  Minor update to OSX build-installer script, needed
  to ensure that the build will succeed in a clean
  checkout and with a non-default deployment target.
........
2009-03-31 13:23:26 +00:00
Hirokazu Yamamoto 60098040c8 Merged revisions 70800 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70800 | hirokazu.yamamoto | 2009-03-31 22:13:05 +0900 | 1 line

  Issue #5387: Fixed mmap.move crash by integer overflow.
........
2009-03-31 13:22:01 +00:00
Jesse Noller 61e9b35e91 merge 70792 to 26 maint 2009-03-31 03:35:12 +00:00
Jesse Noller f0d21c751b merge 70783 back to 26maint 2009-03-30 23:38:36 +00:00
Jesse Noller d5ac4447ba finalize the queue to resolve test issue 2009-03-30 21:57:36 +00:00
Ronald Oussoren 524e36a5d0 Merged revisions 70746 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70746 | ronald.oussoren | 2009-03-30 15:02:08 -0500 (Mon, 30 Mar 2009) | 2 lines

  Fix for issue 13095
........
2009-03-30 20:04:12 +00:00
Ronald Oussoren ed96036049 Merged revisions 70741 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70741 | ronald.oussoren | 2009-03-30 14:56:25 -0500 (Mon, 30 Mar 2009) | 2 lines

  Fixes issue 5270
........
2009-03-30 19:58:41 +00:00
Ronald Oussoren 7f2e6e6106 Merged revisions 70737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70737 | ronald.oussoren | 2009-03-30 14:34:51 -0500 (Mon, 30 Mar 2009) | 6 lines

  * Set a custom icon on the Python installer DMG
  * Remove last traces of "MacPython"
  * Add options to build different flavors of the installer
    (still defaulting to a 2-way universal build that
    runs on OSX 10.3)
........
2009-03-30 19:37:10 +00:00
Ronald Oussoren 75d838532b Merged revisions 70730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70730 | ronald.oussoren | 2009-03-30 12:53:39 -0500 (Mon, 30 Mar 2009) | 3 lines

  Fix issue where 'make altinstall' or 'make install' would install everything
  that needs to be installed on OSX (depending on the configure flags)
........
2009-03-30 17:56:14 +00:00
Ronald Oussoren d14b600523 Merged revisions 70727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70727 | ronald.oussoren | 2009-03-30 12:15:29 -0500 (Mon, 30 Mar 2009) | 5 lines

  * Updates installed dependencies to latest releaases (bzip, zlib, ...)
  * Changes code for updating folder icons from Python code
    that uses the deprecated Carbon module to a much simpler
    Cocoa program in Objective-C
........
2009-03-30 17:17:52 +00:00
Jesse Noller b48cfa679e Merge 70717 to 26maint 2009-03-30 16:19:10 +00:00
Jesse Noller e6bab480ac Merge 68768 to maint 2009-03-30 16:11:16 +00:00
Ronald Oussoren 783fa44f2c Merged revisions 70719 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70719 | ronald.oussoren | 2009-03-30 11:01:51 -0500 (Mon, 30 Mar 2009) | 2 lines

  Fix for issue 896199 (some Carbon modules aren't present in the documentation)
........
2009-03-30 16:03:41 +00:00
Ronald Oussoren c17003a19a Merged revisions 70713 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70713 | ronald.oussoren | 2009-03-30 10:20:46 -0500 (Mon, 30 Mar 2009) | 2 lines

  This patch fixes issue 1254695 (wrong argument type conversion in Carbon.Qt)
........
2009-03-30 15:24:08 +00:00
Benjamin Peterson da54b84a32 Merged revisions 70660 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line

  Switch to fixed Sphinx version.
........
2009-03-30 15:09:19 +00:00
Mark Dickinson db6fa182a7 Merged revisions 70684 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70684 | mark.dickinson | 2009-03-29 17:24:29 +0100 (Sun, 29 Mar 2009) | 3 lines

  Issue #532631: Apply floatformat changes to unicodeobject.c
  as well as stringobject.c.
........
2009-03-29 16:25:46 +00:00
Mark Dickinson 8788619540 Merged revisions 70682 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70682 | mark.dickinson | 2009-03-29 17:17:16 +0100 (Sun, 29 Mar 2009) | 3 lines

  Issue #532631:  Add paranoid check to avoid potential buffer overflow
  on systems with sizeof(int) > 4.
........
2009-03-29 16:18:33 +00:00
Mark Dickinson a30f349ecf Merged revisions 70678 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70678 | mark.dickinson | 2009-03-29 15:37:51 +0100 (Sun, 29 Mar 2009) | 3 lines

  Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 test
  with fabs(x) >= 1e50, and fix documentation.
........
2009-03-29 15:06:29 +00:00
Guilherme Polo 94cc409a11 Blocked revisions 70641,70651 via svnmerge
........
  r70641 | guilherme.polo | 2009-03-27 18:43:08 -0300 (Fri, 27 Mar 2009) | 3 lines

  Adjusted _tkinter to compile without warnings when WITH_THREAD is not
  defined (part of issue #5035)
........
  r70651 | guilherme.polo | 2009-03-28 16:17:16 -0300 (Sat, 28 Mar 2009) | 1 line

  Typo fix
........
2009-03-28 19:20:52 +00:00
Marc-André Lemburg 152f222775 Merged revisions 70594-70595 via svnmerge from
svn+pythonssh://pythondev@svn.python.org/python/trunk

........
  r70594 | marc-andre.lemburg | 2009-03-25 20:44:58 +0100 (Wed, 25 Mar 2009) | 9 lines

  Remove the sys.version_info shortcut, since they cause the APIs
  to return different information than the _sys_version() output
  used in previous Python versions.

  This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings

  Added more tests for the various platform functions.
........
  r70595 | marc-andre.lemburg | 2009-03-25 20:45:33 +0100 (Wed, 25 Mar 2009) | 3 lines

  News item for the platform.py fix (r70594).
........
2009-03-25 19:52:04 +00:00
Raymond Hettinger f70097684e Add links to related resources. 2009-03-24 00:21:36 +00:00
Mark Dickinson 2761cd3004 Blocked revisions 70542 via svnmerge
........
  r70542 | mark.dickinson | 2009-03-23 18:25:13 +0000 (Mon, 23 Mar 2009) | 14 lines

  Issue #5512: speed up the long division algorithm for Python longs.
  The basic algorithm remains the same; the most significant speedups
  come from the following three changes:

    (1) normalize by shifting instead of multiplying and dividing
    (2) the old algorithm usually did an unnecessary extra iteration of
        the outer loop; remove this.  As a special case, this means that
        long divisions with a single-digit result run twice as fast as
        before.
    (3) make inner loop much tighter.

  Various benchmarks show speedups of between 50% and 150% for long
  integer divisions and modulo operations.
........
2009-03-23 18:26:07 +00:00
Lars Gustäbel 4f908ddc88 Avoid EOFError being passed to the caller (restoring the
old behavior).
2009-03-22 21:29:48 +00:00
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