Commit graph

47866 commits

Author SHA1 Message Date
Benjamin Peterson
d5df36d378 fix resource warnings in test_sax #10269 2010-10-31 18:23:23 +00:00
Benjamin Peterson
a807137c39 wrap some things in with blocks 2010-10-31 18:21:16 +00:00
Benjamin Peterson
af577cbb71 Merged revisions 86051 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86051 | benjamin.peterson | 2010-10-31 13:13:04 -0500 (Sun, 31 Oct 2010) | 1 line

  more fun with string exceptions
........
2010-10-31 18:15:00 +00:00
Benjamin Peterson
2d8c917f30 more fun with string exceptions 2010-10-31 18:13:04 +00:00
Benjamin Peterson
959516615c string exceptions; how quaint 2010-10-31 17:59:20 +00:00
Raymond Hettinger
189316a2e3 Issue 10110: Let Queue.put recognize a full queue when the maxsize parameter has been reduced. 2010-10-31 17:57:52 +00:00
Benjamin Peterson
d285bdb443 start banging on zipfile's file leakiness 2010-10-31 17:57:22 +00:00
Benjamin Peterson
d6868b4ed4 fix leaking sockets 2010-10-31 17:34:34 +00:00
Benjamin Peterson
d094efd8b7 cleanup resources in test_smtplib #10264 2010-10-31 17:15:42 +00:00
Benjamin Peterson
076ed00003 add --enable-loadable-sqlite-extensions #10268 2010-10-31 17:11:02 +00:00
Benjamin Peterson
bdf5effc6c add 'no' output to --with-system-ffi 2010-10-31 16:55:05 +00:00
Benjamin Peterson
79263252b1 add no output to with-system-ffi and with-system-expat 2010-10-31 16:50:44 +00:00
Benjamin Peterson
c73206c1e1 typo 2010-10-31 16:38:19 +00:00
Antoine Pitrou
b805ee5fcf Merged revisions 86037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86037 | antoine.pitrou | 2010-10-31 17:04:14 +0100 (dim., 31 oct. 2010) | 4 lines

  Issue #10266: uu.decode didn't close in_file explicitly when it was given
  as a filename.  Patch by Brian Brazil.
........
2010-10-31 16:06:55 +00:00
Antoine Pitrou
f569826f06 Issue #10266: uu.decode didn't close in_file explicitly when it was given
as a filename.  Patch by Brian Brazil.
2010-10-31 16:04:14 +00:00
Antoine Pitrou
e974571d36 Issue #10160: Speed up operator.attrgetter. Patch by Christos Georgiou. 2010-10-31 15:26:04 +00:00
Vinay Sajip
65b4af34d7 Updated NEWS about logging.basicConfig(). 2010-10-31 15:11:43 +00:00
Vinay Sajip
c5b273011b Added style argument to logging.basicConfig() and documented this change. 2010-10-31 14:59:16 +00:00
Antoine Pitrou
27683c954b Merged revisions 85893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85893 | georg.brandl | 2010-10-28 16:55:02 +0200 (jeu., 28 oct. 2010) | 1 line

  #10116: wrap transient_internet() around net access in test_urllib2net.
........
2010-10-31 13:52:53 +00:00
Antoine Pitrou
a4f1afa640 Merged revisions 85935-85936 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85935 | antoine.pitrou | 2010-10-29 21:34:45 +0200 (ven., 29 oct. 2010) | 4 lines

  Make a GC run before trying to clean up files left over by
  the latest test run.
........
  r85936 | antoine.pitrou | 2010-10-29 21:36:37 +0200 (ven., 29 oct. 2010) | 3 lines

  Fix typo
........
2010-10-31 13:15:20 +00:00
Antoine Pitrou
e305425b86 Merged revisions 85975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85975 | antoine.pitrou | 2010-10-30 15:03:56 +0200 (sam., 30 oct. 2010) | 4 lines

  Issue #10246: uu.encode didn't close file objects explicitly when filenames
  were given to it.  Patch by Brian Brazil.
........
2010-10-31 13:07:00 +00:00
Antoine Pitrou
735e3b195a Merged revisions 85982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85982 | antoine.pitrou | 2010-10-30 18:19:14 +0200 (sam., 30 oct. 2010) | 4 lines

  Issue #10253: FileIO leaks a file descriptor when trying to open a file
  for append that isn't seekable.  Patch by Brian Brazil.
