Raymond Hettinger
5b0c1e07ca
Issue 7846: fnmatch cache can grow without bound
...
Updated to solution to use the functools.lru_cache().
Restores the API so that purge() is not needed
(because the cache never gets big).
2010-08-09 02:07:15 +00:00
Antoine Pitrou
e43f9d0ed6
Issue #8524 : Add a forget() method to socket objects, so as to put the
...
socket into the closed state without closing the underlying file
descriptor.
2010-08-08 23:24:50 +00:00
Florent Xicluna
ba8a98600e
Fix xml.etree.ElementInclude to include the tail of the current node. Issue #6231
2010-08-08 23:08:41 +00:00
Florent Xicluna
14bd1c3b2e
Fix BytesWarning in test_xml_etree, introduced with r83851.
2010-08-08 22:58:56 +00:00
Victor Stinner
d62e6cabca
Issue #9425 : file system encoding is not always utf-8
...
Fix a regression introduced in test_sys by r83778.
2010-08-08 22:31:44 +00:00
Antoine Pitrou
696e03553b
Issue #477863 : Print a warning at shutdown if gc.garbage is not empty.
2010-08-08 22:18:46 +00:00
Florent Xicluna
c17f17294f
Issue #8047 : Fix the xml.etree serializer to return bytes by default.
...
Use ``encoding="unicode"`` to generate a Unicode string.
2010-08-08 19:48:29 +00:00
Benjamin Peterson
a0baf55b2b
revert r83831, unix test breakage
2010-08-08 19:17:15 +00:00
Benjamin Peterson
718f222372
revert 83832; unix test breakage
2010-08-08 19:14:28 +00:00
Benjamin Peterson
1a0a737b13
revert r83830, breaks tests on unixes
2010-08-08 19:08:44 +00:00
Florent Xicluna
39d795d8c1
Issue #7564 : Skip test_ioctl if another process is attached to /dev/tty.
2010-08-08 18:06:13 +00:00
Mark Dickinson
93d768d632
Remove unused import.
2010-08-08 17:12:46 +00:00
Florent Xicluna
37d3d9aa96
Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608 .
2010-08-08 16:25:27 +00:00
Tim Golden
6fe8c41e8f
Issue #2304 : Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina
2010-08-08 16:18:45 +00:00
Tim Golden
818afb55c9
Issue #2304 : Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina
2010-08-08 16:18:18 +00:00
Tim Golden
e3f76168a9
Issue #2304 : Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina
2010-08-08 16:17:48 +00:00
Florent Xicluna
419e384601
Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments.
2010-08-08 16:16:07 +00:00
Senthil Kumaran
b4ec7ee486
Merged revisions 83818 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83818 | senthil.kumaran | 2010-08-08 16:57:53 +0530 (Sun, 08 Aug 2010) | 4 lines
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
........
2010-08-08 11:43:45 +00:00
Senthil Kumaran
4c88db77a0
Merged revisions 83818 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83818 | senthil.kumaran | 2010-08-08 16:57:53 +0530 (Sun, 08 Aug 2010) | 4 lines
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
........
2010-08-08 11:30:58 +00:00
Senthil Kumaran
d95cc75483
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
...
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
2010-08-08 11:27:53 +00:00
Raymond Hettinger
d331ce9e66
Issue #9507 : Named tuple repr will now automatically display the right
...
name in a tuple subclass.
2010-08-08 01:13:42 +00:00
Raymond Hettinger
c6d80c1bef
Issue 8814: functools.wraps() did not copy __annotations__.
2010-08-08 00:56:52 +00:00
Mark Dickinson
2866933cd6
Merged revisions 83780 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83780 | mark.dickinson | 2010-08-07 13:33:36 +0100 (Sat, 07 Aug 2010) | 1 line
Issue #8433 : Fix test_curses failure for platforms with recent versions of ncurses.
........
2010-08-07 13:07:11 +00:00
Mark Dickinson
998308b75a
Merged revisions 83780 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83780 | mark.dickinson | 2010-08-07 13:33:36 +0100 (Sat, 07 Aug 2010) | 1 line
Issue #8433 : Fix test_curses failure for platforms with recent versions of ncurses.
........
2010-08-07 13:05:49 +00:00
Mark Dickinson
af43e9a288
Issue #8433 : Fix test_curses failure for platforms with recent versions of ncurses.
2010-08-07 12:33:36 +00:00
Victor Stinner
6c6f851eae
Issue #9425 : skip tests if a filename is not encodable
2010-08-07 10:09:35 +00:00
Brian Curtin
9d310d3581
Merged revisions 83771 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83771 | brian.curtin | 2010-08-06 22:47:21 -0500 (Fri, 06 Aug 2010) | 3 lines
Fix an assertRaises situation and typo. Also pass all tests to run_unittest
rather than do it by platform -- the proper skips are in place already.
........
2010-08-07 03:56:16 +00:00
Brian Curtin
80cd4bff53
Merged revisions 83771 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83771 | brian.curtin | 2010-08-06 22:47:21 -0500 (Fri, 06 Aug 2010) | 3 lines
Fix an assertRaises situation and typo. Also pass all tests to run_unittest
rather than do it by platform -- the proper skips are in place already.
........
2010-08-07 03:52:38 +00:00
Brian Curtin
42143562c2
Fix an assertRaises situation and typo. Also pass all tests to run_unittest
...
rather than do it by platform -- the proper skips are in place already.
2010-08-07 03:47:21 +00:00
Mark Dickinson
27e19a21b1
Merge of r83763 introduced 'support' into test_signal; should be 'test_support'
2010-08-06 21:49:50 +00:00
Brian Curtin
24af0e9656
Merged revisions 83763 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83763 | brian.curtin | 2010-08-06 14:27:32 -0500 (Fri, 06 Aug 2010) | 3 lines
Fix #9324 : Add parameter validation to signal.signal on Windows in order
to prevent crashes.
........
2010-08-06 19:41:01 +00:00
Brian Curtin
3f004b1cc0
Merged revisions 83763 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83763 | brian.curtin | 2010-08-06 14:27:32 -0500 (Fri, 06 Aug 2010) | 3 lines
Fix #9324 : Add parameter validation to signal.signal on Windows in order
to prevent crashes.
........
2010-08-06 19:34:52 +00:00
Brian Curtin
ef9efbd69c
Fix #9324 : Add parameter validation to signal.signal on Windows in order
...
to prevent crashes.
2010-08-06 19:27:32 +00:00
Tim Golden
40b3744efa
Issue #3210 : Ensure stdio handles are closed if CreateProcess fails
2010-08-06 13:20:12 +00:00
Tim Golden
90374f5102
Issue #3210 : Ensure stdio handles are closed if CreateProcess fails
2010-08-06 13:14:33 +00:00
Tim Golden
af5ac3974b
Issue #3210 : Ensure stdio handles are closed if CreateProcess fails
2010-08-06 13:03:56 +00:00
Antoine Pitrou
969fbe3d91
Don't crash when the _ssl module isn't built
2010-08-05 01:30:23 +00:00
Mark Dickinson
388122d43b
Issue #9337 : Make float.__str__ identical to float.__repr__.
...
(And similarly for complex numbers.)
2010-08-04 20:56:28 +00:00
Antoine Pitrou
560f7647ce
Issue #8814 : function annotations (the __annotations__ attribute)
...
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper. Patch by Terrence Cole.
2010-08-04 18:28:02 +00:00
Antoine Pitrou
d75efd9c56
Merged revisions 83727 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83727 | antoine.pitrou | 2010-08-04 19:14:06 +0200 (mer., 04 août 2010) | 3 lines
Try to fix issue #9415 : skip some tests on broken Ubuntu OpenSSL
........
2010-08-04 17:38:33 +00:00
Antoine Pitrou
23df483cb6
Try to fix issue #9415 : skip some tests on broken Ubuntu OpenSSL
2010-08-04 17:14:06 +00:00
Antoine Pitrou
15cee6209f
In verbose mode, identify OpenSSL build and platform more precisely
2010-08-04 16:45:21 +00:00
Antoine Pitrou
185fae73c6
Merged revisions 83719 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83719 | antoine.pitrou | 2010-08-04 17:43:16 +0200 (mer., 04 août 2010) | 4 lines
Issue #9496 : Provide a test suite for the rlcompleter module. Patch by
Michele Orrù.
........
2010-08-04 15:54:33 +00:00
Antoine Pitrou
8661cbe9d1
Merged revisions 83719 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83719 | antoine.pitrou | 2010-08-04 17:43:16 +0200 (mer., 04 août 2010) | 4 lines
Issue #9496 : Provide a test suite for the rlcompleter module. Patch by
Michele Orrù.
........
2010-08-04 15:48:41 +00:00
Antoine Pitrou
482e66a58a
Issue #9496 : Provide a test suite for the rlcompleter module. Patch by
...
Michele Orrù.
2010-08-04 15:43:16 +00:00
Richard Jones
6a9e6bbf1a
fix test_smtplib/test_smtpd collision through pre-loaded reply data in mock_socket
2010-08-04 12:27:36 +00:00
Antoine Pitrou
62f68ed31f
Factor out stripping of interpreter debug output in test.support.strip_python_stderr()
2010-08-04 11:48:56 +00:00
Giampaolo Rodolà
f96482e91a
as per discussion with antoine revert changes made in 83708 as the user useing ftplib's readline methods is supposed to always use a binary file
2010-08-04 10:36:18 +00:00
Giampaolo Rodolà
b939235c6a
fix issue #6822 : ftplib's storline method doesn't work with text files
2010-08-04 10:12:00 +00:00
Giampaolo Rodolà
b5c23761d3
issue #8687 : provides a test suite for sched.py module
2010-08-04 09:28:05 +00:00