]> granicus.if.org Git - python/log
python
10 years agoCloses issue #20728: Remove unused import added in rev 42366e293b7b and
Terry Jan Reedy [Sun, 2 Mar 2014 09:17:01 +0000 (04:17 -0500)]
Closes issue #20728: Remove unused import added in rev 42366e293b7b and
noticed by Claudiu Popa.

10 years agomerge with 3.3
Georg Brandl [Sun, 2 Mar 2014 08:28:24 +0000 (09:28 +0100)]
merge with 3.3

10 years agoBump to 3.3.5rc2. v3.3.5rc2
Georg Brandl [Sun, 2 Mar 2014 08:19:03 +0000 (09:19 +0100)]
Bump to 3.3.5rc2.

10 years agoUpdate NEWS for 3.3.5rc2.
Georg Brandl [Sun, 2 Mar 2014 08:18:41 +0000 (09:18 +0100)]
Update NEWS for 3.3.5rc2.

10 years agoIssue #20404: reject non-text encodings early in TextIOWrapper.
Georg Brandl [Sun, 2 Mar 2014 08:18:31 +0000 (09:18 +0100)]
Issue #20404: reject non-text encodings early in TextIOWrapper.

10 years agomerge 3.3.5rc1 release commits with 3.3 branch
Georg Brandl [Sun, 2 Mar 2014 07:54:15 +0000 (08:54 +0100)]
merge 3.3.5rc1 release commits with 3.3 branch

10 years agomerge 3.3
Benjamin Peterson [Sun, 2 Mar 2014 00:16:51 +0000 (19:16 -0500)]
merge 3.3

10 years agoadd Chris Angelico
Benjamin Peterson [Sun, 2 Mar 2014 00:16:12 +0000 (19:16 -0500)]
add Chris Angelico

