Commit graph

77163 commits

Author SHA1 Message Date
Gregory P. Smith
7eca9624be Refactor recently added bugfix into more testable code by using a
method for windows file name sanitization.  Splits the unittest up
into several based on platform.
2013-02-03 00:37:36 -08:00
Gregory P. Smith
09aa752067 Refactor recently added bugfix into more testable code by using a
method for windows file name sanitization.  Splits the unittest up
into several based on platform.
2013-02-03 00:36:32 -08:00
Antoine Pitrou
5c64df70b5 Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name. 2013-02-03 00:23:58 +01:00
Ned Deily
18b30ee88e Issue #16698: merge from 3.3 2013-02-02 15:13:45 -08:00
Ned Deily
6d29628d6b Issue #16698: merge from 3.2 2013-02-02 15:12:59 -08:00
Ned Deily
028915e6ea Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
2013-02-02 15:08:52 -08:00
Antoine Pitrou
2a2a434bd5 Null merge 2013-02-02 23:10:02 +01:00
Antoine Pitrou
12b04cfcca Null merge 2013-02-02 23:09:49 +01:00
Antoine Pitrou
de59565f29 Simplify code in HTTPResponse.read() 2013-02-02 23:08:51 +01:00
Antoine Pitrou
b5032c85af Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length. 2013-02-02 23:06:22 +01:00
Antoine Pitrou
6a35e18161 Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length. 2013-02-02 23:04:56 +01:00
Antoine Pitrou
beec61ae4e Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length. 2013-02-02 22:49:34 +01:00
Raymond Hettinger
3a9ae7fd98 Issue 16398: One more assertion for good measure. 2013-02-02 12:26:37 -08:00
Nadeem Vawda
56265564ff Back out fix for issue #13886; it introduced a new bug in interactive readline use. 2013-02-02 20:29:39 +01:00
Nadeem Vawda
c27bcbf863 Back out fix for issue #13886; it introduced a new bug in interactive readline use. 2013-02-02 20:25:19 +01:00
Raymond Hettinger
231ee4dc9d Issue 16398: Add assertions to show why memcmp is safe. 2013-02-02 11:24:43 -08:00
Nadeem Vawda
6375257188 Back out fix for issue #13886; it introduced a new bug in interactive readline use. 2013-02-02 20:05:11 +01:00
Raymond Hettinger
21777acd68 Issue 16398: Use memcpy() in deque.rotate(). 2013-02-02 09:56:08 -08:00
Serhiy Storchaka
fc23ec62a6 Fix the test for issue #6972.
Remove trailing dots on Windows.
2013-02-02 19:52:45 +02:00
Serhiy Storchaka
672671da47 Fix the test for issue #6972.
Remove trailing dots on Windows.
2013-02-02 19:51:37 +02:00
Serhiy Storchaka
e5e6444497 Fix the test for issue #6972.
Remove trailing dots on Windows.
2013-02-02 19:50:59 +02:00
Serhiy Storchaka
8911ef5b6d Issue #17034: Use Py_CLEAR() in bytesobject.c. 2013-02-02 18:46:19 +02:00
Serhiy Storchaka
d357a3f841 Issue #17034: Use Py_CLEAR() in bytesobject.c. 2013-02-02 18:45:54 +02:00
Serhiy Storchaka
f458a03617 Issue #17034: Use Py_CLEAR() in bytesobject.c. 2013-02-02 18:45:22 +02:00
Serhiy Storchaka
8f59021a10 Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:28:42 +02:00
Serhiy Storchaka
d4198c4234 Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:28:05 +02:00
Serhiy Storchaka
44b8cbfcba Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:27:30 +02:00
Serhiy Storchaka
48fb3c46cf Fix tests for issue #11159. 2013-02-02 12:17:50 +02:00
Serhiy Storchaka
e080a7a5d4 Fix tests for issue #11159. 2013-02-02 12:17:30 +02:00
Serhiy Storchaka
1a4ed4ce18 Fix tests for issue #11159. 2013-02-02 12:17:05 +02:00
Serhiy Storchaka
01f0dacd3c Null merge 2013-02-02 10:39:14 +02:00
Serhiy Storchaka
f22bc64728 Null merge 2013-02-02 10:38:59 +02:00
Serhiy Storchaka
c6d44a399b Merge heads 2013-02-02 10:38:25 +02:00
Serhiy Storchaka
889e1e3e5d Merge heads 2013-02-02 10:38:06 +02:00
Serhiy Storchaka
5a9c1a753f Merge heads 2013-02-02 10:37:36 +02:00
Serhiy Storchaka
765122fcb5 Issue #11159: Add tests for testing SAX parser support of non-ascii file names. 2013-02-02 10:32:11 +02:00
Serhiy Storchaka
efbf40f9e1 Issue #11159: Add tests for testing SAX parser support of non-ascii file names. 2013-02-02 10:31:50 +02:00
Serhiy Storchaka
d52023968a Issue #11159: Add tests for testing SAX parser support of non-ascii file names. 2013-02-02 10:31:17 +02:00
Ned Deily
0dfacb7742 Issue #15116: merge from 3.3 2013-02-02 00:20:50 -08:00
Ned Deily
c2aadc267a Issue #15116: merge from 3.2 2013-02-02 00:19:05 -08:00
Ned Deily
ae8d6ac3f4 Issue #15116: Remove references to appscript as it is no longer being
supported.
2013-02-02 00:16:14 -08:00
Ned Deily
c1eb48a8fd Issue #15587: merge from 3.3 2013-02-01 23:17:34 -08:00
Ned Deily
380f7a186f Issue #15587: merge from 3.2 2013-02-01 23:15:51 -08:00
Ned Deily
9cd864dcbf Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays.  Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
2013-02-01 23:12:42 -08:00
Gregory P. Smith
a5042671c3 In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
2013-02-01 17:07:56 -08:00
Gregory P. Smith
90fa9508a6 In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
2013-02-01 17:07:39 -08:00
Gregory P. Smith
aded2e5e59 In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
2013-02-01 17:05:29 -08:00
Gregory P. Smith
0aadeb8fb9 null merge from 3.3 2013-02-01 16:15:45 -08:00
Gregory P. Smith
b2da96b3bb null merge from 3.2 (3.3's code already refactored) 2013-02-01 16:15:01 -08:00
Gregory P. Smith
ce9e3c3af9 Silence a -Wformat-extra-argument warning when compiling. 2013-02-01 16:14:00 -08:00