]> granicus.if.org Git - python/log
python
10 years agoFix text about int() with octal numbers. Closes #21212.
Eric V. Smith [Mon, 14 Apr 2014 11:41:52 +0000 (07:41 -0400)]
Fix text about int() with octal numbers. Closes #21212.

10 years agofix sending tuples to custom generator objects with yield from (closes #21209)
Benjamin Peterson [Mon, 14 Apr 2014 03:52:01 +0000 (23:52 -0400)]
fix sending tuples to custom generator objects with yield from (closes #21209)

Debugged by Victor.

10 years agomerge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 02:31:42 +0000 (22:31 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 02:28:16 +0000 (22:28 -0400)]
merge 3.2

10 years agoin scan_once, prevent the reading of arbitrary memory when passed a negative index
Benjamin Peterson [Mon, 14 Apr 2014 02:10:38 +0000 (22:10 -0400)]
in scan_once, prevent the reading of arbitrary memory when passed a negative index

Bug reported by Guido Vranken.

10 years ago#21169: fix getpass to use replace error handler on UnicodeEncodeError.
R David Murray [Mon, 14 Apr 2014 02:07:39 +0000 (22:07 -0400)]
#21169: fix getpass to use replace error handler on UnicodeEncodeError.

If the input stream encoding couldn't encode one or more of the
non-ascii characters in the prompt, it would fail, throwing a
UnicodeEncodeError.  Now if that happens we re-encoding using the
'replace' error handler.

Patch by Kushal Das.

10 years agoIssue #20635: Added tests for Tk geometry managers.
Serhiy Storchaka [Sun, 13 Apr 2014 16:52:23 +0000 (19:52 +0300)]
Issue #20635: Added tests for Tk geometry managers.

10 years agoIssue #21171: Fixed undocumented filter API of the rot13 codec.
Serhiy Storchaka [Sun, 13 Apr 2014 14:07:04 +0000 (17:07 +0300)]
Issue #21171: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.

10 years agoRemove references to the obsolete Mac Carbon modules in the GUI
Ned Deily [Sat, 12 Apr 2014 16:32:04 +0000 (09:32 -0700)]
Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.

10 years agoIssue #21170: Removed invalid parameter names from unittest doc.
Terry Jan Reedy [Fri, 11 Apr 2014 18:11:11 +0000 (14:11 -0400)]
Issue #21170: Removed invalid parameter names from unittest doc.
Patch by Kushal Das.

10 years agoIssue #21172: isinstance check relaxed from dict to collections.Mapping.
Vinay Sajip [Thu, 10 Apr 2014 06:12:19 +0000 (07:12 +0100)]
Issue #21172: isinstance check relaxed from dict to collections.Mapping.

10 years agoteach 2to3 about 'yield from'
Benjamin Peterson [Thu, 10 Apr 2014 04:23:18 +0000 (00:23 -0400)]
teach 2to3 about 'yield from'

10 years agoadd matrix multiplication operator support to 2to3
Benjamin Peterson [Thu, 10 Apr 2014 04:12:47 +0000 (00:12 -0400)]
add matrix multiplication operator support to 2to3

10 years agoIssue #21187: Fix OS X installer fail-to-build with Xcode 5.1.
Ned Deily [Wed, 9 Apr 2014 23:16:08 +0000 (16:16 -0700)]
Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1.

10 years agoIssue #20644: Keep build-installer.py in sync across active versions.
Ned Deily [Wed, 9 Apr 2014 23:15:20 +0000 (16:15 -0700)]
Issue #20644: Keep build-installer.py in sync across active versions.

10 years agoissue #21190: Fix the broken docs download link
Senthil Kumaran [Wed, 9 Apr 2014 15:44:34 +0000 (11:44 -0400)]
issue #21190: Fix the broken docs download link

10 years agoIssue #21097: Update Makefile with changed install locations of test directories.
Ned Deily [Wed, 9 Apr 2014 01:54:49 +0000 (18:54 -0700)]
Issue #21097: Update Makefile with changed install locations of test directories.

10 years agoIssue #20644: OS X installer build support for documentation build changes
Ned Deily [Mon, 7 Apr 2014 19:10:21 +0000 (12:10 -0700)]
Issue #20644: OS X installer build support for documentation build changes
in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.

10 years agodocs: Better wording for __objclass__ docs. Issue #19281
Yury Selivanov [Tue, 8 Apr 2014 18:00:35 +0000 (14:00 -0400)]
docs: Better wording for __objclass__ docs. Issue #19281

10 years agodocs: Document __objclass__. Closes #19281.
Yury Selivanov [Tue, 8 Apr 2014 16:03:07 +0000 (12:03 -0400)]
docs: Document __objclass__. Closes #19281.

Initial patch by Nick Coghlan

10 years agoinspect.signautre: Fix functools.partial support. Issue #21117
Yury Selivanov [Tue, 8 Apr 2014 15:28:02 +0000 (11:28 -0400)]
inspect.signautre: Fix functools.partial support. Issue #21117

10 years agouse imperative
Benjamin Peterson [Tue, 8 Apr 2014 14:51:20 +0000 (10:51 -0400)]
use imperative

10 years agoPySequence_Fast generally returns a list not a tuple (closes #16395)
Benjamin Peterson [Tue, 8 Apr 2014 14:48:36 +0000 (10:48 -0400)]
PySequence_Fast generally returns a list not a tuple (closes #16395)

10 years agothe name of the slot of nb_multiply not nb_mul
Benjamin Peterson [Tue, 8 Apr 2014 14:44:30 +0000 (10:44 -0400)]
the name of the slot of nb_multiply not nb_mul

10 years agofix verb (closes #21174)
Benjamin Peterson [Mon, 7 Apr 2014 23:34:33 +0000 (19:34 -0400)]
fix verb (closes #21174)

10 years agoIssue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if
Victor Stinner [Mon, 7 Apr 2014 09:18:54 +0000 (11:18 +0200)]
Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if
path and sock are specified at the same time.

10 years agoasyncio: Document Task.cancel() properly.
Victor Stinner [Mon, 7 Apr 2014 09:18:06 +0000 (11:18 +0200)]
asyncio: Document Task.cancel() properly.

10 years agomerge from 3.3
Senthil Kumaran [Sun, 6 Apr 2014 18:00:15 +0000 (11:00 -0700)]
merge from 3.3

10 years agominor docfix (reported at docs@python.org) trace.py argument is --count not --counts
Senthil Kumaran [Sun, 6 Apr 2014 17:59:47 +0000 (10:59 -0700)]
minor docfix (reported at docs@python.org) trace.py argument is --count not --counts

10 years agoIssue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
Victor Stinner [Fri, 4 Apr 2014 18:59:44 +0000 (20:59 +0200)]
Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
character for the "end" parameter

10 years agomake temporary read-only files writable, so rmtree can remove them (#21128)
Benjamin Peterson [Fri, 4 Apr 2014 17:55:56 +0000 (13:55 -0400)]
make temporary read-only files writable, so rmtree can remove them (#21128)

10 years agoIssue #20942: PyImport_ImportFrozenModuleObject() no longer sets
Brett Cannon [Fri, 4 Apr 2014 14:01:46 +0000 (10:01 -0400)]
Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets
__file__.

This causes _frozen_importlib to no longer have __file__ set as well
as any frozen module imported using imp.init_frozen() (which is
deprecated).

10 years agomerge 3.3
Benjamin Peterson [Fri, 4 Apr 2014 13:52:05 +0000 (09:52 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Fri, 4 Apr 2014 13:51:45 +0000 (09:51 -0400)]
merge 3.2

10 years agofix versionchanged version
Benjamin Peterson [Fri, 4 Apr 2014 13:50:35 +0000 (09:50 -0400)]
fix versionchanged version

10 years agoIssue #21149: Improved thread-safety in logging cleanup during interpreter shutdown.
Vinay Sajip [Fri, 4 Apr 2014 09:51:49 +0000 (10:51 +0100)]
Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown.

10 years agoIssue 21143: Fix typo in docs for max().
Raymond Hettinger [Thu, 3 Apr 2014 15:01:22 +0000 (08:01 -0700)]
Issue 21143: Fix typo in docs for max().

10 years agoremove unused argument (closes #21135)
Benjamin Peterson [Thu, 3 Apr 2014 14:22:10 +0000 (10:22 -0400)]
remove unused argument (closes #21135)

10 years agoIssue #20375: Clarify ET's parsing of comments and processing instructions.
Eli Bendersky [Thu, 3 Apr 2014 13:14:38 +0000 (06:14 -0700)]
Issue #20375: Clarify ET's parsing of comments and processing instructions.

Based on patch by Nikolaus Rath.

10 years agomake sure to test UnicodeEncodeError, too
Benjamin Peterson [Wed, 2 Apr 2014 19:51:38 +0000 (15:51 -0400)]
make sure to test UnicodeEncodeError, too

10 years agobail in unicode error's __str__ methods if the objects are not properly initialized...
Benjamin Peterson [Wed, 2 Apr 2014 16:15:06 +0000 (12:15 -0400)]
bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134)

10 years agomake test name consistent with the rest of the file
Benjamin Peterson [Wed, 2 Apr 2014 16:05:35 +0000 (12:05 -0400)]
make test name consistent with the rest of the file

10 years agoIssue #18652: Add an itertools recipe for first_true()
Raymond Hettinger [Wed, 2 Apr 2014 10:16:42 +0000 (03:16 -0700)]
Issue #18652:  Add an itertools recipe for first_true()

10 years agoDocumentation nit. List the traditional keyword-only argument first and the default...
Raymond Hettinger [Wed, 2 Apr 2014 07:58:47 +0000 (00:58 -0700)]
Documentation nit.  List the traditional keyword-only argument first and the default last.

10 years agoIssue 21125: minor documentation tweak.
Raymond Hettinger [Wed, 2 Apr 2014 05:17:33 +0000 (22:17 -0700)]
Issue 21125: minor documentation tweak.

10 years agoupdate version changed
Benjamin Peterson [Tue, 1 Apr 2014 23:22:06 +0000 (19:22 -0400)]
update version changed

10 years agomerge 3.3 (#21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:18:48 +0000 (19:18 -0400)]
merge 3.3 (#21082)

10 years agomerge 3.2 (#21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:17:57 +0000 (19:17 -0400)]
merge 3.2 (#21082)

10 years agoremove directory mode check from makedirs (closes #21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:13:18 +0000 (19:13 -0400)]
remove directory mode check from makedirs (closes #21082)

10 years agofix typo
Benjamin Peterson [Tue, 1 Apr 2014 20:27:30 +0000 (16:27 -0400)]
fix typo

10 years agosimplify check, since now there are only new-style classes
Benjamin Peterson [Tue, 1 Apr 2014 18:20:56 +0000 (14:20 -0400)]
simplify check, since now there are only new-style classes

10 years agoIssue #15067: Port 2.7 sqlite3 docs to 3.4
Zachary Ware [Tue, 1 Apr 2014 17:21:56 +0000 (12:21 -0500)]
Issue #15067: Port 2.7 sqlite3 docs to 3.4

10 years ago#16716: remove deprecation warning
Andrew Svetlov [Mon, 31 Mar 2014 23:08:25 +0000 (02:08 +0300)]
#16716: remove deprecation warning

10 years agoGet rid of deprecated IOError in the doc
Andrew Svetlov [Mon, 31 Mar 2014 22:13:30 +0000 (01:13 +0300)]
Get rid of deprecated IOError in the doc

10 years agoIOError -> OSError
Andrew Svetlov [Mon, 31 Mar 2014 21:44:13 +0000 (00:44 +0300)]
IOError -> OSError

10 years agoFix the doc: add deprecation warning in select module.
Andrew Svetlov [Mon, 31 Mar 2014 21:23:23 +0000 (00:23 +0300)]
Fix the doc: add deprecation warning in select module.

10 years agoIssue #21073: explain why Py_ReprEnter() allows for a missing thread state.
Antoine Pitrou [Mon, 31 Mar 2014 20:04:38 +0000 (22:04 +0200)]
Issue #21073: explain why Py_ReprEnter() allows for a missing thread state.

10 years agouse https docs url
Benjamin Peterson [Mon, 31 Mar 2014 17:50:34 +0000 (13:50 -0400)]
use https docs url

10 years agomerge 3.3 (#21115)
Benjamin Peterson [Mon, 31 Mar 2014 17:46:45 +0000 (13:46 -0400)]
merge 3.3 (#21115)

10 years agomerge 3.2
Benjamin Peterson [Mon, 31 Mar 2014 17:46:26 +0000 (13:46 -0400)]
merge 3.2

10 years agouse https docs url (#21115)
Benjamin Peterson [Mon, 31 Mar 2014 17:44:53 +0000 (13:44 -0400)]
use https docs url (#21115)

10 years agoIssue #20668: Remove tests.txt of test_asyncio
Victor Stinner [Mon, 31 Mar 2014 15:40:06 +0000 (17:40 +0200)]
Issue #20668: Remove tests.txt of test_asyncio

It's useless, tests are now discovered automatically.

10 years agomerge 3.3
Benjamin Peterson [Mon, 31 Mar 2014 00:34:20 +0000 (20:34 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Mon, 31 Mar 2014 00:34:05 +0000 (20:34 -0400)]
merge 3.2

10 years agoadd Ian Beer
Benjamin Peterson [Mon, 31 Mar 2014 00:33:47 +0000 (20:33 -0400)]
add Ian Beer

10 years agomerge 3.3
Benjamin Peterson [Sun, 30 Mar 2014 23:52:39 +0000 (19:52 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Sun, 30 Mar 2014 23:52:22 +0000 (19:52 -0400)]
merge 3.2

10 years agofix expandtabs overflow detection to be consistent and not rely on signed overflow
Benjamin Peterson [Sun, 30 Mar 2014 23:47:57 +0000 (19:47 -0400)]
fix expandtabs overflow detection to be consistent and not rely on signed overflow

10 years agoupdate notes to talk about -X showrefcount
Benjamin Peterson [Sun, 30 Mar 2014 21:16:09 +0000 (17:16 -0400)]
update notes to talk about -X showrefcount

10 years agoAdd test case for freeze.
Martin v. Löwis [Sun, 30 Mar 2014 19:32:03 +0000 (21:32 +0200)]
Add test case for freeze.

10 years agoIssue #16047: Fix module exception list and __file__ handling in freeze.
Martin v. Löwis [Sun, 30 Mar 2014 19:07:25 +0000 (21:07 +0200)]
Issue #16047: Fix module exception list and __file__ handling in freeze.
Patch by Meador Inge.

10 years agomake partialmethod example work (closes #21105)
Benjamin Peterson [Sun, 30 Mar 2014 19:07:09 +0000 (15:07 -0400)]
make partialmethod example work (closes #21105)

10 years agoIssue #11824: Consider ABI tags in freeze. Patch by Meador Inge.
Martin v. Löwis [Sun, 30 Mar 2014 18:28:52 +0000 (20:28 +0200)]
Issue #11824: Consider ABI tags in freeze. Patch by Meador Inge.

10 years agoFix doc typo.
Guido van Rossum [Sun, 30 Mar 2014 04:14:04 +0000 (21:14 -0700)]
Fix doc typo.

10 years agoIssue #21097: Move test_namespace_pkgs into test_importlib.
Eric Snow [Sat, 29 Mar 2014 21:57:44 +0000 (15:57 -0600)]
Issue #21097: Move test_namespace_pkgs into test_importlib.

10 years agoMinor readability improvement.
Raymond Hettinger [Sat, 29 Mar 2014 18:50:08 +0000 (11:50 -0700)]
Minor readability improvement.

10 years agoIssue #21093: Prevent failures of ctypes test_macholib on OS X if a
Ned Deily [Sat, 29 Mar 2014 07:08:44 +0000 (00:08 -0700)]
Issue #21093: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.

10 years agoIssue #19697: document more __main__.__spec__ quirks
Nick Coghlan [Sat, 29 Mar 2014 05:39:42 +0000 (15:39 +1000)]
Issue #19697: document more __main__.__spec__ quirks

10 years agoFix another old mention of "Standard Edition" VS in PCbuild/readme.txt.
Zachary Ware [Sat, 29 Mar 2014 04:31:04 +0000 (23:31 -0500)]
Fix another old mention of "Standard Edition" VS in PCbuild/readme.txt.

Also removes a mention of using "Express Edition with the Windows SDK
64-bit compilers" to build 64-bit Python.  If that can be made to work,
it will need some extra instructions somewhere.

10 years agoIssue #19697: Document cases where __main__.__spec__ is None.
Eric Snow [Sat, 29 Mar 2014 00:10:33 +0000 (18:10 -0600)]
Issue #19697: Document cases where __main__.__spec__ is None.

10 years agoIssue 21014: Use booleans instead of 0 and 1 in examples.
Raymond Hettinger [Fri, 28 Mar 2014 23:39:25 +0000 (16:39 -0700)]
Issue 21014:  Use booleans instead of 0 and 1 in examples.

10 years agoundefine SET_SYS_FROM_STRING_BORROW after its done being used (closes #21089)
Benjamin Peterson [Fri, 28 Mar 2014 22:52:45 +0000 (18:52 -0400)]
undefine SET_SYS_FROM_STRING_BORROW after its done being used (closes #21089)

10 years agoDoc: do not compress .epub for dist, it is already zipped.
Georg Brandl [Fri, 28 Mar 2014 18:48:55 +0000 (19:48 +0100)]
Doc: do not compress .epub for dist, it is already zipped.

10 years agoIssue #17654: Ensure IDLE menus are customized properly on OS X for
Ned Deily [Fri, 28 Mar 2014 03:49:14 +0000 (20:49 -0700)]
Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.

10 years agoIssue #6676: Ensure a meaningful exception is raised when attempting
Ned Deily [Thu, 27 Mar 2014 23:39:58 +0000 (16:39 -0700)]
Issue #6676: Ensure a meaningful exception is raised when attempting
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)

10 years agoinspect: Fix getcallargs() to fail correctly if more than 3 args are missing.
Yury Selivanov [Thu, 27 Mar 2014 22:42:52 +0000 (18:42 -0400)]
inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.

Patch by Jeremiah Lowin. Closes #20817.

10 years agoinspect: Fix getcallargs() to raise correct TypeError
Yury Selivanov [Thu, 27 Mar 2014 22:23:03 +0000 (18:23 -0400)]
inspect: Fix getcallargs() to raise correct TypeError

... for missing keyword-only arguments. Patch by Jeremiah Lowin.
Closes #20816.

10 years agoasyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668
Yury Selivanov [Thu, 27 Mar 2014 16:21:20 +0000 (12:21 -0400)]
asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668

10 years agoIssue #21069: Temporarily use www.google.com while investigating
Ned Deily [Thu, 27 Mar 2014 08:39:28 +0000 (01:39 -0700)]
Issue #21069: Temporarily use www.google.com while investigating
test_urllibnet.test_fileno intermittent failures with www.example.com.

10 years agoIssue #20939: remove stray character from comment
Ned Deily [Thu, 27 Mar 2014 06:43:26 +0000 (23:43 -0700)]
Issue #20939: remove stray character from comment

10 years agoIssue #20939: Use www.example.com instead of www.python.org to avoid test
Ned Deily [Thu, 27 Mar 2014 06:31:39 +0000 (23:31 -0700)]
Issue #20939: Use www.example.com instead of www.python.org to avoid test
failures when ssl is not present.

10 years agoIssue #20939: Backout test_urllib2.test_issue16464 disables:
Ned Deily [Thu, 27 Mar 2014 06:26:03 +0000 (23:26 -0700)]
Issue #20939: Backout test_urllib2.test_issue16464 disables:
    68335b8afb1f 3.4
    ad0c75b7bd7d default

10 years agobackport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.
R David Murray [Tue, 25 Mar 2014 19:31:50 +0000 (15:31 -0400)]
backport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.

Previously a non-string, non-regex second argument and missing callable
argument could cause the test to appear to always pass.

Initial patch by Kamilla Holanda.

10 years agoIssue #21058: fix typo in a comment. Patch written by Vajrasky Kok.
Victor Stinner [Tue, 25 Mar 2014 17:19:17 +0000 (18:19 +0100)]
Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.

10 years agoIssue #21038: Use monotonic clock to compute timeout, not the system clock
Victor Stinner [Tue, 25 Mar 2014 11:50:50 +0000 (12:50 +0100)]
Issue #21038: Use monotonic clock to compute timeout, not the system clock

10 years agoIssue #21038: Cleanup test_epoll.py
Victor Stinner [Tue, 25 Mar 2014 11:49:53 +0000 (12:49 +0100)]
Issue #21038: Cleanup test_epoll.py

Remove useless test and unused variables. Initial patch by Andreas Schwab.

10 years agoIssue #12209: Minor edits to faulthandler doc. Patch written by Éric Araujo.
Victor Stinner [Tue, 25 Mar 2014 11:33:56 +0000 (12:33 +0100)]
Issue #12209: Minor edits to faulthandler doc. Patch written by Éric Araujo.

10 years agoUpdated external link in documentation.
Vinay Sajip [Tue, 25 Mar 2014 11:21:41 +0000 (11:21 +0000)]
Updated external link in documentation.

10 years agoCloses #21045: make the Qt help build not look completely stupid
Georg Brandl [Tue, 25 Mar 2014 09:12:47 +0000 (10:12 +0100)]
Closes #21045: make the Qt help build not look completely stupid

10 years agoIssue #21006: asyncio doc: reorganize subprocess doc
Victor Stinner [Tue, 25 Mar 2014 08:40:26 +0000 (09:40 +0100)]
Issue #21006: asyncio doc: reorganize subprocess doc