]>
granicus.if.org Git - python/log
Brett Cannon [Fri, 28 Feb 2014 15:50:34 +0000 (10:50 -0500)]
merge for issue #20778
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.
Brett Cannon [Fri, 28 Feb 2014 15:06:18 +0000 (10:06 -0500)]
Issue #20650: Tweak some awkward wording.
Martin v. Löwis [Fri, 28 Feb 2014 14:49:06 +0000 (15:49 +0100)]
Reindent
Martin v. Löwis [Fri, 28 Feb 2014 14:47:15 +0000 (15:47 +0100)]
Merge heads
Martin v. Löwis [Fri, 28 Feb 2014 14:43:36 +0000 (15:43 +0100)]
Merge with 3.3
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.
Nick Coghlan [Fri, 28 Feb 2014 13:37:35 +0000 (23:37 +1000)]
Close #20568: install unversioned pip command on Windows
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.
Terry Jan Reedy [Thu, 27 Feb 2014 23:48:13 +0000 (18:48 -0500)]
Merge with 3.3
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
Antoine Pitrou [Thu, 27 Feb 2014 23:34:47 +0000 (00:34 +0100)]
Null merge
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.
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.
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.
Serhiy Storchaka [Wed, 26 Feb 2014 18:59:43 +0000 (20:59 +0200)]
Added tests for issue #20501.
R David Murray [Wed, 26 Feb 2014 18:07:21 +0000 (13:07 -0500)]
whatsnew: expand pbkdf2_hmac entry slightly.
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.
R David Murray [Wed, 26 Feb 2014 17:46:19 +0000 (12:46 -0500)]
whatsnew: reword the contextlib.redirect_stdout entry for increased clarity.
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.
Zachary Ware [Wed, 26 Feb 2014 15:34:43 +0000 (09:34 -0600)]
Issue #20759: Fix some typos in the mock docs.
R David Murray [Wed, 26 Feb 2014 15:09:25 +0000 (10:09 -0500)]
whatsnew: attribute base64 memoryview change to Nick.
R David Murray [Wed, 26 Feb 2014 14:51:58 +0000 (09:51 -0500)]
whatsnew: pprint's compact option.
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.
Benjamin Peterson [Thu, 27 Feb 2014 18:50:28 +0000 (13:50 -0500)]
merge 3.3 (#20796)
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.
Serhiy Storchaka [Wed, 26 Feb 2014 19:03:19 +0000 (21:03 +0200)]
Added tests for issue #20501.
Zachary Ware [Wed, 26 Feb 2014 16:41:40 +0000 (10:41 -0600)]
Merge with 3.3
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".
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)
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).
Victor Stinner [Wed, 26 Feb 2014 10:07:42 +0000 (11:07 +0100)]
asyncio: Fix pyflakes warnings: remove unused variables and imports
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.
Gregory P. Smith [Wed, 26 Feb 2014 00:46:41 +0000 (16:46 -0800)]
null merge
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.
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.
R David Murray [Tue, 25 Feb 2014 19:36:20 +0000 (14:36 -0500)]
Fix formatting in NEWS entry.
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().
Serhiy Storchaka [Tue, 25 Feb 2014 18:02:05 +0000 (20:02 +0200)]
Null merge
Serhiy Storchaka [Tue, 25 Feb 2014 18:00:48 +0000 (20:00 +0200)]
Fix typo (issue #19619).
R David Murray [Tue, 25 Feb 2014 15:55:29 +0000 (10:55 -0500)]
whatsnew: encoding is now optional in PYTHONIOENCODING (#18818)
R David Murray [Tue, 25 Feb 2014 15:39:56 +0000 (10:39 -0500)]
whatsnew: logging SocketHandler and DatagramHandler support Unix domain sockets.
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.
Guido van Rossum [Mon, 24 Feb 2014 22:31:25 +0000 (14:31 -0800)]
Clarify that flow control works for datagrams, except on BSD.
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.
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.
R David Murray [Mon, 24 Feb 2014 20:51:57 +0000 (15:51 -0500)]
Fix return type in doc of PyStructSequence_InitType2.
R David Murray [Mon, 24 Feb 2014 20:48:31 +0000 (15:48 -0500)]
Fix wording of NEWS entry.
R David Murray [Mon, 24 Feb 2014 20:48:22 +0000 (15:48 -0500)]
whatsnew: cypthon can be compiled with address sanity checking enabled.
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.
R David Murray [Mon, 24 Feb 2014 20:32:54 +0000 (15:32 -0500)]
#20628: wrap lines to < 80.
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.
Ezio Melotti [Mon, 24 Feb 2014 18:59:48 +0000 (20:59 +0200)]
#20740: merge with 3.3.
Ezio Melotti [Mon, 24 Feb 2014 18:58:31 +0000 (20:58 +0200)]
#20740: desquarify 2.
R David Murray [Mon, 24 Feb 2014 17:59:20 +0000 (12:59 -0500)]
Fix typo.
R David Murray [Mon, 24 Feb 2014 15:55:08 +0000 (10:55 -0500)]
Remove redundant NEWS entry.
R David Murray [Mon, 24 Feb 2014 15:42:20 +0000 (10:42 -0500)]
Fix NEWS entry wording.
R David Murray [Mon, 24 Feb 2014 15:38:13 +0000 (10:38 -0500)]
whatsnew: frame.clear, expanded entry for -I/isolated mode.
Serhiy Storchaka [Mon, 24 Feb 2014 12:57:35 +0000 (14:57 +0200)]
Merge heads
Serhiy Storchaka [Mon, 24 Feb 2014 12:47:20 +0000 (14:47 +0200)]
Null merge
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 .
Victor Stinner [Mon, 24 Feb 2014 12:19:19 +0000 (13:19 +0100)]
asyncio doc: fix references in subprocess doc
Victor Stinner [Mon, 24 Feb 2014 12:18:47 +0000 (13:18 +0100)]
subprocess.Popen.wait doc: mention asyncio to avoid busy loop
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.
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.
Serhiy Storchaka [Mon, 24 Feb 2014 11:46:21 +0000 (13:46 +0200)]
Null merge
Georg Brandl [Mon, 24 Feb 2014 08:35:07 +0000 (09:35 +0100)]
Closes #20755: port sphinx-1.1 fixes from default
Georg Brandl [Mon, 24 Feb 2014 08:27:16 +0000 (09:27 +0100)]
merge with 3.3
Georg Brandl [Mon, 24 Feb 2014 08:26:53 +0000 (09:26 +0100)]
Closes #20735: remove erroneous deprecated marker from stringprep docs
Terry Jan Reedy [Mon, 24 Feb 2014 04:40:16 +0000 (23:40 -0500)]
Merge with 3.3
Terry Jan Reedy [Mon, 24 Feb 2014 04:39:57 +0000 (23:39 -0500)]
whitespace
Terry Jan Reedy [Mon, 24 Feb 2014 04:33:44 +0000 (23:33 -0500)]
Merge with 3.3
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).
R David Murray [Mon, 24 Feb 2014 02:32:17 +0000 (21:32 -0500)]
Fix wording in NEWS entry.
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.
R David Murray [Mon, 24 Feb 2014 02:02:53 +0000 (21:02 -0500)]
whatsnew: unittest uses argparse now.
R David Murray [Mon, 24 Feb 2014 01:53:50 +0000 (20:53 -0500)]
whatsnew: unittest drops references to successful tests.
Terry Jan Reedy [Sun, 23 Feb 2014 23:01:08 +0000 (18:01 -0500)]
Merge with 3.3, #20750
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).
Antoine Pitrou [Sun, 23 Feb 2014 18:41:51 +0000 (19:41 +0100)]
Issue #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.
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.
R David Murray [Sun, 23 Feb 2014 16:22:08 +0000 (11:22 -0500)]
Fix wording in news entry.
R David Murray [Sun, 23 Feb 2014 16:21:59 +0000 (11:21 -0500)]
whatsnew: devnull fileno/close/closed.
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.
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.
R David Murray [Sun, 23 Feb 2014 14:41:27 +0000 (09:41 -0500)]
whatsnew: ExtensionFileLoader.get_filename.
Also reflow mmap paragraph.
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.
Ezio Melotti [Sun, 23 Feb 2014 15:13:31 +0000 (17:13 +0200)]
#20677: fix typo in enum docs. Patch by Saimadhav Heblikar.
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:46 +0000 (00:37 -0500)]
Merge with 3.3
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:16 +0000 (00:37 -0500)]
Issue #20730: Fix typo reported by Claudiu Popa.
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.
R David Murray [Sat, 22 Feb 2014 21:32:07 +0000 (16:32 -0500)]
Reflow paragraph.
R David Murray [Sat, 22 Feb 2014 21:31:26 +0000 (16:31 -0500)]
whatsnew: os.path.ismount recognizes volumes mounted below root.
R David Murray [Sat, 22 Feb 2014 21:02:22 +0000 (16:02 -0500)]
whatsnew: PyStructSequence_InitType2, Victor's MemoryError fixes.
I'm documenting this new function, but I'm wondering if this will trigger
someone to think about whether or not this actually makes sense :)
R David Murray [Sat, 22 Feb 2014 20:35:37 +0000 (15:35 -0500)]
whatsnew: Windows uses VirtualAlloc, --version goes to stdout.
Eric Snow [Sat, 22 Feb 2014 20:57:08 +0000 (13:57 -0700)]
Issue #20484: Disable the 2 remaining "modules" tests in test_pydoc.
I'll look into re-enabling them in issue #20128.
R David Murray [Sat, 22 Feb 2014 20:05:08 +0000 (15:05 -0500)]
whatsnew: frozen package __path__; and min/max versionadded.
R David Murray [Sat, 22 Feb 2014 19:28:46 +0000 (14:28 -0500)]
whatsnew: importlib deprecations.
This addresses issue #20199, if I got it right. The deprecation and
replacement lists are based on the importlib documentation.
Yury Selivanov [Fri, 21 Feb 2014 23:30:53 +0000 (18:30 -0500)]
inspect.signature: Check for function-like objects before builtins. Issue #17159