]> granicus.if.org Git - python/log
python
12 years agoIssue #16723: httplib.HTTPResponse no longer marked closed when the connection
Serhiy Storchaka [Wed, 6 Feb 2013 08:37:19 +0000 (10:37 +0200)]
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.

12 years agoIssue #16723: httplib.HTTPResponse no longer marked closed when the connection
Serhiy Storchaka [Wed, 6 Feb 2013 08:35:40 +0000 (10:35 +0200)]
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.

12 years agoIssue #16723: httplib.HTTPResponse no longer marked closed when the connection
Serhiy Storchaka [Wed, 6 Feb 2013 08:31:57 +0000 (10:31 +0200)]
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.

12 years agoIssue #17107: Test client-side SNI support in urllib.request thanks to the new server...
Antoine Pitrou [Tue, 5 Feb 2013 20:20:51 +0000 (21:20 +0100)]
Issue #17107: Test client-side SNI support in urllib.request thanks to the new server-side SNI support in the ssl module.
Initial patch by Daniel Black.

12 years agoIssue #17122: Fix and cleanup test_functools.py.
Serhiy Storchaka [Tue, 5 Feb 2013 20:12:59 +0000 (22:12 +0200)]
Issue #17122: Fix and cleanup test_functools.py.

12 years agoIssue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian
Charles-François Natali [Tue, 5 Feb 2013 18:42:01 +0000 (19:42 +0100)]
Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian
Thorne.

12 years agoMerge: #16948: Fix quopri encoding of non-latin1 character sets.
R David Murray [Tue, 5 Feb 2013 16:34:39 +0000 (11:34 -0500)]
Merge: #16948: Fix quopri encoding of non-latin1 character sets.

12 years agoMerge: #16948: Fix quopri encoding of non-latin1 character sets.
R David Murray [Tue, 5 Feb 2013 15:55:27 +0000 (10:55 -0500)]
Merge: #16948: Fix quopri encoding of non-latin1 character sets.

12 years ago#16948: Fix quopri encoding of non-latin1 character sets.
R David Murray [Tue, 5 Feb 2013 15:49:49 +0000 (10:49 -0500)]
#16948: Fix quopri encoding of non-latin1 character sets.

12 years agoMerge: News item for issue #16811 fix.
R David Murray [Tue, 5 Feb 2013 15:18:46 +0000 (10:18 -0500)]
Merge: News item for issue #16811 fix.

12 years agoNews item for issue #16811 fix.
R David Murray [Tue, 5 Feb 2013 15:17:09 +0000 (10:17 -0500)]
News item for issue #16811 fix.

12 years agoremain symbol.main to symbol._main mirroring token.py
Benjamin Peterson [Tue, 5 Feb 2013 15:13:22 +0000 (10:13 -0500)]
remain symbol.main to symbol._main mirroring token.py

12 years agomerge 3.3 (#17132)
Benjamin Peterson [Tue, 5 Feb 2013 15:12:31 +0000 (10:12 -0500)]
merge 3.3 (#17132)

12 years agoupdate symbol.py for yield from grammar changes (closes #17132)
Benjamin Peterson [Tue, 5 Feb 2013 15:12:14 +0000 (10:12 -0500)]
update symbol.py for yield from grammar changes (closes #17132)

12 years agotoken.main is now token._main
Benjamin Peterson [Tue, 5 Feb 2013 15:11:13 +0000 (10:11 -0500)]
token.main is now token._main

12 years ago#17076: Make copying of xattrs more permissive of missing FS support
Hynek Schlawack [Tue, 5 Feb 2013 07:25:24 +0000 (08:25 +0100)]
#17076: Make copying of xattrs more permissive of missing FS support

Patch by Thomas Wouters.

12 years ago#17076: Make copying of xattrs more permissive of missing FS support
Hynek Schlawack [Tue, 5 Feb 2013 07:22:44 +0000 (08:22 +0100)]
#17076: Make copying of xattrs more permissive of missing FS support

Patch by Thomas Wouters.

12 years agoMinor variable access clean-ups for deque.rotate().
Raymond Hettinger [Tue, 5 Feb 2013 06:30:46 +0000 (01:30 -0500)]
Minor variable access clean-ups for deque.rotate().

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