1. 17 May, 2010 5 commits
  2. 16 May, 2010 10 commits
  3. 15 May, 2010 19 commits
  4. 14 May, 2010 6 commits
    • Victor Stinner's avatar
      Merged revisions 81179 via svnmerge from · c807a613
      Victor Stinner authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r81179 | victor.stinner | 2010-05-14 23:52:26 +0200 (ven., 14 mai 2010) | 2 lines
      
        Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
      ........
      c807a613
    • Victor Stinner's avatar
      posix_listdir(), posix_readlink(): avoid temporary PyBytes object · a45598a0
      Victor Stinner authored
      Use directly PyUnicode_DecodeFSDefaultAndSize() instead of
      PyBytes_FromStringAndSize() + PyUnicode_FromEncodedObject() if the argument is
      unicode.
      a45598a0
    • Victor Stinner's avatar
      Issue #8711: Document PyUnicode_DecodeFSDefault*() functions · 77c38624
      Victor Stinner authored
       * Add paragraph titles to c-api/unicode.rst.
       * Fix PyUnicode_DecodeFSDefault*() comment: it now uses the "surrogateescape"
         error handler (and not "replace")
       * Remove "The function is intended to be used for paths and file names only
         during bootstrapping process where the codecs are not set up." from
         PyUnicode_FSConverter() comment: it is used after the bootstrapping and for
         other purposes than file names
      77c38624
    • Victor Stinner's avatar
      Merged revisions 81163 via svnmerge from · 766ad36d
      Victor Stinner authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines
      
        Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP
      ........
      766ad36d
    • Victor Stinner's avatar
      Issue #4653: fix typo in flush_std_files() · 9467b212
      Victor Stinner authored
      Don't call sys.stderr.flush() if sys has no stderr attribute or if
      sys.stderr==None.
      9467b212
    • Brett Cannon's avatar
      Merged revisions 81154 via svnmerge from · 84df1e6c
      Brett Cannon authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r81154 | brett.cannon | 2010-05-13 17:21:48 -0700 (Thu, 13 May 2010) | 15 lines
      
        subprocess.Popen.__del__ referenced global objects, which is a no-no thanks to
        interpreter shutdown semantics. Same issue goes for the methods that __del__
        called. Now all the methods capture the global objects it needs as default
        values to private parameters (could have stuck them on the class object itself,
        but since the objects have nothing directly to do with the class that seemed
        wrong).
      
        There is no test as making one that works is hard. This patch was
        verified against a consistently failing test in Mercurial's test suite, though,
        so it has been tested in some regard.
      
        Closes issue #5099. Thanks to Mary Stern for the bug report and Gabriel
        Genellina for writing another patch for the same issue and attempting to write
        a test.
      ........
      84df1e6c