Commit Graph

18346 Commits

Author SHA1 Message Date
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 72c6227df8 merge heads 2012-03-22 08:57:56 -04:00
Benjamin Peterson eff19a13ed check by equality for __future__ not identity (closes #14378) 2012-03-22 08:19:04 -04:00
R David Murray b3f95d7ff1 #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 15:02:30 -04:00
Andrew Svetlov 7c010ee00c #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-21 13:35:08 +02:00
Giampaolo Rodola' 3d3cf48e53 Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr. 2012-03-20 16:46:57 +01: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 4c59211bd5 Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199 2012-03-15 13:24:40 -07:00
Benjamin Peterson f1acd0ab38 merge from 2.7 release branch 2012-03-15 13:01:04 -05:00
Benjamin Peterson ee933eccc9 bump to 2.7.3rc2 2012-03-15 12:25:54 -05:00
Martin v. Löwis f163efd736 Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
2012-03-13 14:46:22 -07:00
Vinay Sajip 71e51d66d6 Merged upstream change. 2012-03-13 12:18:55 +00:00
Vinay Sajip 9790e083a5 Closes #14267: Corrected computation of rollover filename. 2012-03-13 12:06:35 +00: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
Benjamin Peterson 94e5c933ed update pydoc-topics 2012-02-23 15:18:13 -05:00
Benjamin Peterson a2aa2ef313 bump to 2.7.3rc1 2012-02-23 10:52:17 -05:00
Antoine Pitrou 341016e8bf Fix sporadic test_os failure under Windows 2012-02-22 22:16:25 +01:00
Antoine Pitrou 4b670f541c Fix (presumably) test_hash under big-endian systems (PPC). 2012-02-22 03:33:56 +01:00
Antoine Pitrou 93291534b7 Avoid py3k warnings related to sort() of unrelated types. 2012-02-22 00:28:46 +01:00
Antoine Pitrou 0607f731f2 Fix flaky os.urandom test. 2012-02-21 22:02:04 +01:00
Benjamin Peterson e39ccef64c carefully don't depend on any dict order 2012-02-21 09:07:40 -05:00
Benjamin Peterson b6596c516b remove extra zero 2012-02-21 08:08:29 -05:00
Petri Lehtinen 4ab701b2d3 sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
Closes #8033.
2012-02-21 14:04:46 +02:00
Ezio Melotti 36b7361fe7 HTMLParser is now able to handle slashes in the start tag. 2012-02-21 09:22:16 +02:00
Benjamin Peterson c7bbd7be94 don't rely on dict order 2012-02-21 00:15:10 -05:00
Benjamin Peterson c59df7d4e9 a frozenset is better here 2012-02-20 23:13:20 -05:00
Benjamin Peterson 740593416a use set 2012-02-20 23:11:19 -05:00
Benjamin Peterson f093724845 don't rely on dict order 2012-02-20 23:06:22 -05:00
Benjamin Peterson 72949bd511 this was supposed to die 2012-02-20 22:33:33 -05:00
Benjamin Peterson 11fa11bc95 fix test_gdb under hash randomization 2012-02-20 21:55:32 -05:00
Benjamin Peterson 5bc92e0824 don't rely on dict order here 2012-02-20 21:47:54 -05:00
Benjamin Peterson aee9dfba4a merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
Barry Warsaw b19fb2462e Whitespace normalization 2012-02-20 20:44:15 -05:00
Barry Warsaw 1e13eb084f - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05:00
Benjamin Peterson 34b345b888 don't rely on the order of module clearing 2012-02-20 15:20:37 -05:00
Barry Warsaw f5a5beb339 Back port Python 2.7 fix for test_invalid_redirect() in test_urllib.py. 2012-02-20 14:43:22 -05:00
Jesus Cea f5f6af81ac Fix Test for issue #13500 2012-02-19 04:20:45 +01:00
Jesus Cea 6e250998b6 Test for issue #13500 2012-02-19 03:54:08 +01:00
Charles-François Natali e062466480 Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
upon malformed POST request.
2012-02-18 14:30:34 +01:00
Charles-François Natali 66f3cc6f8d Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
upon malformed POST request.
2012-02-18 14:15:38 +01:00
Petri Lehtinen 437b149b0c Fix a variable scoping error in an sqlite3 test
Initial patch by Torsten Landschoff.

Closes #11689.
2012-02-17 21:34:45 +02:00