]> granicus.if.org Git - python/log
python
12 years agoMerge #16811: Fix folding of headers with no value in provisional policies.
R David Murray [Mon, 4 Feb 2013 20:25:06 +0000 (15:25 -0500)]
Merge #16811: Fix folding of headers with no value in provisional policies.

12 years ago#16811: Fix folding of headers with no value in provisional policies.
R David Murray [Mon, 4 Feb 2013 20:22:53 +0000 (15:22 -0500)]
#16811: Fix folding of headers with no value in provisional policies.

12 years agoIssue #17089: Expat parser now correctly works with string input not only when
Serhiy Storchaka [Mon, 4 Feb 2013 16:29:47 +0000 (18:29 +0200)]
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.

12 years agoIssue #17089: Expat parser now correctly works with string input not only when
Serhiy Storchaka [Mon, 4 Feb 2013 16:28:01 +0000 (18:28 +0200)]
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.

12 years agoIssue #17089: Expat parser now correctly works with string input not only when
Serhiy Storchaka [Mon, 4 Feb 2013 16:26:15 +0000 (18:26 +0200)]
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.

12 years agomerge #17091: update docstring for _thread.Lock.acquire.
R David Murray [Mon, 4 Feb 2013 15:25:51 +0000 (10:25 -0500)]
merge #17091: update docstring for _thread.Lock.acquire.

12 years agomerge #17091: update docstring for _thread.Lock.acquire.
R David Murray [Mon, 4 Feb 2013 15:22:39 +0000 (10:22 -0500)]
merge #17091: update docstring for _thread.Lock.acquire.

12 years ago#17091: update docstring for _thread.Lock.acquire.
R David Murray [Mon, 4 Feb 2013 15:15:58 +0000 (10:15 -0500)]
#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.

12 years agoNull merge
Serhiy Storchaka [Mon, 4 Feb 2013 14:57:18 +0000 (16:57 +0200)]
Null merge

12 years agoNull merge
Serhiy Storchaka [Mon, 4 Feb 2013 14:56:23 +0000 (16:56 +0200)]
Null merge

12 years agoFix test_tools hangs on Windows. Patch by Jeremy Kloth.
Serhiy Storchaka [Mon, 4 Feb 2013 14:55:59 +0000 (16:55 +0200)]
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.

12 years agoNull merge
Serhiy Storchaka [Mon, 4 Feb 2013 14:50:33 +0000 (16:50 +0200)]
Null merge

12 years agoNull merge
Serhiy Storchaka [Mon, 4 Feb 2013 14:50:05 +0000 (16:50 +0200)]
Null merge

12 years agoIssue #16903: Popen.communicate() on Unix now accepts strings when
Serhiy Storchaka [Mon, 4 Feb 2013 14:47:39 +0000 (16:47 +0200)]
Issue #16903: Popen.communicate() on Unix now accepts strings when
universal_newlines is true as on Windows.

12 years agoDo not raise self.skipTest().
Serhiy Storchaka [Mon, 4 Feb 2013 13:46:18 +0000 (15:46 +0200)]
Do not raise self.skipTest().
skipTest() already raises an exception.

12 years agoDo not raise self.skipTest().
Serhiy Storchaka [Mon, 4 Feb 2013 13:45:58 +0000 (15:45 +0200)]
Do not raise self.skipTest().
skipTest() already raises an exception.

12 years agoDo not raise self.skipTest().
Serhiy Storchaka [Mon, 4 Feb 2013 13:45:00 +0000 (15:45 +0200)]
Do not raise self.skipTest().
skipTest() already raises an exception.

