Commit Graph

8336 Commits

Author SHA1 Message Date
Senthil Kumaran 7f6d4e1926 issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:36:28 +08:00
Senthil Kumaran f5aaf6f025 httplib test for early eof response. related to Issue13684 2012-04-29 10:15:31 +08:00
Vinay Sajip 00086bb7e8 Fixed test to work on Windows. 2012-04-25 10:45:27 +01:00
Vinay Sajip 5820cc0f06 Updated year in docstring/comment. 2012-04-24 23:17:29 +01:00
Vinay Sajip 885f6fd472 Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch. 2012-04-24 23:15:10 +01:00
Lars Gustäbel 231d474a7b Issue #14160: TarFile.extractfile() failed to resolve symbolic links when
the links were not located in an archive subdirectory.
2012-04-24 22:42:08 +02:00
Benjamin Peterson d157a4c3dd don't use a slot wrapper from a different special method (closes #14658)
This also alters the fix to #11603. Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.
2012-04-24 11:06:25 -04:00
R David Murray c313b1d9b0 #14638: pydoc now treats non-str __name__ as None instead of raising
Original patch by Peter Otten.
2012-04-23 13:27:11 -04:00
Benjamin Peterson 19e9beb2db sleep here 2012-04-23 10:08:14 -04:00
Antoine Pitrou 52849bfaa3 Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork(). 2012-04-19 23:55:01 +02:00
Ezio Melotti c45868ec69 #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:08:41 -06:00
Benjamin Peterson 76605557ea SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612) 2012-04-18 11:14:31 -04:00
Charles-François Natali f838764444 Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can
chown() to root under certain circumstances.
2012-04-17 19:46:06 +02:00
Antoine Pitrou 9945a64a8b Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a test failure in test_ssl. 2012-04-16 03:34:44 +02:00
Mark Dickinson 0407e96061 Issue 13496: Fix bisect.bisect overflow bug for large collections. 2012-04-15 16:43:19 +01:00
R David Murray 3f4ccbabaf #14399: zipfile now correctly handles comments added to empty zipfiles.
Patch by Serhiy Storchaka.
2012-04-12 18:42:47 -04:00
Senthil Kumaran 5f7e7345cf Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:23:23 +08:00
Senthil Kumaran fb2e874707 fix the incorrect changes made for PATH_INFO value - Issue10484 2012-04-11 03:07:57 +08:00
Antoine Pitrou b5588c3f94 Fix the patch for issue #7978: select() raises select.error before 3.3, not OSError. 2012-04-09 01:41:34 +02:00
Antoine Pitrou 467a5c4067 Fix flakiness in test_socketserver 2012-04-09 01:15:06 +02:00
Antoine Pitrou fa1d84107a Issue #7978: socketserver now restarts the select() call when EINTR is returned.
This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.
2012-04-09 00:47:24 +02:00
R David Murray 088a874c7f Make test_mailbox runnable via python -m unittest. 2012-04-08 18:34:36 -04:00
Benjamin Peterson b6e21a0725 remove uneeded line 2012-04-02 14:22:50 -04:00
Benjamin Peterson f73813a8bb prevent writing to stderr from messing up the exception state (closes #14474) 2012-04-02 11:15:17 -04:00
Alex Gaynor afa2e470db Added a new crasher that targets mutating the underlying storage of a buffer. All work done by Armin Rigo. 2012-03-30 08:45:25 -04:00
Giampaolo Rodola' ea605cd152 attempt to fix asyncore buildbot failure 2012-03-23 15:04:27 +01:00
Giampaolo Rodola' 96cb5d15c1 fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. 2012-03-22 16:06:43 +01:00
Benjamin Peterson eff19a13ed check by equality for __future__ not identity (closes #14378) 2012-03-22 08:19:04 -04:00
R David Murray 5c2689a00c #14333: fix test_queue so it can be run via standard unittest test discovery. 2012-03-17 16:44:16 -04:00
Benjamin Peterson dbc52f8a0d check for string attribute names in old-style classes (closes #14334) 2012-03-16 10:58:46 -05:00
Benjamin Peterson 6e7832b04c check to make sure the attribute is a string (#14334) 2012-03-16 09:32:59 -05:00
Senthil Kumaran 51a65c9161 2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem 2012-03-16 01:07:16 -07:00
Senthil Kumaran d17a898fcf Fix closes Issue14281 - Test for cgi.escape by Brian Landers 2012-03-13 01:48:41 -07:00
Ezio Melotti b56b6fff1f #14179: add tests for re.compile. Patch by Florian Mladitsch. 2012-03-13 01:25:40 +02:00
Ezio Melotti b60156e809 #14161: fix test failures on Windows. 2012-03-12 02:09:02 +02:00
Ezio Melotti 11f8b6872a #14161: fix the __repr__ of file objects to escape the file name. 2012-03-12 01:17:02 +02:00
Antoine Pitrou f60845b70a Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:29:12 +01:00
Jason R. Coombs e107ab3b6c Moved symlink support into its own module. Ported can_symlink from Python 3.2, skipping symlink test when it cannot be invoked (such as when the symlink privilege is not present). 2012-03-08 18:28:08 -05:00
Jason R. Coombs ea4629afa6 Improve the test case to avoid spurious errors about already existing symlinks. 2012-03-08 10:31:29 -05:00
Jason R. Coombs 4a24283272 Adding regression test for issue6727 2012-01-15 11:45:27 -05:00
Benjamin Peterson a8d458560e allow cycles throught the __dict__ slot to be cleared (closes #1469629)
Patch from Armin, test from me.
2012-03-07 18:41:11 -06:00
Vinay Sajip da563bfa48 Closes #14158: We now track test_support.TESTFN cleanup, and test_mailbox uses shutil.rmtree for simpler code. 2012-03-06 20:07:15 +00:00
Meador Inge 104f18977f Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:02:17 -06:00
Antoine Pitrou 94c2d6df54 Fix some set algebra methods of WeakSet objects. 2012-03-04 20:47:05 +01:00
Armin Rigo 1cb2e04238 Add a crasher for the documented issue of calling "Py_DECREF(self->xxx)"; 2012-03-04 18:56:23 +01:00
Antoine Pitrou c56bca31e9 Issue #14159: Fix the len() of weak sets to return a better approximation when some objects are dead or dying.
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.
2012-03-01 16:26:35 +01:00
Ezio Melotti ca666245e7 #14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk. 2012-02-29 14:04:02 +02:00
Ezio Melotti 38ae5b2392 #10713: Improve documentation for \b and \B and add a few tests. Initial patch and tests by Martin Pool. 2012-02-29 11:40:00 +02:00
Nadeem Vawda a6bdfd1fa9 Give better failure messages in test_strptime (cf. issue #14113). 2012-02-29 00:21:40 +02:00
Antoine Pitrou 6a1cd1b3b1 Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip Gruszczyński.
2012-02-27 00:45:12 +01:00