]> granicus.if.org Git - python/log
python
12 years agoIssue #17161: make install now also installs a python3 man page.
Ned Deily [Sat, 9 Feb 2013 07:02:09 +0000 (23:02 -0800)]
Issue #17161: make install now also installs a python3 man page.

12 years agoIssue #17161: make install now also installs a python3 man page.
Ned Deily [Sat, 9 Feb 2013 06:53:51 +0000 (22:53 -0800)]
Issue #17161: make install now also installs a python3 man page.

12 years agoFix accidental non-breakable spaces (U+00A0).
Serhiy Storchaka [Fri, 8 Feb 2013 09:24:16 +0000 (11:24 +0200)]
Fix accidental non-breakable spaces (U+00A0).

12 years agoFix accidental non-breakable spaces (U+00A0).
Serhiy Storchaka [Fri, 8 Feb 2013 09:22:05 +0000 (11:22 +0200)]
Fix accidental non-breakable spaces (U+00A0).

12 years agoIssue #6972: keep the warning about untrusted extraction and mention
Gregory P. Smith [Fri, 8 Feb 2013 06:15:51 +0000 (22:15 -0800)]
Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.

12 years agoIssue #6972: keep the warning about untrusted extraction and mention
Gregory P. Smith [Fri, 8 Feb 2013 06:15:04 +0000 (22:15 -0800)]
Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.

12 years agoAddressing the review comment made by Terry Reedy
Senthil Kumaran [Fri, 8 Feb 2013 05:44:42 +0000 (21:44 -0800)]
Addressing the review comment made by Terry Reedy

12 years agoAddressing the review comment made by Terry Reedy
Senthil Kumaran [Fri, 8 Feb 2013 05:43:21 +0000 (21:43 -0800)]
Addressing the review comment made by Terry Reedy

12 years agoIssue #17137: When an Unicode string is resized, the internal wide character
Victor Stinner [Thu, 7 Feb 2013 22:12:46 +0000 (23:12 +0100)]
Issue #17137: When an Unicode string is resized, the internal wide character
string (wstr) format is now cleared.

12 years agoIssue #17073: Fix some integer overflows in sqlite3 module.
Serhiy Storchaka [Thu, 7 Feb 2013 15:03:46 +0000 (17:03 +0200)]
Issue #17073: Fix some integer overflows in sqlite3 module.

12 years agoIssue #17073: Fix some integer overflows in sqlite3 module.
Serhiy Storchaka [Thu, 7 Feb 2013 15:01:47 +0000 (17:01 +0200)]
Issue #17073: Fix some integer overflows in sqlite3 module.

12 years agoIssue #17043: The unicode-internal decoder no longer read past the end of
Serhiy Storchaka [Thu, 7 Feb 2013 14:25:25 +0000 (16:25 +0200)]
Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.

12 years agoIssue #17043: The unicode-internal decoder no longer read past the end of
Serhiy Storchaka [Thu, 7 Feb 2013 14:23:21 +0000 (16:23 +0200)]
Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.

12 years agoIssue #17118: Add new tests for testing Python-Tcl interaction.
Serhiy Storchaka [Thu, 7 Feb 2013 13:40:26 +0000 (15:40 +0200)]
Issue #17118: Add new tests for testing Python-Tcl interaction.

12 years agoIssue #17118: Add new tests for testing Python-Tcl interaction.
Serhiy Storchaka [Thu, 7 Feb 2013 13:40:03 +0000 (15:40 +0200)]
Issue #17118: Add new tests for testing Python-Tcl interaction.

12 years agoIssue #17114: IDLE now uses non-strict config parser.
Serhiy Storchaka [Thu, 7 Feb 2013 13:25:09 +0000 (15:25 +0200)]
Issue #17114: IDLE now uses non-strict config parser.

12 years agoIssue #17114: IDLE now uses non-strict config parser.
Serhiy Storchaka [Thu, 7 Feb 2013 13:24:36 +0000 (15:24 +0200)]
Issue #17114: IDLE now uses non-strict config parser.

12 years agoFix test_from_dll* in test_returnfuncptrs.py.
Serhiy Storchaka [Thu, 7 Feb 2013 12:59:25 +0000 (14:59 +0200)]
Fix test_from_dll* in test_returnfuncptrs.py.

