Commit Graph

77206 Commits

Author SHA1 Message Date
R David Murray 2c4f6e8693 Merge #16811: Fix folding of headers with no value in provisional policies. 2013-02-04 15:25:06 -05:00
R David Murray 844b0e6971 #16811: Fix folding of headers with no value in provisional policies. 2013-02-04 15:22:53 -05:00
Serhiy Storchaka 88eea543d6 Issue #17089: Expat parser now correctly works with string input not only when
an internal XML encoding is UTF-8 or US-ASCII.  It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:29:47 +02:00
Serhiy Storchaka 36b365ccff Issue #17089: Expat parser now correctly works with string input not only when
an internal XML encoding is UTF-8 or US-ASCII.  It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:28:01 +02:00
Serhiy Storchaka 43536e9e37 Issue #17089: Expat parser now correctly works with string input not only when
an internal XML encoding is UTF-8 or US-ASCII.  It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:26:15 +02:00
R David Murray 811724ce7f merge #17091: update docstring for _thread.Lock.acquire. 2013-02-04 10:25:51 -05:00
R David Murray b7be42b1f9 merge #17091: update docstring for _thread.Lock.acquire. 2013-02-04 10:22:39 -05:00
R David Murray 95b7110a11 #17091: update docstring for _thread.Lock.acquire.
The main docs were fixed to remove mention of None long ago,
but the docstring was not.  Reported by Armin Rigo, patch
by Ian Cordasco.
2013-02-04 10:15:58 -05:00
Serhiy Storchaka 034a3b5221 Null merge 2013-02-04 16:57:18 +02:00
Serhiy Storchaka 8216be0940 Null merge 2013-02-04 16:56:23 +02:00
Serhiy Storchaka db1ba4eeac Fix test_tools hangs on Windows. Patch by Jeremy Kloth. 2013-02-04 16:55:59 +02:00
Serhiy Storchaka 27d044f92d Null merge 2013-02-04 16:50:33 +02:00
Serhiy Storchaka 03c9223933 Null merge 2013-02-04 16:50:05 +02:00
Serhiy Storchaka b3f194d109 Issue #16903: Popen.communicate() on Unix now accepts strings when
universal_newlines is true as on Windows.
2013-02-04 16:47:39 +02:00
Serhiy Storchaka 06f63d094f Do not raise self.skipTest().
skipTest() already raises an exception.
2013-02-04 15:46:18 +02:00
Serhiy Storchaka 8b27f23e02 Do not raise self.skipTest().
skipTest() already raises an exception.
2013-02-04 15:45:58 +02:00
Serhiy Storchaka 0b4591e0eb Do not raise self.skipTest().
skipTest() already raises an exception.
2013-02-04 15:45:00 +02:00
Serhiy Storchaka ac06352c70 Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows. 2013-02-04 15:20:16 +02:00
Serhiy Storchaka 358751e7bd Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows. 2013-02-04 15:19:59 +02:00
Serhiy Storchaka a66b46aad6 Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows. 2013-02-04 15:19:37 +02:00
Serhiy Storchaka b6a53404b7 Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
2013-02-04 12:57:16 +02:00
Serhiy Storchaka 1d0bb9c8f9 Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
2013-02-04 12:54:04 +02:00
Serhiy Storchaka 19c4e0df29 Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
2013-02-04 12:47:24 +02:00
Raymond Hettinger a4409c18eb Minor edits: Tighten-up the halflen logic and touch-up the assertions and comments. 2013-02-04 00:08:12 -05:00
Benjamin Peterson d41e01dfb5 merge 3.3 (#5289) 2013-02-03 19:26:51 -05:00
Benjamin Peterson cfe34744e3 fix find_library on Solaris (closes #5289) 2013-02-03 19:25:11 -05:00
Brett Cannon c0b631c0c4 merge w/ 3.3 2013-02-03 16:16:44 -05:00
Brett Cannon 7a34f02f9e Way too many places create modules temporarily that never set
__loader__ for this test to succeed without a major changes. It also
doesn't test the original issue of modules imported by Py_Initialize()
having __loader__ set (the rest of the test covers that).
2013-02-03 16:16:07 -05:00
Gregory P. Smith 02b9d6ecb4 null merge 2013-02-03 10:58:59 -08:00
Gregory P. Smith 27aea0ca07 null merge 2013-02-03 10:58:40 -08:00
Brett Cannon 8da64dc3ca merge 2013-02-03 11:39:35 -05:00
Brett Cannon 2fb00bb5d3 merge 2013-02-03 11:39:02 -05:00
Brett Cannon 416e54cfe1 merge 2013-02-03 11:38:38 -05:00
Brett Cannon df80914a1e merge 2013-02-03 11:38:16 -05:00
Brett Cannon 9de80ac127 pyexpat/xml.parsers.expat create their errors and model modules from
scratch. This means they do not set __loader__ by default. This is
acceptable under importlib/PEP 302 definitions, so relax the test that
was trying to apply this universally.
2013-02-03 11:37:13 -05:00
Serhiy Storchaka cce1b8eda8 Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:09:17 +02:00
Serhiy Storchaka d03ce4ae3d Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:07:32 +02:00
Serhiy Storchaka 94dc6736bd Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:03:31 +02:00
Georg Brandl cd50108341 merge with 3.3 2013-02-03 14:00:38 +01:00
Georg Brandl 7fc972a2aa #17109: fix headings in mock example doc. 2013-02-03 14:00:04 +01:00
Georg Brandl ecfb963148 merge with 3.3 2013-02-03 11:48:44 +01:00
Georg Brandl fb13438aa5 Closes #17109: fix heading levels in mock doc. 2013-02-03 11:47:49 +01:00
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