12 years agoTemporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 13:20:16 +0000 (15:20 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.

12 years agoTemporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 13:19:59 +0000 (15:19 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.

12 years agoTemporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 13:19:37 +0000 (15:19 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.

12 years agoIssue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
Serhiy Storchaka [Mon, 4 Feb 2013 10:57:16 +0000 (12:57 +0200)]
Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.

12 years agoIssue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
Serhiy Storchaka [Mon, 4 Feb 2013 10:54:04 +0000 (12:54 +0200)]
Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.

12 years agoIssue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
Serhiy Storchaka [Mon, 4 Feb 2013 10:47:24 +0000 (12:47 +0200)]
Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.

12 years agoMinor edits: Tighten-up the halflen logic and touch-up the assertions and comments.
Raymond Hettinger [Mon, 4 Feb 2013 05:08:12 +0000 (00:08 -0500)]
Minor edits:  Tighten-up the halflen logic and touch-up the assertions and comments.

12 years agomerge 3.3 (#5289)
Benjamin Peterson [Mon, 4 Feb 2013 00:26:51 +0000 (19:26 -0500)]
merge 3.3 (#5289)

12 years agofix find_library on Solaris (closes #5289)
Benjamin Peterson [Mon, 4 Feb 2013 00:25:11 +0000 (19:25 -0500)]
fix find_library on Solaris (closes #5289)

12 years agomerge w/ 3.3
Brett Cannon [Sun, 3 Feb 2013 21:16:44 +0000 (16:16 -0500)]
merge w/ 3.3

12 years agoWay too many places create modules temporarily that never set
Brett Cannon [Sun, 3 Feb 2013 21:16:07 +0000 (16:16 -0500)]
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).

12 years agonull merge
Gregory P. Smith [Sun, 3 Feb 2013 18:58:59 +0000 (10:58 -0800)]
null merge

12 years agonull merge
Gregory P. Smith [Sun, 3 Feb 2013 18:58:40 +0000 (10:58 -0800)]
null merge

12 years agomerge
Brett Cannon [Sun, 3 Feb 2013 16:39:35 +0000 (11:39 -0500)]
merge

12 years agomerge
Brett Cannon [Sun, 3 Feb 2013 16:39:02 +0000 (11:39 -0500)]
merge

12 years agomerge
Brett Cannon [Sun, 3 Feb 2013 16:38:38 +0000 (11:38 -0500)]
merge

12 years agomerge
Brett Cannon [Sun, 3 Feb 2013 16:38:16 +0000 (11:38 -0500)]
merge

12 years agopyexpat/xml.parsers.expat create their errors and model modules from
Brett Cannon [Sun, 3 Feb 2013 16:37:13 +0000 (11:37 -0500)]
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.

12 years agoIssue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
Serhiy Storchaka [Sun, 3 Feb 2013 15:09:17 +0000 (17:09 +0200)]
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).

12 years agoIssue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
Serhiy Storchaka [Sun, 3 Feb 2013 15:07:32 +0000 (17:07 +0200)]
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).

12 years agoIssue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
Serhiy Storchaka [Sun, 3 Feb 2013 15:03:31 +0000 (17:03 +0200)]
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).

12 years agomerge with 3.3
Georg Brandl [Sun, 3 Feb 2013 13:00:38 +0000 (14:00 +0100)]
merge with 3.3

12 years ago#17109: fix headings in mock example doc.
Georg Brandl [Sun, 3 Feb 2013 13:00:04 +0000 (14:00 +0100)]
#17109: fix headings in mock example doc.

12 years agomerge with 3.3
Georg Brandl [Sun, 3 Feb 2013 10:48:44 +0000 (11:48 +0100)]
merge with 3.3

12 years agoCloses #17109: fix heading levels in mock doc.
Georg Brandl [Sun, 3 Feb 2013 10:47:49 +0000 (11:47 +0100)]
Closes #17109: fix heading levels in mock doc.

12 years agoRefactor recently added bugfix into more testable code by using a
Gregory P. Smith [Sun, 3 Feb 2013 08:37:36 +0000 (00:37 -0800)]
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.

12 years agoRefactor recently added bugfix into more testable code by using a
Gregory P. Smith [Sun, 3 Feb 2013 08:36:32 +0000 (00:36 -0800)]
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.

12 years agoIssue #17015: When it has a spec, a Mock object now inspects its signature when match...
Antoine Pitrou [Sat, 2 Feb 2013 23:23:58 +0000 (00:23 +0100)]
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.

12 years agoIssue #16698: merge from 3.3
Ned Deily [Sat, 2 Feb 2013 23:13:45 +0000 (15:13 -0800)]
Issue #16698: merge from 3.3

12 years agoIssue #16698: merge from 3.2
Ned Deily [Sat, 2 Feb 2013 23:12:59 +0000 (15:12 -0800)]
Issue #16698: merge from 3.2

12 years agoIssue #16698: Skip posix test_getgroups when built with OS X
Ned Deily [Sat, 2 Feb 2013 23:08:52 +0000 (15:08 -0800)]
Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.

12 years agoNull merge
Antoine Pitrou [Sat, 2 Feb 2013 22:10:02 +0000 (23:10 +0100)]
Null merge

12 years agoNull merge
Antoine Pitrou [Sat, 2 Feb 2013 22:09:49 +0000 (23:09 +0100)]
Null merge

12 years agoSimplify code in HTTPResponse.read()
Antoine Pitrou [Sat, 2 Feb 2013 22:08:51 +0000 (23:08 +0100)]
Simplify code in HTTPResponse.read()

12 years agoIssue #15633: httplib.HTTPResponse is now mark closed when the server sends less...
Antoine Pitrou [Sat, 2 Feb 2013 22:06:22 +0000 (23:06 +0100)]
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.

12 years agoIssue #15633: httplib.HTTPResponse is now mark closed when the server sends less...
Antoine Pitrou [Sat, 2 Feb 2013 22:04:56 +0000 (23:04 +0100)]
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.

12 years agoIssue #15633: httplib.HTTPResponse is now mark closed when the server sends less...
Antoine Pitrou [Sat, 2 Feb 2013 21:49:34 +0000 (22:49 +0100)]
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.

12 years agoIssue 16398: One more assertion for good measure.
Raymond Hettinger [Sat, 2 Feb 2013 20:26:37 +0000 (12:26 -0800)]
Issue 16398: One more assertion for good measure.

12 years agoBack out fix for issue #13886; it introduced a new bug in interactive readline use.
Nadeem Vawda [Sat, 2 Feb 2013 19:29:39 +0000 (20:29 +0100)]
Back out fix for issue #13886; it introduced a new bug in interactive readline use.

12 years agoBack out fix for issue #13886; it introduced a new bug in interactive readline use.
Nadeem Vawda [Sat, 2 Feb 2013 19:25:19 +0000 (20:25 +0100)]
Back out fix for issue #13886; it introduced a new bug in interactive readline use.

12 years agoIssue 16398: Add assertions to show why memcmp is safe.
Raymond Hettinger [Sat, 2 Feb 2013 19:24:43 +0000 (11:24 -0800)]
Issue 16398:  Add assertions to show why memcmp is safe.

12 years agoBack out fix for issue #13886; it introduced a new bug in interactive readline use.
Nadeem Vawda [Sat, 2 Feb 2013 19:05:11 +0000 (20:05 +0100)]
Back out fix for issue #13886; it introduced a new bug in interactive readline use.

12 years agoIssue 16398: Use memcpy() in deque.rotate().
Raymond Hettinger [Sat, 2 Feb 2013 17:56:08 +0000 (09:56 -0800)]
Issue 16398: Use memcpy() in deque.rotate().

12 years agoFix the test for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 17:52:45 +0000 (19:52 +0200)]
Fix the test for issue #6972.
Remove trailing dots on Windows.

12 years agoFix the test for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 17:51:37 +0000 (19:51 +0200)]
Fix the test for issue #6972.
Remove trailing dots on Windows.

12 years agoFix the test for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 17:50:59 +0000 (19:50 +0200)]
Fix the test for issue #6972.
Remove trailing dots on Windows.

