1. 20 Sep, 2009 2 commits
  2. 19 Sep, 2009 3 commits
  3. 18 Sep, 2009 6 commits
  4. 17 Sep, 2009 3 commits
    • Georg Brandl's avatar
      Merged revisions 74621,74823-74824,74868,74877-74878 via svnmerge from · a3594748
      Georg Brandl authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line
      
        #6638: fix wrong parameter name and markup a class.
      ........
        r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line
      
        Remove strange trailing commas.
      ........
        r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line
      
        #6892: fix optparse example involving help option.
      ........
        r74868 | georg.brandl | 2009-09-17 12:23:02 +0200 (Do, 17 Sep 2009) | 2 lines
      
        String values should be shown with quotes, to avoid confusion with constants.
      ........
        r74877 | georg.brandl | 2009-09-17 18:26:06 +0200 (Do, 17 Sep 2009) | 1 line
      
        Remove duplicate doc of enable/disable_interspersed_args.
      ........
        r74878 | georg.brandl | 2009-09-17 19:14:04 +0200 (Do, 17 Sep 2009) | 1 line
      
        Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
      ........
      a3594748
    • Georg Brandl's avatar
      Merged revisions 74873 via svnmerge from · 01526333
      Georg Brandl authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line
      
        #6844 followup: the warning when setting Exception.message was removed, do not test for it.
      ........
      01526333
    • Georg Brandl's avatar
      Merged revisions 74869 via svnmerge from · f7a09bec
      Georg Brandl authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74869 | georg.brandl | 2009-09-17 13:28:09 +0200 (Do, 17 Sep 2009) | 4 lines
      
        Issue #6922: Fix an infinite loop when trying to decode an invalid
        UTF-32 stream with a non-raising error handler like "replace" or "ignore".
      ........
      f7a09bec
  5. 16 Sep, 2009 6 commits
    • Mark Dickinson's avatar
      Blocked revisions 74853 via svnmerge · ecc66d84
      Mark Dickinson authored
      ........
        r74853 | mark.dickinson | 2009-09-16 23:10:56 +0100 (Wed, 16 Sep 2009) | 5 lines
      
        Issue #6713:  Improve performance of str(n) and repr(n) for integers n
        (up to 3.1 times faster in tests), by special-casing base 10 in
        _PyLong_Format.  (Backport of r74851 from py3k.)
      ........
      ecc66d84
    • Thomas Wouters's avatar
      Add news entry for r74842. · 1170b998
      Thomas Wouters authored
      1170b998
    • Georg Brandl's avatar
      Merged revisions 74845 via svnmerge from · 8997103b
      Georg Brandl authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74845 | georg.brandl | 2009-09-16 22:30:09 +0200 (Mi, 16 Sep 2009) | 5 lines
      
        #6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user.
      
        This works by always setting it in __dict__, except when it's implicitly set in __init__.
      ........
      8997103b
    • Mark Dickinson's avatar
      Blocked revisions 74843 via svnmerge · 6bb97a2e
      Mark Dickinson authored
      ........
        r74843 | mark.dickinson | 2009-09-16 21:26:31 +0100 (Wed, 16 Sep 2009) | 4 lines
      
        Remove outdated include; this include was breaking OS X builds using
        non-Apple gcc4.3 and gcc4.4 (because CoreFoundation/CoreFoundation.h
        won't compile under non-Apple gcc).
      ........
      6bb97a2e
    • Thomas Wouters's avatar
      Merged revisions 74841 via svnmerge from · 448db215
      Thomas Wouters authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74841 | thomas.wouters | 2009-09-16 12:55:54 -0700 (Wed, 16 Sep 2009) | 23 lines
      
      
        Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
        acquiring the import lock around fork() calls. This prevents other threads
        from having that lock while the fork happens, and is the recommended way of
        dealing with such issues. There are two other locks we care about, the GIL
        and the Thread Local Storage lock. The GIL is obviously held when calling
        Python functions like os.fork(), and the TLS lock is explicitly reallocated
        instead, while also deleting now-orphaned TLS data.
      
        This only fixes calls to os.fork(), not extension modules or embedding
        programs calling C's fork() directly. Solving that requires a new set of API
        functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
        warning explaining the problem to the documentation in the mean time.
      
        This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
        getting the import lock reallocated, seemingly to avoid this very same
        problem. This is not the right approach, because the import lock is a
        re-entrant one, and reallocating would do the wrong thing when forking while
        holding the import lock.
      
        Will backport to 2.6, minus the tiny AIX behaviour change.
      ........
      448db215
    • Ezio Melotti's avatar
      Merged revisions 74825 via svnmerge from · c5a6fd74
      Ezio Melotti authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74825 | ezio.melotti | 2009-09-16 16:14:05 +0300 (Wed, 16 Sep 2009) | 1 line
      
        #6879 - fix misstatement about exceptions
      ........
      c5a6fd74
  6. 15 Sep, 2009 4 commits
  7. 14 Sep, 2009 1 commit
  8. 13 Sep, 2009 4 commits
  9. 12 Sep, 2009 1 commit
    • Lars Gustäbel's avatar
      Blocked revisions 74750 via svnmerge · 03604a99
      Lars Gustäbel authored
      ........
        r74750 | lars.gustaebel | 2009-09-12 12:28:15 +0200 (Sat, 12 Sep 2009) | 9 lines
      
        Issue #6856: Add a filter keyword argument to TarFile.add().
      
        The filter argument must be a function that takes a TarInfo
        object argument, changes it and returns it again. If the
        function returns None the TarInfo object will be excluded
        from the archive.
        The exclude argument is deprecated from now on, because it
        does something similar but is not as flexible.
      ........
      03604a99
  10. 09 Sep, 2009 3 commits
  11. 08 Sep, 2009 4 commits
  12. 07 Sep, 2009 2 commits
  13. 06 Sep, 2009 1 commit