10 years agomerge 3.3 (#20249)
Benjamin Peterson [Sun, 2 Mar 2014 00:14:48 +0000 (19:14 -0500)]
merge 3.3 (#20249)

10 years agofix test_posix.test_initgroups to work without supplemental groups (closes #20249)
Benjamin Peterson [Sun, 2 Mar 2014 00:14:12 +0000 (19:14 -0500)]
fix test_posix.test_initgroups to work without supplemental groups (closes #20249)

10 years agoIssue #20465: fix NEWS typo (it's 3.8.3.1)
Ned Deily [Sat, 1 Mar 2014 22:04:48 +0000 (14:04 -0800)]
Issue #20465: fix NEWS typo (it's 3.8.3.1)

10 years agoIssue #20465: Update OS X installer build to use SQLite 3.8.0.1.
Ned Deily [Sat, 1 Mar 2014 22:00:46 +0000 (14:00 -0800)]
Issue #20465: Update OS X installer build to use SQLite 3.8.0.1.

10 years agowhatsnew: memoryview is Sequence and supports Reversed.
R David Murray [Sat, 1 Mar 2014 17:09:55 +0000 (12:09 -0500)]
whatsnew: memoryview is Sequence and supports Reversed.

10 years agowhatsnew: unittest discover works on namespace packages (#17457).
R David Murray [Sat, 1 Mar 2014 16:57:58 +0000 (11:57 -0500)]
whatsnew: unittest discover works on namespace packages (#17457).

I also added the docs that never got committed, editing the patch provided by
Claudiu.

I collapsed the now three versionchanged directives for discovery into one.  I
tried several different styles for this.  The most obvious is a bulleted list,
but currently the only way I could find to produce that is to have *something*
appear on the versionchanged line after the colon, which combined with the
blank space before the bulleted list just looks wrong.  I also tried the
current single-line-three-sentences version with bullet characters before each
sentence, and I almost went with that as it made it clear that the three
sentences are independent.  But I decided to just go with the sentences for
simplicity reasons.

10 years agofix test on debug builds (closes #20731)
Benjamin Peterson [Sat, 1 Mar 2014 15:31:36 +0000 (10:31 -0500)]
fix test on debug builds (closes #20731)

10 years agomerge 3.2
Benjamin Peterson [Sat, 1 Mar 2014 07:03:57 +0000 (02:03 -0500)]
merge 3.2

10 years agowhatsnew: give Serhiy credit for audioop 24-bit sample support.
R David Murray [Fri, 28 Feb 2014 18:30:27 +0000 (13:30 -0500)]
whatsnew: give Serhiy credit for audioop 24-bit sample support.

10 years agoIssue #20778: Fix modulefinder to work with bytecode-only modules.
Brett Cannon [Fri, 28 Feb 2014 15:44:45 +0000 (10:44 -0500)]
Issue #20778: Fix modulefinder to work with bytecode-only modules.

Bug filed and initial attempt at a patch by Bohuslav Kabrda.

10 years agoIssue #20731: Properly position in source code files even if they
Martin v. Löwis [Fri, 28 Feb 2014 14:27:29 +0000 (15:27 +0100)]
Issue #20731: Properly position in source code files even if they
are opened in text mode. Patch by Serhiy Storchaka.

10 years agowhatsnew: compression libraries support 'x' mode.
R David Murray [Fri, 28 Feb 2014 01:05:42 +0000 (20:05 -0500)]
whatsnew: compression libraries support 'x' mode.

10 years agowhatsnew: tarfile stat constants removal.
R David Murray [Thu, 27 Feb 2014 23:55:34 +0000 (18:55 -0500)]
whatsnew: tarfile stat constants removal.

10 years agoIssue #20567: Delete class attribute gui widgets in idle tests.
Terry Jan Reedy [Thu, 27 Feb 2014 23:47:49 +0000 (18:47 -0500)]
Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka

10 years agowhatsnew: return types of re functions.
R David Murray [Thu, 27 Feb 2014 23:32:32 +0000 (18:32 -0500)]
whatsnew: return types of re functions.

10 years agomerge 3.3
Benjamin Peterson [Sat, 1 Mar 2014 15:34:22 +0000 (10:34 -0500)]
merge 3.3

10 years ago#16135: remove mentions of OS/2 from the documentation
Andrew Kuchling [Sat, 1 Mar 2014 12:53:28 +0000 (07:53 -0500)]
#16135: remove mentions of OS/2 from the documentation

10 years agomerge 3.3
Benjamin Peterson [Sat, 1 Mar 2014 07:04:10 +0000 (02:04 -0500)]
merge 3.3

10 years agomerge for issue #20778
Brett Cannon [Fri, 28 Feb 2014 15:50:34 +0000 (10:50 -0500)]
merge for issue #20778

10 years agoIssue #20650: Tweak some awkward wording.
Brett Cannon [Fri, 28 Feb 2014 15:06:18 +0000 (10:06 -0500)]
Issue #20650: Tweak some awkward wording.

10 years agoReindent
Martin v. Löwis [Fri, 28 Feb 2014 14:49:06 +0000 (15:49 +0100)]
Reindent

10 years agoMerge heads
Martin v. Löwis [Fri, 28 Feb 2014 14:47:15 +0000 (15:47 +0100)]
Merge heads

10 years agoMerge with 3.3
Martin v. Löwis [Fri, 28 Feb 2014 14:43:36 +0000 (15:43 +0100)]
Merge with 3.3

10 years agoClose #20568: install unversioned pip command on Windows
Nick Coghlan [Fri, 28 Feb 2014 13:37:35 +0000 (23:37 +1000)]
Close #20568: install unversioned pip command on Windows

10 years agoClose #20757: return success for skipped pip uninstall
Nick Coghlan [Fri, 28 Feb 2014 13:35:05 +0000 (23:35 +1000)]
Close #20757: return success for skipped pip uninstall

The 3.4rc2 Windows uninstaller would fail if pip had been updated
to a version that didn't match the version installed by ensurepip.
This skip is no longer treated as an error, so an updated pip ends
up being handled like any other pip installed package and is left
alone by the CPython uninstaller.

10 years agoMerge with 3.3
Terry Jan Reedy [Thu, 27 Feb 2014 23:48:13 +0000 (18:48 -0500)]
Merge with 3.3

10 years agoNull merge
Antoine Pitrou [Thu, 27 Feb 2014 23:34:47 +0000 (00:34 +0100)]
Null merge

10 years agowhatsnew: fix textwrap/shorten entry, and improve the related docs.
R David Murray [Thu, 27 Feb 2014 23:01:43 +0000 (18:01 -0500)]
whatsnew: fix textwrap/shorten entry, and improve the related docs.

I had incorrectly added back the shorten method when I initially
made the whatsnew entry, but the shorten function docs were not
correct according to the code.  I also improved the wording in
general.

10 years agoIssue #20791: copy.copy() now doesn't make a copy when the input is a bytes object...
Antoine Pitrou [Thu, 27 Feb 2014 21:14:31 +0000 (22:14 +0100)]
Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object.  Initial patch by Peter Otten.

10 years agofix importlib test failure when bytecode writing is disabled (closes #20796)
Benjamin Peterson [Thu, 27 Feb 2014 18:49:34 +0000 (13:49 -0500)]
fix importlib test failure when bytecode writing is disabled (closes #20796)

Patch by Berker Peksag.

10 years agoAdded tests for issue #20501.
Serhiy Storchaka [Wed, 26 Feb 2014 18:59:43 +0000 (20:59 +0200)]
Added tests for issue #20501.

10 years agowhatsnew: expand pbkdf2_hmac entry slightly.
R David Murray [Wed, 26 Feb 2014 18:07:21 +0000 (13:07 -0500)]
whatsnew: expand pbkdf2_hmac entry slightly.

10 years agowhatsnew: reformat pdb entry to match style of most other module entries.
R David Murray [Wed, 26 Feb 2014 17:52:51 +0000 (12:52 -0500)]
whatsnew: reformat pdb entry to match style of most other module entries.

That is: one paragraph per feature.

10 years agowhatsnew: reword the contextlib.redirect_stdout entry for increased clarity.
R David Murray [Wed, 26 Feb 2014 17:46:19 +0000 (12:46 -0500)]
whatsnew: reword the contextlib.redirect_stdout entry for increased clarity.

10 years agoFix several C-API doc typos caught by tomo cocoa on docs@.
Zachary Ware [Wed, 26 Feb 2014 16:40:38 +0000 (10:40 -0600)]
Fix several C-API doc typos caught by tomo cocoa on docs@.

The signature and description of PyException_SetCause now use "cause"
rather than "ctx" to match the code.

10 years agoIssue #20759: Fix some typos in the mock docs.
Zachary Ware [Wed, 26 Feb 2014 15:34:43 +0000 (09:34 -0600)]
Issue #20759: Fix some typos in the mock docs.

10 years agowhatsnew: attribute base64 memoryview change to Nick.
R David Murray [Wed, 26 Feb 2014 15:09:25 +0000 (10:09 -0500)]
whatsnew: attribute base64 memoryview change to Nick.

10 years agowhatsnew: pprint's compact option.
R David Murray [Wed, 26 Feb 2014 14:51:58 +0000 (09:51 -0500)]
whatsnew: pprint's compact option.

10 years agoIssue #20791: copy.copy() now doesn't make a copy when the input is a bytes object...
Antoine Pitrou [Thu, 27 Feb 2014 21:14:31 +0000 (22:14 +0100)]
Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object.  Initial patch by Peter Otten.

10 years agomerge 3.3 (#20796)
Benjamin Peterson [Thu, 27 Feb 2014 18:50:28 +0000 (13:50 -0500)]
merge 3.3 (#20796)

10 years agoIssue #20763: Fix importlib.machinery.PathFinder to support
Brett Cannon [Wed, 26 Feb 2014 23:26:49 +0000 (18:26 -0500)]
Issue #20763: Fix importlib.machinery.PathFinder to support
PathEntryFinder instances which only define find_module().

Reported by Yukihiro Nakadaira.

10 years agoAdded tests for issue #20501.
Serhiy Storchaka [Wed, 26 Feb 2014 19:03:19 +0000 (21:03 +0200)]
Added tests for issue #20501.

10 years agoMerge with 3.3
Zachary Ware [Wed, 26 Feb 2014 16:41:40 +0000 (10:41 -0600)]
Merge with 3.3

10 years agoasyncio/windows_events.py: use more revelant names to overlapped callbacks
Victor Stinner [Wed, 26 Feb 2014 16:35:30 +0000 (17:35 +0100)]
asyncio/windows_events.py: use more revelant names to overlapped callbacks

For example: "finish_recv", not just "finish".

10 years agoClose #20759: Fix some typos in the mock docs. (Merge with 3.3)
Zachary Ware [Wed, 26 Feb 2014 15:38:39 +0000 (09:38 -0600)]
Close #20759: Fix some typos in the mock docs. (Merge with 3.3)

10 years agoasyncio: simplify test_events.py, don't use non local variables and don't call
Victor Stinner [Wed, 26 Feb 2014 10:31:55 +0000 (11:31 +0100)]
asyncio: simplify test_events.py, don't use non local variables and don't call
assert methods in coroutines.

It also simplify merges from Tulip to Trollius (Python 2 does not support non
local variables).

10 years agoasyncio: Fix pyflakes warnings: remove unused variables and imports
Victor Stinner [Wed, 26 Feb 2014 10:07:42 +0000 (11:07 +0100)]
asyncio: Fix pyflakes warnings: remove unused variables and imports

10 years agoasyncio: Replace "unittest.mock" with "mock" in unit tests
Victor Stinner [Wed, 26 Feb 2014 09:25:02 +0000 (10:25 +0100)]
asyncio: Replace "unittest.mock" with "mock" in unit tests

Use "from unittest import mock". It should simplify my work to merge new tests
in Trollius, because Trollius uses "mock" backport for Python 2.

10 years agonull merge
Gregory P. Smith [Wed, 26 Feb 2014 00:46:41 +0000 (16:46 -0800)]
null merge

10 years agoMention issue 20621 fix in the NEWS file for 3.3.5rc1.
Gregory P. Smith [Wed, 26 Feb 2014 00:45:55 +0000 (16:45 -0800)]
Mention issue 20621 fix in the NEWS file for 3.3.5rc1.
This bug was of the major reasons for the release.

10 years agowhatsnew: DynanicClassAttribute (#19030), Py_SetStandardStreamEncoding (#16129)
R David Murray [Tue, 25 Feb 2014 21:03:14 +0000 (16:03 -0500)]
whatsnew: DynanicClassAttribute (#19030), Py_SetStandardStreamEncoding (#16129)

Adding missing docs for DynamicClassAttribute by copying the docstring.  The
doc entry could stand some expansion, which I will note on the issue.

10 years agoFix formatting in NEWS entry.
R David Murray [Tue, 25 Feb 2014 19:36:20 +0000 (14:36 -0500)]
Fix formatting in NEWS entry.

10 years agoIssue #20765: Add missing documentation for PurePath.with_name() and PurePath.with_su...
Antoine Pitrou [Tue, 25 Feb 2014 19:33:02 +0000 (20:33 +0100)]
Issue #20765: Add missing documentation for PurePath.with_name() and PurePath.with_suffix().

10 years agoNull merge
Serhiy Storchaka [Tue, 25 Feb 2014 18:02:05 +0000 (20:02 +0200)]
Null merge

10 years agoFix typo (issue #19619).
Serhiy Storchaka [Tue, 25 Feb 2014 18:00:48 +0000 (20:00 +0200)]
Fix typo (issue #19619).

10 years agowhatsnew: encoding is now optional in PYTHONIOENCODING (#18818)
R David Murray [Tue, 25 Feb 2014 15:55:29 +0000 (10:55 -0500)]
whatsnew: encoding is now optional in PYTHONIOENCODING (#18818)

10 years agowhatsnew: logging SocketHandler and DatagramHandler support Unix domain sockets.
R David Murray [Tue, 25 Feb 2014 15:39:56 +0000 (10:39 -0500)]
whatsnew: logging SocketHandler and DatagramHandler support Unix domain sockets.

10 years agowhatsnew: Request.method can be overridden in subclasses (#18978).
R David Murray [Tue, 25 Feb 2014 15:22:50 +0000 (10:22 -0500)]
whatsnew: Request.method can be overridden in subclasses (#18978).

Jason doced the change in the constructor *method* description, but
not the description of Request.method, so I added the change there
as well.

10 years agoClarify that flow control works for datagrams, except on BSD.
Guido van Rossum [Mon, 24 Feb 2014 22:31:25 +0000 (14:31 -0800)]
Clarify that flow control works for datagrams, except on BSD.

10 years agowhatsnew: http.server --bind cli option.
R David Murray [Mon, 24 Feb 2014 22:21:42 +0000 (17:21 -0500)]
whatsnew: http.server --bind cli option.

Also some fixups in the docs.

10 years agowhatsnew: unittest.TestCase.assertLogs.
R David Murray [Mon, 24 Feb 2014 21:05:57 +0000 (16:05 -0500)]
whatsnew: unittest.TestCase.assertLogs.

Also fix issue number in address sanity check entry.

10 years agoFix return type in doc of PyStructSequence_InitType2.
R David Murray [Mon, 24 Feb 2014 20:51:57 +0000 (15:51 -0500)]
Fix return type in doc of PyStructSequence_InitType2.

10 years agoFix wording of NEWS entry.
R David Murray [Mon, 24 Feb 2014 20:48:31 +0000 (15:48 -0500)]
Fix wording of NEWS entry.

10 years agowhatsnew: cypthon can be compiled with address sanity checking enabled.
R David Murray [Mon, 24 Feb 2014 20:48:22 +0000 (15:48 -0500)]
whatsnew: cypthon can be compiled with address sanity checking enabled.

10 years agoMerge #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
R David Murray [Mon, 24 Feb 2014 20:34:48 +0000 (15:34 -0500)]
Merge #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.

Including the subsequent line re-wrapping.

10 years ago#20628: wrap lines to < 80.
R David Murray [Mon, 24 Feb 2014 20:32:54 +0000 (15:32 -0500)]
#20628: wrap lines to < 80.

10 years ago#20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
R David Murray [Mon, 24 Feb 2014 20:29:22 +0000 (15:29 -0500)]
#20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.

Patch by Sean Rodman.

10 years ago#20740: merge with 3.3.
Ezio Melotti [Mon, 24 Feb 2014 18:59:48 +0000 (20:59 +0200)]
#20740: merge with 3.3.

10 years ago#20740: desquarify 2.
Ezio Melotti [Mon, 24 Feb 2014 18:58:31 +0000 (20:58 +0200)]
#20740: desquarify 2.

10 years agoFix typo.
R David Murray [Mon, 24 Feb 2014 17:59:20 +0000 (12:59 -0500)]
Fix typo.

10 years agoRemove redundant NEWS entry.
R David Murray [Mon, 24 Feb 2014 15:55:08 +0000 (10:55 -0500)]
Remove redundant NEWS entry.

10 years agoFix NEWS entry wording.
R David Murray [Mon, 24 Feb 2014 15:42:20 +0000 (10:42 -0500)]
Fix NEWS entry wording.

10 years agowhatsnew: frame.clear, expanded entry for -I/isolated mode.
R David Murray [Mon, 24 Feb 2014 15:38:13 +0000 (10:38 -0500)]
whatsnew: frame.clear, expanded entry for -I/isolated mode.

10 years agoMerge heads
Serhiy Storchaka [Mon, 24 Feb 2014 12:57:35 +0000 (14:57 +0200)]
Merge heads

10 years agoNull merge
Serhiy Storchaka [Mon, 24 Feb 2014 12:47:20 +0000 (14:47 +0200)]
Null merge

10 years agoIssue #19619: Blacklist non-text codecs in method API
Serhiy Storchaka [Mon, 24 Feb 2014 12:43:03 +0000 (14:43 +0200)]
Issue #19619: Blacklist non-text codecs in method API

str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.

The latter mechanism remains in place for third party non-text
encodings.

Backported changeset d68df99d7a57.

10 years agoasyncio doc: fix references in subprocess doc
Victor Stinner [Mon, 24 Feb 2014 12:19:19 +0000 (13:19 +0100)]
asyncio doc: fix references in subprocess doc

10 years agosubprocess.Popen.wait doc: mention asyncio to avoid busy loop
Victor Stinner [Mon, 24 Feb 2014 12:18:47 +0000 (13:18 +0100)]
subprocess.Popen.wait doc: mention asyncio to avoid busy loop

10 years agoIssue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Serhiy Storchaka [Mon, 24 Feb 2014 12:00:38 +0000 (14:00 +0200)]
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.

10 years agoIssue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Serhiy Storchaka [Mon, 24 Feb 2014 11:57:00 +0000 (13:57 +0200)]
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.

10 years agoNull merge
Serhiy Storchaka [Mon, 24 Feb 2014 11:46:21 +0000 (13:46 +0200)]
Null merge

10 years agoCloses #20755: port sphinx-1.1 fixes from default
Georg Brandl [Mon, 24 Feb 2014 08:35:07 +0000 (09:35 +0100)]
Closes #20755: port sphinx-1.1 fixes from default

10 years agomerge with 3.3
Georg Brandl [Mon, 24 Feb 2014 08:27:16 +0000 (09:27 +0100)]
merge with 3.3

10 years agoCloses #20735: remove erroneous deprecated marker from stringprep docs
Georg Brandl [Mon, 24 Feb 2014 08:26:53 +0000 (09:26 +0100)]
Closes #20735: remove erroneous deprecated marker from stringprep docs

10 years agoMerge with 3.3
Terry Jan Reedy [Mon, 24 Feb 2014 04:40:16 +0000 (23:40 -0500)]
Merge with 3.3

10 years agowhitespace
Terry Jan Reedy [Mon, 24 Feb 2014 04:39:57 +0000 (23:39 -0500)]
whitespace

10 years agoMerge with 3.3
Terry Jan Reedy [Mon, 24 Feb 2014 04:33:44 +0000 (23:33 -0500)]
Merge with 3.3

10 years agoIssue #9974: When untokenizing, use row info to insert backslash+newline.
Terry Jan Reedy [Mon, 24 Feb 2014 04:33:08 +0000 (23:33 -0500)]
Issue #9974: When untokenizing, use row info to insert backslash+newline.
Original patches by A. Kuchling and G. Rees (#12691).

10 years agoFix wording in NEWS entry.
R David Murray [Mon, 24 Feb 2014 02:32:17 +0000 (21:32 -0500)]
Fix wording in NEWS entry.

10 years agowhatsnew: threading.main_thread, os.urandom persistent handle, sunau.open with.
R David Murray [Mon, 24 Feb 2014 02:31:53 +0000 (21:31 -0500)]
whatsnew: threading.main_thread, os.urandom persistent handle, sunau.open with.

10 years agowhatsnew: unittest uses argparse now.
R David Murray [Mon, 24 Feb 2014 02:02:53 +0000 (21:02 -0500)]
whatsnew: unittest uses argparse now.

10 years agowhatsnew: unittest drops references to successful tests.
R David Murray [Mon, 24 Feb 2014 01:53:50 +0000 (20:53 -0500)]
whatsnew: unittest drops references to successful tests.