12 years agoIssue #17034: Use Py_CLEAR() in bytesobject.c.
Serhiy Storchaka [Sat, 2 Feb 2013 16:46:19 +0000 (18:46 +0200)]
Issue #17034: Use Py_CLEAR() in bytesobject.c.

12 years agoIssue #17034: Use Py_CLEAR() in bytesobject.c.
Serhiy Storchaka [Sat, 2 Feb 2013 16:45:54 +0000 (18:45 +0200)]
Issue #17034: Use Py_CLEAR() in bytesobject.c.

12 years agoIssue #17034: Use Py_CLEAR() in bytesobject.c.
Serhiy Storchaka [Sat, 2 Feb 2013 16:45:22 +0000 (18:45 +0200)]
Issue #17034: Use Py_CLEAR() in bytesobject.c.

12 years agoFix a Cyrillic "C" inroduced into the docs by patch for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 11:28:42 +0000 (13:28 +0200)]
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972.

12 years agoFix a Cyrillic "C" inroduced into the docs by patch for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 11:28:05 +0000 (13:28 +0200)]
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972.

12 years agoFix a Cyrillic "C" inroduced into the docs by patch for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 11:27:30 +0000 (13:27 +0200)]
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972.

12 years agoFix tests for issue #11159.
Serhiy Storchaka [Sat, 2 Feb 2013 10:17:50 +0000 (12:17 +0200)]
Fix tests for issue #11159.

12 years agoFix tests for issue #11159.
Serhiy Storchaka [Sat, 2 Feb 2013 10:17:30 +0000 (12:17 +0200)]
Fix tests for issue #11159.

12 years agoFix tests for issue #11159.
Serhiy Storchaka [Sat, 2 Feb 2013 10:17:05 +0000 (12:17 +0200)]
Fix tests for issue #11159.

12 years agoNull merge
Serhiy Storchaka [Sat, 2 Feb 2013 08:39:14 +0000 (10:39 +0200)]
Null merge

12 years agoNull merge
Serhiy Storchaka [Sat, 2 Feb 2013 08:38:59 +0000 (10:38 +0200)]
Null merge

12 years agoMerge heads
Serhiy Storchaka [Sat, 2 Feb 2013 08:38:25 +0000 (10:38 +0200)]
Merge heads

12 years agoMerge heads
Serhiy Storchaka [Sat, 2 Feb 2013 08:38:06 +0000 (10:38 +0200)]
Merge heads

12 years agoMerge heads
Serhiy Storchaka [Sat, 2 Feb 2013 08:37:36 +0000 (10:37 +0200)]
Merge heads

