Commit graph

78044 commits

Author SHA1 Message Date
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
28ababcda4 Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows. 2013-02-04 15:19:21 +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
Serhiy Storchaka
a07a8b4f18 Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
2013-02-04 12:45:46 +02:00
Benjamin Peterson
cfe34744e3 fix find_library on Solaris (closes #5289) 2013-02-03 19:25:11 -05:00
Benjamin Peterson
f727c31133 fix find_library on Solaris (closes #5289) 2013-02-03 19:25:11 -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
27aea0ca07 null merge 2013-02-03 10:58:40 -08:00
Éric Araujo
3e081c73b8 Add alias to restore 2.7.2 compatibility for setup scripts (#13994).
The customize_compiler function moved many times during the 2.7 series;
in 2.7.3, setup scripts importing this function from ccompiler were
broken.  This commit restores compatibility without reintroducing the
issue that #13994 originally fixed (duplication of the function).

A unit test makes little sense here, as distutils tests never do imports
in functions, and the fix is very simple.
2013-02-03 11:41:19 -05:00
Brett Cannon
2fb00bb5d3 merge 2013-02-03 11:39:02 -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
354d50ee37 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:10:42 +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
7fc972a2aa #17109: fix headings in mock example doc. 2013-02-03 14:00:04 +01:00
Georg Brandl
fb13438aa5 Closes #17109: fix heading levels in mock doc. 2013-02-03 11:47:49 +01: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
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
Ned Deily
cc23cc672f Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
2013-02-02 15:06:45 -08: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
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
d66c0ee76e 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
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
Nadeem Vawda
1efd9824d8 Back out fix for issue #13886; it introduced a new bug in interactive readline use. 2013-02-02 20:52:54 +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
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
426453282c Issue 16398: Use memcpy() in deque.rotate(). 2013-02-02 10:23:37 -08: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
2a051fa117 Fix test for issue #6972. 2013-02-02 19:25:57 +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
a8d64ae304 Issue #17034: Use Py_CLEAR() in stringobject.c. 2013-02-02 18:43:58 +02:00
Serhiy Storchaka
05fd744122 Preserve backslashes in malicious zip files for testing issue #6972. 2013-02-02 18:34:57 +02:00
Benjamin Peterson
eff492f4b7 Issue #15881: Fixed atexit hook in multiprocessing. 2013-02-02 11:15:50 -05:00
Benjamin Peterson
99b0b72619 merge heads 2013-02-02 11:10:11 -05:00
Serhiy Storchaka
13e56c73b7 Fix the test and remove trailing dots on Windows for issue #6972. 2013-02-02 17:46:33 +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
dc6dc4bc31 Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:27:02 +02:00
Serhiy Storchaka
7c068750b6 Fix translating of illegal characters on Windows (issue #6972). 2013-02-02 12:30:49 +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
23298cb7f5 Fix tests for issue #11159. 2013-02-02 12:16:22 +02:00
Serhiy Storchaka
f22bc64728 Null merge 2013-02-02 10:38:59 +02:00
Serhiy Storchaka
889e1e3e5d Merge heads 2013-02-02 10:38:06 +02:00