........
2010-10-31 13:05:21 +00:00
Antoine Pitrou
64474542eb PY_CFLAGS doesn't exist under Windows 2010-10-31 11:34:47 +00:00
Raymond Hettinger
b643ef8f8e Issue #5729: json.dumps to support using '\t' as an indent string 2010-10-31 08:00:16 +00:00
Brian Curtin
d9f3f08b8c Merged revisions 86019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86019 | brian.curtin | 2010-10-30 23:40:53 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix a ResourceWarning for an unclosed socket.
........
2010-10-31 04:42:40 +00:00
Brian Curtin
6ff2a7d121 Fix a ResourceWarning for an unclosed socket. 2010-10-31 04:40:53 +00:00
Kristján Valur Jónsson
f53a626073 issue 10237
After increasing the default timeout for the barrier, the unittest for the default timeout must be adjusted
2010-10-31 03:00:57 +00:00
Benjamin Peterson
cc221b2411 close some more files 2010-10-31 02:06:21 +00:00
Benjamin Peterson
5dc8fabb01 context managerify 2010-10-31 01:44:49 +00:00
Benjamin Peterson
aa7cec0ac4 close file properly 2010-10-31 01:35:53 +00:00
Benjamin Peterson
556c7355dd use addCleanup 2010-10-31 01:35:43 +00:00
Benjamin Peterson
ebe5d8ae3b patch up leaking fds 2010-10-31 01:30:11 +00:00
Benjamin Peterson
d8fc2e1aeb this test manages the fds itself 2010-10-31 01:19:53 +00:00
Brian Curtin
0343d8f4f1 Merged revisions 86009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86009 | brian.curtin | 2010-10-30 20:10:58 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix ResourceWarning for unclosed files (from os.popen)
........
2010-10-31 01:15:00 +00:00
Brian Curtin
bf0757137f Fix ResourceWarning for unclosed files (from os.popen) 2010-10-31 01:10:58 +00:00
Alexander Belopolsky
a9615d14de Issues #7061, #10225: Fixed doctests in turtle manual 2010-10-31 00:51:11 +00:00
Brian Curtin
61d0d60e13 Fix ResourceWarning for an unclosed socket.
test_return_header_keep_alive - Added a cleanup call for the socket.
2010-10-31 00:34:23 +00:00
Brian Curtin
a813a638ef Merged revisions 86003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86003 | brian.curtin | 2010-10-30 19:03:45 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix ResourceWarning. Use context manager to properly close file.
........
2010-10-31 00:05:24 +00:00
Brian Curtin
076623bf0a Fix ResourceWarning. Use context manager to properly close file. 2010-10-31 00:03:45 +00:00
Brian Curtin
46805e9102 Merged revisions 86000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86000 | brian.curtin | 2010-10-30 18:56:45 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix ResourceWarning about unclosed file
........
2010-10-30 23:58:50 +00:00
Brian Curtin
3ddcaafbbf Fix ResourceWarning about unclosed file 2010-10-30 23:56:45 +00:00
Benjamin Peterson
b2fda23922 close files correctly 2010-10-30 23:51:34 +00:00
Benjamin Peterson
bbb0412ad1 if FileIO.__init__ fails, close fd 2010-10-30 23:16:28 +00:00
Benjamin Peterson
430d469758 fix style 2010-10-30 23:13:57 +00:00
Benjamin Peterson
e048797991 close open file from find_module() 2010-10-30 23:06:57 +00:00
Benjamin Peterson
1c87e2943a condense 2010-10-30 23:04:49 +00:00
Benjamin Peterson
0bbf9c99d6 kill pointless function imports 2010-10-30 23:01:58 +00:00
Benjamin Peterson
1a7127f6df remove useless assignment 2010-10-30 23:00:54 +00:00
Benjamin Peterson
807a5a1652 close files properly 2010-10-30 22:59:37 +00:00
Brian Curtin
a0ba0f38df Merged revisions 85990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85990 | brian.curtin | 2010-10-30 16:35:28 -0500 (Sat, 30 Oct 2010) | 2 lines

  Fix #10258 - clean up resource warning
........
2010-10-30 21:37:28 +00:00