12 years agoIssue #11159: Add tests for testing SAX parser support of non-ascii file names.
Serhiy Storchaka [Sat, 2 Feb 2013 08:32:11 +0000 (10:32 +0200)]
Issue #11159: Add tests for testing SAX parser support of non-ascii file names.

12 years agoIssue #11159: Add tests for testing SAX parser support of non-ascii file names.
Serhiy Storchaka [Sat, 2 Feb 2013 08:31:50 +0000 (10:31 +0200)]
Issue #11159: Add tests for testing SAX parser support of non-ascii file names.

12 years agoIssue #11159: Add tests for testing SAX parser support of non-ascii file names.
Serhiy Storchaka [Sat, 2 Feb 2013 08:31:17 +0000 (10:31 +0200)]
Issue #11159: Add tests for testing SAX parser support of non-ascii file names.

12 years agoIssue #15116: merge from 3.3
Ned Deily [Sat, 2 Feb 2013 08:20:50 +0000 (00:20 -0800)]
Issue #15116: merge from 3.3

12 years agoIssue #15116: merge from 3.2
Ned Deily [Sat, 2 Feb 2013 08:19:05 +0000 (00:19 -0800)]
Issue #15116: merge from 3.2

12 years agoIssue #15116: Remove references to appscript as it is no longer being
Ned Deily [Sat, 2 Feb 2013 08:16:14 +0000 (00:16 -0800)]
Issue #15116: Remove references to appscript as it is no longer being
supported.

12 years agoIssue #15587: merge from 3.3
Ned Deily [Sat, 2 Feb 2013 07:17:34 +0000 (23:17 -0800)]
Issue #15587: merge from 3.3

12 years agoIssue #15587: merge from 3.2
Ned Deily [Sat, 2 Feb 2013 07:15:51 +0000 (23:15 -0800)]
Issue #15587: merge from 3.2

12 years agoIssue #15587: Enable Tk high-resolution text rendering on Macs with
Ned Deily [Sat, 2 Feb 2013 07:12:42 +0000 (23:12 -0800)]
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

12 years agoIn the _hashlib module, only initialize the static data for OpenSSL's
Gregory P. Smith [Sat, 2 Feb 2013 01:07:56 +0000 (17:07 -0800)]
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.

12 years agoIn the _hashlib module, only initialize the static data for OpenSSL's
Gregory P. Smith [Sat, 2 Feb 2013 01:07:39 +0000 (17:07 -0800)]
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.

12 years agoIn the _hashlib module, only initialize the static data for OpenSSL's
Gregory P. Smith [Sat, 2 Feb 2013 01:05:29 +0000 (17:05 -0800)]
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.

12 years agonull merge from 3.3
Gregory P. Smith [Sat, 2 Feb 2013 00:15:45 +0000 (16:15 -0800)]
null merge from 3.3

12 years agonull merge from 3.2 (3.3's code already refactored)
Gregory P. Smith [Sat, 2 Feb 2013 00:15:01 +0000 (16:15 -0800)]
null merge from 3.2 (3.3's code already refactored)

12 years agoSilence a -Wformat-extra-argument warning when compiling.
Gregory P. Smith [Sat, 2 Feb 2013 00:14:00 +0000 (16:14 -0800)]
Silence a -Wformat-extra-argument warning when compiling.

12 years agoIssue #16256: merge from 3.3
Ned Deily [Fri, 1 Feb 2013 22:06:24 +0000 (14:06 -0800)]
Issue #16256: merge from 3.3

12 years agoIssue #16256: merge from 3.2
Ned Deily [Fri, 1 Feb 2013 22:05:26 +0000 (14:05 -0800)]
Issue #16256: merge from 3.2

12 years agoIssue #16256: OS X installer now sets correct permissions for doc directory.
Ned Deily [Fri, 1 Feb 2013 21:59:42 +0000 (13:59 -0800)]
Issue #16256: OS X installer now sets correct permissions for doc directory.

12 years agomerge from 3.3
Brett Cannon [Fri, 1 Feb 2013 21:39:50 +0000 (16:39 -0500)]
merge from 3.3

12 years agomerge
Brett Cannon [Fri, 1 Feb 2013 21:37:07 +0000 (16:37 -0500)]
merge

12 years agomerge
Brett Cannon [Fri, 1 Feb 2013 21:36:49 +0000 (16:36 -0500)]
merge

12 years agoMerge w/ 3.3 more fixes thanks to issue #17098
Brett Cannon [Fri, 1 Feb 2013 21:36:29 +0000 (16:36 -0500)]
Merge w/ 3.3 more fixes thanks to issue #17098

12 years agoAdditional fix for issue #12268: The io module file object write methods no
Gregory P. Smith [Fri, 1 Feb 2013 21:10:33 +0000 (13:10 -0800)]
Additional fix for issue #12268: The io module file object write methods no
longer abort early when a write system call is interrupted (EINTR).