12 years agoFix test_from_dll* in test_returnfuncptrs.py.
Serhiy Storchaka [Thu, 7 Feb 2013 12:58:44 +0000 (14:58 +0200)]
Fix test_from_dll* in test_returnfuncptrs.py.

12 years agoFix Issue17069: Document getcode method in urllib.request.rst
Senthil Kumaran [Thu, 7 Feb 2013 08:49:12 +0000 (00:49 -0800)]
Fix Issue17069: Document getcode method in urllib.request.rst

12 years agoFix Issue17069: Document getcode method in urllib.request.rst
Senthil Kumaran [Thu, 7 Feb 2013 08:47:01 +0000 (00:47 -0800)]
Fix Issue17069: Document getcode method in urllib.request.rst

12 years agoMerge: #17142: fix apparent copy and paste error in test_all.
R David Murray [Wed, 6 Feb 2013 14:57:51 +0000 (09:57 -0500)]
Merge: #17142: fix apparent copy and paste error in test_all.

12 years ago#17142: fix apparent copy and paste error in test_all.
R David Murray [Wed, 6 Feb 2013 14:56:19 +0000 (09:56 -0500)]
#17142: fix apparent copy and paste error in test_all.

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 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 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 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:22:44 +0000 (08:22 +0100)]
#17076: Make copying of xattrs more permissive of missing FS support

Patch by Thomas Wouters.

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: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: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: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: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: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: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: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 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 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:40 +0000 (10:58 -0800)]
null merge

12 years agomerge
Brett Cannon [Sun, 3 Feb 2013 16:39:02 +0000 (11:39 -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: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 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 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: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 #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: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: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 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 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 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: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: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: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:38:59 +0000 (10:38 +0200)]
Null merge

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: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.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.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: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.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.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
Brett Cannon [Fri, 1 Feb 2013 21:37:07 +0000 (16:37 -0500)]
merge

12 years agonull merge
Gregory P. Smith [Fri, 1 Feb 2013 21:08:51 +0000 (13:08 -0800)]
null merge

12 years agoAdditional fix for issue #12268: The io module file object write methods no
Gregory P. Smith [Fri, 1 Feb 2013 21:08:23 +0000 (13:08 -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).

12 years agobetter corrected news entry
Gregory P. Smith [Fri, 1 Feb 2013 21:06:44 +0000 (13:06 -0800)]
better corrected news entry

12 years agoAdditional fix for Issue #12268: The io module file object writelines() methods no...
Gregory P. Smith [Fri, 1 Feb 2013 21:03:39 +0000 (13:03 -0800)]
Additional fix for Issue #12268: The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR).

12 years agoIssue #17098: Be more stringent of setting __loader__ on early imported
Brett Cannon [Fri, 1 Feb 2013 20:31:49 +0000 (15:31 -0500)]
Issue #17098: Be more stringent of setting __loader__ on early imported
modules. Also made test more rigorous.

12 years agoAdd a test for fix of issue #17098
Brett Cannon [Fri, 1 Feb 2013 19:43:59 +0000 (14:43 -0500)]
Add a test for fix of issue #17098

12 years agoFixes Issue #6972: The zipfile module no longer overwrites files outside of
Gregory P. Smith [Fri, 1 Feb 2013 19:31:31 +0000 (11:31 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.

12 years agoFixes Issue #6972: The zipfile module no longer overwrites files outside of
Gregory P. Smith [Fri, 1 Feb 2013 19:22:43 +0000 (11:22 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.

12 years agoIssue #17098: Make sure every module has __loader__ defined.
Brett Cannon [Fri, 1 Feb 2013 19:04:12 +0000 (14:04 -0500)]
Issue #17098: Make sure every module has __loader__ defined.

Thanks to Thomas Heller for the bug report.

12 years agoIssue #1783: Remove declarations of nonexistent private variables.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:47 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.

12 years agoIssue #1783: Remove declarations of nonexistent private variables.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:20 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.

12 years ago#16128: merge with 3.2.
Ezio Melotti [Fri, 1 Feb 2013 03:20:06 +0000 (05:20 +0200)]
#16128: merge with 3.2.