1. 02 May, 2008 3 commits
    • Mark Hammond's avatar
      7c5c8e68
    • Gregory P. Smith's avatar
      This should fix issue2632. A long description of the two competing · f8cc6401
      Gregory P. Smith authored
      problems is in the bug report (one old, one recently introduced trying
      to fix the old one).  In short:
      
      buffer data during socket._fileobject.read() and readlines() within a
      cStringIO object instead of a [] of str()s returned from the recv()
      call.
      
      This prevents excessive memory use due to the size parameter being
      passed to recv() being grossly larger than the actual size of the data
      returned *and* prevents excessive cpu usage due to looping in python
      calling recv() with a very tiny size value if min() is used as the
      previous memory-use bug "fix" did.
      
      It also documents what the socket._fileobject._rbufsize member is
      actually used for.
      
      This is a candidate for back porting to 2.5.
      f8cc6401
    • Brett Cannon's avatar
      Fix a backwards-compatibility mistake where a new optional argument for · b457ddaf
      Brett Cannon authored
      warnings.showwarning() was being used. This broke pre-existing replacements for
      the function since they didn't support the extra argument.
      
      Closes issue 2705.
      b457ddaf
  2. 01 May, 2008 1 commit
  3. 30 Apr, 2008 9 commits
  4. 29 Apr, 2008 2 commits
  5. 28 Apr, 2008 8 commits
  6. 27 Apr, 2008 14 commits
  7. 26 Apr, 2008 3 commits