An error occurred fetching the project authors.
  1. 15 May, 2010 1 commit
  2. 09 May, 2010 1 commit
  3. 17 Apr, 2010 1 commit
  4. 25 Mar, 2010 1 commit
  5. 12 Mar, 2010 2 commits
  6. 01 Mar, 2010 2 commits
  7. 10 Dec, 2009 1 commit
  8. 04 Oct, 2009 1 commit
    • Benjamin Peterson's avatar
      Merged revisions 74841 via svnmerge from · 0df35a93
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74841 | thomas.wouters | 2009-09-16 14:55:54 -0500 (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.
      ........
      0df35a93
  9. 29 Jul, 2009 1 commit
    • Alexandre Vassalotti's avatar
      Merged revisions 74075,74187,74197,74201,74216,74225 via svnmerge from · e223eb84
      Alexandre Vassalotti authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r74075 | georg.brandl | 2009-07-18 05:06:31 -0400 (Sat, 18 Jul 2009) | 1 line
      
        #6505: fix typos.
      ........
        r74187 | benjamin.peterson | 2009-07-23 10:19:08 -0400 (Thu, 23 Jul 2009) | 1 line
      
        use bools for autoraise
      ........
        r74197 | benjamin.peterson | 2009-07-24 22:03:48 -0400 (Fri, 24 Jul 2009) | 1 line
      
        clarify
      ........
        r74201 | amaury.forgeotdarc | 2009-07-25 12:22:06 -0400 (Sat, 25 Jul 2009) | 2 lines
      
        Better name a variable: 'buf' seems to imply a mutable buffer.
      ........
        r74216 | michael.foord | 2009-07-26 17:12:14 -0400 (Sun, 26 Jul 2009) | 1 line
      
        Issue 6581. Michael Foord
      ........
        r74225 | kurt.kaiser | 2009-07-27 12:09:28 -0400 (Mon, 27 Jul 2009) | 5 lines
      
        1. Clean workspace more thoughly before build.
        2. Add url of branch we are building to 'results' webpage.
           (url is now available in $repo_path, could be added to failure email.)
        3. Adjust permissions to improve upload reliability.
      ........
      e223eb84
  10. 17 Jul, 2009 1 commit
    • Alexandre Vassalotti's avatar
      Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from · 9d58e3eb
      Alexandre Vassalotti authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r73870 | r.david.murray | 2009-07-06 21:06:13 -0400 (Mon, 06 Jul 2009) | 5 lines
      
        Issue 6070: when creating a compiled file, after copying the mode bits, on
        posix zap the execute bit in case it was set on the .py file, since the
        compiled files are not directly executable on posix.  Patch by Marco N.
      ........
        r73879 | r.david.murray | 2009-07-07 05:54:16 -0400 (Tue, 07 Jul 2009) | 3 lines
      
        Update issue 6070 patch to match the patch that was actually tested
        on Windows.
      ........
        r73899 | r.david.murray | 2009-07-08 21:43:41 -0400 (Wed, 08 Jul 2009) | 3 lines
      
        Conditionalize test cleanup code to eliminate traceback, which will
        hopefully reveal the real problem.
      ........
        r73900 | r.david.murray | 2009-07-08 22:06:17 -0400 (Wed, 08 Jul 2009) | 2 lines
      
        Make test work with -O.
      ........
        r73905 | r.david.murray | 2009-07-09 09:55:44 -0400 (Thu, 09 Jul 2009) | 3 lines
      
        Specify umask in execute bit test to get consistent results
        and make sure we test resetting all three execute bits.
      ........
        r73906 | r.david.murray | 2009-07-09 11:35:33 -0400 (Thu, 09 Jul 2009) | 5 lines
      
        Curdir needs to be in the path for the test to work on all buildbots.
        (I copied this from another import test, but currently this will fail if
        TESTFN ends up in /tmp...see issue 2609).
      ........
      9d58e3eb
  11. 28 Jun, 2009 1 commit
    • Benjamin Peterson's avatar
      Merged revisions 72912,72920,72940 via svnmerge from · 876b2f28
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r72912 | benjamin.peterson | 2009-05-25 08:13:44 -0500 (Mon, 25 May 2009) | 5 lines
      
        add a SETUP_WITH opcode
      
        It speeds up the with statement and correctly looks up the special
        methods involved.
      ........
        r72920 | benjamin.peterson | 2009-05-25 15:12:57 -0500 (Mon, 25 May 2009) | 1 line
      
        take into account the fact that SETUP_WITH pushes a finally block
      ........
        r72940 | benjamin.peterson | 2009-05-26 07:49:59 -0500 (Tue, 26 May 2009) | 1 line
      
        teach the peepholer about SETUP_WITH
      ........
      876b2f28
  12. 02 Apr, 2009 1 commit
  13. 31 Mar, 2009 2 commits
  14. 30 Mar, 2009 1 commit
  15. 15 Mar, 2009 1 commit
  16. 08 Mar, 2009 1 commit
  17. 04 Mar, 2009 1 commit
  18. 25 Feb, 2009 1 commit
    • Jeffrey Yasskin's avatar
      http://bugs.python.org/issue4715 · 9de7ec78
      Jeffrey Yasskin authored
      This patch by Antoine Pitrou optimizes the bytecode for conditional branches by
      merging the following "POP_TOP" instruction into the conditional jump.  For
      example, the list comprehension "[x for x in l if not x]" produced the
      following bytecode:
      
        1           0 BUILD_LIST               0
                    3 LOAD_FAST                0 (.0)
              >>    6 FOR_ITER                23 (to 32)
                    9 STORE_FAST               1 (x)
                   12 LOAD_FAST                1 (x)
                   15 JUMP_IF_TRUE            10 (to 28)
                   18 POP_TOP
                   19 LOAD_FAST                1 (x)
                   22 LIST_APPEND              2
                   25 JUMP_ABSOLUTE            6
              >>   28 POP_TOP
                   29 JUMP_ABSOLUTE            6
              >>   32 RETURN_VALUE
      
      but after the patch it produces the following bytecode:
      
        1           0 BUILD_LIST               0
                    3 LOAD_FAST                0 (.0)
              >>    6 FOR_ITER                18 (to 27)
                    9 STORE_FAST               1 (x)
                   12 LOAD_FAST                1 (x)
                   15 POP_JUMP_IF_TRUE         6
                   18 LOAD_FAST                1 (x)
                   21 LIST_APPEND              2
                   24 JUMP_ABSOLUTE            6
              >>   27 RETURN_VALUE
      
      Notice that not only the code is shorter, but the conditional jump
      (POP_JUMP_IF_TRUE) jumps right to the start of the loop instead of going through
      the JUMP_ABSOLUTE at the end. "continue" statements are helped
      similarly.
      
      Furthermore, the old jump opcodes (JUMP_IF_FALSE, JUMP_IF_TRUE) have been
      replaced by two new opcodes:
      - JUMP_IF_TRUE_OR_POP, which jumps if true and pops otherwise
      - JUMP_IF_FALSE_OR_POP, which jumps if false and pops otherwise
      9de7ec78
  19. 02 Feb, 2009 1 commit
  20. 30 Jan, 2009 1 commit
  21. 24 Jan, 2009 1 commit
  22. 23 Jan, 2009 1 commit
  23. 06 Jan, 2009 1 commit
    • Antoine Pitrou's avatar
      Merged revisions 68360-68361 via svnmerge from · d35cbf6e
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r68360 | antoine.pitrou | 2009-01-06 19:10:47 +0100 (mar., 06 janv. 2009) | 7 lines
      
        Issue #1180193: When importing a module from a .pyc (or .pyo) file with
        an existing .py counterpart, override the co_filename attributes of all
        code objects if the original filename is obsolete (which can happen if the
        file has been renamed, moved, or if it is accessed through different paths).
        Patch by Ziga Seilnacht and Jean-Paul Calderone.
      ........
        r68361 | antoine.pitrou | 2009-01-06 19:34:08 +0100 (mar., 06 janv. 2009) | 3 lines
      
        Use shutil.rmtree rather than os.rmdir.
      ........
      d35cbf6e
  24. 03 Jan, 2009 1 commit
  25. 18 Dec, 2008 1 commit
  26. 11 Nov, 2008 1 commit
  27. 05 Nov, 2008 1 commit
  28. 09 Sep, 2008 2 commits
  29. 04 Sep, 2008 2 commits
  30. 02 Sep, 2008 1 commit
    • Benjamin Peterson's avatar
      Merged revisions... · 3e4f0556
      Benjamin Peterson authored
      Merged revisions 66045,66048-66049,66053,66060,66062-66063,66065,66067,66071-66074,66080,66082-66083,66090-66093,66097-66099,66103,66105,66110,66118 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r66045 | andrew.kuchling | 2008-08-26 19:27:18 -0500 (Tue, 26 Aug 2008) | 1 line
      
        Trim whitespace; add a few updates
      ........
        r66048 | andrew.kuchling | 2008-08-26 19:45:02 -0500 (Tue, 26 Aug 2008) | 1 line
      
        Add an item and a note
      ........
        r66049 | andrew.kuchling | 2008-08-26 21:12:18 -0500 (Tue, 26 Aug 2008) | 1 line
      
        Add various items
      ........
        r66053 | georg.brandl | 2008-08-28 04:40:18 -0500 (Thu, 28 Aug 2008) | 2 lines
      
        #3711: .dll isn't a valid Python extension anymore.
      ........
        r66060 | armin.rigo | 2008-08-29 16:21:52 -0500 (Fri, 29 Aug 2008) | 3 lines
      
        A collection of crashers, all variants of the idea
        of issue #3720.
      ........
        r66062 | georg.brandl | 2008-08-30 04:49:36 -0500 (Sat, 30 Aug 2008) | 2 lines
      
        #3730: mention "server" attribute explicitly.
      ........
        r66063 | georg.brandl | 2008-08-30 04:52:44 -0500 (Sat, 30 Aug 2008) | 2 lines
      
        #3716: fix typo.
      ........
        r66065 | georg.brandl | 2008-08-30 05:03:09 -0500 (Sat, 30 Aug 2008) | 2 lines
      
        #3569: eval() also accepts "exec"able code objects.
      ........
        r66067 | georg.brandl | 2008-08-30 08:17:39 -0500 (Sat, 30 Aug 2008) | 2 lines
      
        super() actually returns a super object.
      ........
        r66071 | andrew.kuchling | 2008-08-30 10:19:57 -0500 (Sat, 30 Aug 2008) | 1 line
      
        Partial edits from revision and tidying pass
      ........
        r66072 | andrew.kuchling | 2008-08-30 10:21:23 -0500 (Sat, 30 Aug 2008) | 1 line
      
        Tidy up some sentences
      ........
        r66073 | andrew.kuchling | 2008-08-30 10:25:47 -0500 (Sat, 30 Aug 2008) | 1 line
      
        Correction from Antoine Pitrou: BufferedWriter and Reader support seek()
      ........
        r66074 | andrew.kuchling | 2008-08-30 11:44:54 -0500 (Sat, 30 Aug 2008) | 1 line
      
        Edit four more sections
      ........
        r66080 | georg.brandl | 2008-08-30 17:00:28 -0500 (Sat, 30 Aug 2008) | 2 lines
      
        Fix markup.
      ........
        r66082 | andrew.kuchling | 2008-08-30 17:56:54 -0500 (Sat, 30 Aug 2008) | 1 line
      
        More edits; markup fixes
      ........
        r66083 | andrew.kuchling | 2008-08-30 21:24:08 -0500 (Sat, 30 Aug 2008) | 1 line
      
        More edits
      ........
        r66090 | andrew.kuchling | 2008-08-31 09:29:31 -0500 (Sun, 31 Aug 2008) | 1 line
      
        Edit the library section, rearranging items to flow better and making lots of edits
      ........
        r66091 | andrew.kuchling | 2008-08-31 10:41:48 -0500 (Sun, 31 Aug 2008) | 1 line
      
        Last batch of edits; remove the 'other changes' section
      ........
        r66092 | andrew.kuchling | 2008-08-31 10:48:44 -0500 (Sun, 31 Aug 2008) | 1 line
      
        Update patch/bug count
      ........
        r66093 | gregory.p.smith | 2008-08-31 11:34:18 -0500 (Sun, 31 Aug 2008) | 3 lines
      
        issue3715: docstring representation of hex escaped string needs to be double
        escaped.
      ........
        r66097 | benjamin.peterson | 2008-09-01 09:13:43 -0500 (Mon, 01 Sep 2008) | 4 lines
      
        #3703 unhelpful _fileio.FileIO error message when trying to open a directory
      
        Reviewer: Gregory P. Smith
      ........
        r66098 | georg.brandl | 2008-09-01 09:15:55 -0500 (Mon, 01 Sep 2008) | 2 lines
      
        #3749: fix c'n'p errors.
      ........
        r66099 | benjamin.peterson | 2008-09-01 09:18:30 -0500 (Mon, 01 Sep 2008) | 4 lines
      
        Fix compilation when --without-threads is given #3683
      
        Reviewer: Georg Brandl, Benjamin Peterson
      ........
        r66103 | vinay.sajip | 2008-09-01 09:30:10 -0500 (Mon, 01 Sep 2008) | 1 line
      
        logging: fixed lack of use of encoding attribute specified on a stream.
      ........
        r66105 | vinay.sajip | 2008-09-01 09:33:59 -0500 (Mon, 01 Sep 2008) | 1 line
      
        logging: fixed lack of use of encoding attribute specified on a stream.
      ........
        r66110 | vinay.sajip | 2008-09-01 10:08:07 -0500 (Mon, 01 Sep 2008) | 1 line
      
        Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
      ........
        r66118 | vinay.sajip | 2008-09-01 12:44:14 -0500 (Mon, 01 Sep 2008) | 1 line
      
        Bug #3738: Documentation is now more accurate in describing handler close methods.
      ........
      3e4f0556
  31. 07 Aug, 2008 1 commit
  32. 19 Jul, 2008 1 commit
  33. 16 Jul, 2008 1 commit
    • Georg Brandl's avatar
      Merged revisions... · 2ee470f7
      Georg Brandl authored
      Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r64722 | georg.brandl | 2008-07-05 12:13:36 +0200 (Sat, 05 Jul 2008) | 4 lines
      
        #2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade.
      
        This is a new feature, but Barry authorized adding it in the beta period.
      ........
        r64729 | mark.dickinson | 2008-07-05 13:33:52 +0200 (Sat, 05 Jul 2008) | 5 lines
      
        Issue 3188: accept float('infinity') as well as float('inf').  This
        makes the float constructor behave in the same way as specified
        by various other language standards, including C99, IEEE 754r,
        and the IBM Decimal standard.
      ........
        r64753 | gregory.p.smith | 2008-07-06 05:35:58 +0200 (Sun, 06 Jul 2008) | 4 lines
      
        - Issue #2862: Make int and float freelist management consistent with other
          freelists.  Changes their CompactFreeList apis into ClearFreeList apis and
          calls them via gc.collect().
      ........
        r64845 | raymond.hettinger | 2008-07-10 16:03:19 +0200 (Thu, 10 Jul 2008) | 1 line
      
        Issue 3301:  Bisect functions behaved badly when lo was negative.
      ........
        r64846 | raymond.hettinger | 2008-07-10 16:34:57 +0200 (Thu, 10 Jul 2008) | 1 line
      
        Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.
      ........
        r64849 | andrew.kuchling | 2008-07-10 16:43:31 +0200 (Thu, 10 Jul 2008) | 1 line
      
        Wording changes
      ........
        r64871 | raymond.hettinger | 2008-07-11 14:00:21 +0200 (Fri, 11 Jul 2008) | 1 line
      
        Add cautionary note on the use of PySequence_Fast_ITEMS.
      ........
        r64880 | amaury.forgeotdarc | 2008-07-11 23:28:25 +0200 (Fri, 11 Jul 2008) | 5 lines
      
        #3317 in zipfile module, restore the previous names of global variables:
        some applications relied on them.
      
        Also remove duplicated lines.
      ........
        r64881 | amaury.forgeotdarc | 2008-07-11 23:45:06 +0200 (Fri, 11 Jul 2008) | 3 lines
      
        #3342: In tracebacks, printed source lines were not indented since r62555.
        #3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
      ........
        r64882 | josiah.carlson | 2008-07-12 00:17:14 +0200 (Sat, 12 Jul 2008) | 2 lines
      
        Fix for the AttributeError in test_asynchat.
      ........
        r64885 | josiah.carlson | 2008-07-12 01:26:59 +0200 (Sat, 12 Jul 2008) | 2 lines
      
        Fixed test for asyncore.
      ........
        r64888 | matthias.klose | 2008-07-12 09:51:48 +0200 (Sat, 12 Jul 2008) | 2 lines
      
        - Fix bashisms in Tools/faqwiz/move-faqwiz.sh
      ........
        r64897 | benjamin.peterson | 2008-07-12 22:16:19 +0200 (Sat, 12 Jul 2008) | 1 line
      
        fix various doc typos #3320
      ........
        r64900 | alexandre.vassalotti | 2008-07-13 00:06:53 +0200 (Sun, 13 Jul 2008) | 2 lines
      
        Fixed typo.
      ........
        r64901 | benjamin.peterson | 2008-07-13 01:41:19 +0200 (Sun, 13 Jul 2008) | 1 line
      
        #1778443 robotparser fixes from Aristotelis Mikropoulos
      ........
        r64915 | nick.coghlan | 2008-07-13 16:52:36 +0200 (Sun, 13 Jul 2008) | 1 line
      
        Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute)
      ........
        r64926 | martin.v.loewis | 2008-07-13 22:31:49 +0200 (Sun, 13 Jul 2008) | 2 lines
      
        Add turtle into the module index.
      ........
        r64927 | alexandre.vassalotti | 2008-07-13 22:42:44 +0200 (Sun, 13 Jul 2008) | 3 lines
      
        Issue #3274: Use a less common identifier for the temporary variable
        in Py_CLEAR().
      ........
        r64928 | andrew.kuchling | 2008-07-13 23:43:25 +0200 (Sun, 13 Jul 2008) | 1 line
      
        Re-word
      ........
        r64929 | andrew.kuchling | 2008-07-13 23:43:52 +0200 (Sun, 13 Jul 2008) | 1 line
      
        Add various items; move ctypes items into a subsection of their own
      ........
        r64938 | andrew.kuchling | 2008-07-14 02:35:32 +0200 (Mon, 14 Jul 2008) | 1 line
      
        Typo fixes
      ........
        r64939 | andrew.kuchling | 2008-07-14 02:40:55 +0200 (Mon, 14 Jul 2008) | 1 line
      
        Typo fix
      ........
        r64940 | andrew.kuchling | 2008-07-14 03:18:16 +0200 (Mon, 14 Jul 2008) | 1 line
      
        Typo fix
      ........
        r64941 | andrew.kuchling | 2008-07-14 03:18:31 +0200 (Mon, 14 Jul 2008) | 1 line
      
        Expand the multiprocessing section
      ........
        r64944 | gregory.p.smith | 2008-07-14 08:06:48 +0200 (Mon, 14 Jul 2008) | 7 lines
      
        Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child
        process rather than both parent and child.
      
        Does anyone actually use fork1()?  It appears to be a Solaris thing
        but if Python is built with pthreads on Solaris, fork1() and fork()
        should be the same.
      ........
        r64961 | jesse.noller | 2008-07-15 15:47:33 +0200 (Tue, 15 Jul 2008) | 1 line
      
        multiprocessing/connection.py patch to remove fqdn oddness for issue 3270
      ........
        r64966 | nick.coghlan | 2008-07-15 17:40:22 +0200 (Tue, 15 Jul 2008) | 1 line
      
        Add missing NEWS entry for r64962
      ........
        r64973 | jesse.noller | 2008-07-15 20:29:18 +0200 (Tue, 15 Jul 2008) | 1 line
      
        Revert 3270 patch: self._address is in pretty widespread use, need to revisit
      ........
      2ee470f7
  34. 11 Jun, 2008 2 commits