]> granicus.if.org Git - python/log
python
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 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 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 3.2
Benjamin Peterson [Sat, 1 Mar 2014 07:03:57 +0000 (02:03 -0500)]
merge 3.2

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 #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 #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 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 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 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 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.

10 years agoMerge with 3.3, #20750
Terry Jan Reedy [Sun, 23 Feb 2014 23:01:08 +0000 (18:01 -0500)]
Merge with 3.3, #20750

10 years agoIssue #20750, Enable roundtrip tests for new 5-tuple untokenize. The
Terry Jan Reedy [Sun, 23 Feb 2014 23:00:31 +0000 (18:00 -0500)]
Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. The
constructed examples and all but 7 of the test/test_*.py files (run with -ucpu)
pass. Remove those that fail the new test from the selection list.
Patch partly based on patches by G. Brandl (#8478) and G. Rees (#12691).

10 years agoIssue #20743: Fix a reference leak in test_tcl.
Antoine Pitrou [Sun, 23 Feb 2014 18:41:51 +0000 (19:41 +0100)]
Issue #20743: Fix a reference leak in test_tcl.

10 years agoIssue #20743: Fix a reference leak in test_tcl.
Antoine Pitrou [Sun, 23 Feb 2014 18:39:06 +0000 (19:39 +0100)]
Issue #20743: Fix a reference leak in test_tcl.

10 years agowhatsnew: pyvenv --copies option.
R David Murray [Sun, 23 Feb 2014 16:36:25 +0000 (11:36 -0500)]
whatsnew: pyvenv --copies option.

Also added the missing documentation for new new option.

10 years agoFix wording in news entry.
R David Murray [Sun, 23 Feb 2014 16:22:08 +0000 (11:22 -0500)]
Fix wording in news entry.

10 years agowhatsnew: devnull fileno/close/closed.
R David Murray [Sun, 23 Feb 2014 16:21:59 +0000 (11:21 -0500)]
whatsnew: devnull fileno/close/closed.

10 years agowhatsnew: hashlib.hash.name is now public and returns lowercase always.
R David Murray [Sun, 23 Feb 2014 15:42:47 +0000 (10:42 -0500)]
whatsnew: hashlib.hash.name is now public and returns lowercase always.

10 years agowhatsnew: textwrap.shorten.
R David Murray [Sun, 23 Feb 2014 15:22:07 +0000 (10:22 -0500)]
whatsnew: textwrap.shorten.

Also add the missing TextWrapper.shorten method doc.

10 years agowhatsnew: ExtensionFileLoader.get_filename.
R David Murray [Sun, 23 Feb 2014 14:41:27 +0000 (09:41 -0500)]
whatsnew: ExtensionFileLoader.get_filename.

Also reflow mmap paragraph.

10 years agoIssue #20637: Key-sharing now also works for instance dictionaries of subclasses...
Antoine Pitrou [Sun, 23 Feb 2014 15:50:07 +0000 (16:50 +0100)]
Issue #20637: Key-sharing now also works for instance dictionaries of subclasses.  Patch by Peter Ingebretson.

10 years ago#20677: fix typo in enum docs. Patch by Saimadhav Heblikar.
Ezio Melotti [Sun, 23 Feb 2014 15:13:31 +0000 (17:13 +0200)]
#20677: fix typo in enum docs.  Patch by Saimadhav Heblikar.

10 years agoMerge with 3.3
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:46 +0000 (00:37 -0500)]
Merge with 3.3

10 years agoIssue #20730: Fix typo reported by Claudiu Popa.
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:16 +0000 (00:37 -0500)]
Issue #20730: Fix typo reported by Claudiu Popa.

10 years agoIssue #20641: Run custom actions with the NoImpersonate flag to support UAC.
Martin v. Löwis [Sat, 22 Feb 2014 22:44:20 +0000 (23:44 +0100)]
Issue #20641: Run custom actions with the NoImpersonate flag to support UAC.

10 years agoReflow paragraph.
R David Murray [Sat, 22 Feb 2014 21:32:07 +0000 (16:32 -0500)]
Reflow paragraph.

10 years agowhatsnew: os.path.ismount recognizes volumes mounted below root.
R David Murray [Sat, 22 Feb 2014 21:31:26 +0000 (16:31 -0500)]
whatsnew: os.path.ismount recognizes volumes mounted below root.