Commit Graph

84240 Commits

Author SHA1 Message Date
Nick Coghlan a46cf12e99 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.
2014-02-28 23:35:05 +10:00
R David Murray 0bec63e67d whatsnew: compression libraries support 'x' mode. 2014-02-27 20:05:42 -05:00
R David Murray 4b1ea234a0 whatsnew: tarfile stat constants removal. 2014-02-27 18:55:34 -05:00
Terry Jan Reedy 9db1ab8250 Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka
2014-02-27 18:47:49 -05:00
R David Murray ecef6cd2f1 whatsnew: return types of re functions. 2014-02-27 18:32:32 -05:00
Benjamin Peterson 126041844c merge 3.3 2014-03-01 10:34:22 -05:00
Andrew Kuchling 98f2bbf794 #16135: remove mentions of OS/2 from the documentation 2014-03-01 07:53:28 -05:00
Benjamin Peterson 7b96f76dc8 merge 3.3 2014-03-01 02:04:10 -05:00
Brett Cannon 0f3847855d merge for issue #20778 2014-02-28 10:50:34 -05:00
Brett Cannon acc74e6c63 Issue #20650: Tweak some awkward wording. 2014-02-28 10:06:18 -05:00
Martin v. Löwis 80875fe439 Reindent 2014-02-28 15:49:06 +01:00
Martin v. Löwis 9c17ff91f3 Merge heads 2014-02-28 15:47:15 +01:00
Martin v. Löwis 78f1e4c865 Merge with 3.3 2014-02-28 15:43:36 +01:00
Nick Coghlan f808df39de Close #20568: install unversioned pip command on Windows 2014-02-28 23:37:35 +10:00
Nick Coghlan 4a6dc3a726 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.
2014-02-28 23:35:05 +10:00
Terry Jan Reedy 78c330d714 Merge with 3.3 2014-02-27 18:48:13 -05:00
Antoine Pitrou b5782de463 Null merge 2014-02-28 00:34:47 +01:00
R David Murray 871119eb2f 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.
2014-02-27 18:01:43 -05:00
Antoine Pitrou b807577da2 Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten. 2014-02-27 22:14:31 +01:00
Benjamin Peterson 3673670b67 fix importlib test failure when bytecode writing is disabled (closes #20796)
Patch by Berker Peksag.
2014-02-27 13:49:34 -05:00
Brett Cannon 26dd0ff075 Issue #20763: Fix importlib.machinery.PathFinder to support
PathEntryFinder instances which only define find_module().

Reported by Yukihiro Nakadaira.
2014-02-26 18:26:49 -05:00
Serhiy Storchaka 517b74734a Added tests for issue #20501. 2014-02-26 20:59:43 +02:00
R David Murray 9251d59523 whatsnew: expand pbkdf2_hmac entry slightly. 2014-02-26 13:07:21 -05:00
R David Murray d2d81f0163 whatsnew: reformat pdb entry to match style of most other module entries.
That is: one paragraph per feature.
2014-02-26 12:52:51 -05:00
R David Murray bdf5efa10c whatsnew: reword the contextlib.redirect_stdout entry for increased clarity. 2014-02-26 12:46:19 -05:00
Zachary Ware 7bbd101bb1 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.
2014-02-26 10:40:38 -06:00
Zachary Ware 5ea5d2c3f7 Issue #20759: Fix some typos in the mock docs. 2014-02-26 09:34:43 -06:00
R David Murray 80ebf6d171 whatsnew: attribute base64 memoryview change to Nick. 2014-02-26 10:09:25 -05:00
R David Murray 63f4dd5e8f whatsnew: pprint's compact option. 2014-02-26 09:51:58 -05:00
Antoine Pitrou dc9215f882 Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten. 2014-02-27 22:14:31 +01:00
Benjamin Peterson 85736a7d2c merge 3.3 (#20796) 2014-02-27 13:50:28 -05:00
Brett Cannon d3acef9bf4 Issue #20763: Fix importlib.machinery.PathFinder to support
PathEntryFinder instances which only define find_module().

Reported by Yukihiro Nakadaira.
2014-02-26 18:26:49 -05:00
Serhiy Storchaka 9fff849dbf Added tests for issue #20501. 2014-02-26 21:03:19 +02:00
Zachary Ware f8a5892140 Merge with 3.3 2014-02-26 10:41:40 -06:00
Victor Stinner c89c8a7be9 asyncio/windows_events.py: use more revelant names to overlapped callbacks
For example: "finish_recv", not just "finish".
2014-02-26 17:35:30 +01:00
Zachary Ware 984689821d Close #20759: Fix some typos in the mock docs. (Merge with 3.3) 2014-02-26 09:38:39 -06:00
Victor Stinner 658103f84e 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).
2014-02-26 11:31:55 +01:00
Victor Stinner f5e37037cc asyncio: Fix pyflakes warnings: remove unused variables and imports 2014-02-26 11:07:42 +01:00
Victor Stinner 24ba203504 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.
2014-02-26 10:25:02 +01:00
Gregory P. Smith 71ec82a501 null merge 2014-02-25 16:46:41 -08:00
Gregory P. Smith 7b80716cff Mention issue 20621 fix in the NEWS file for 3.3.5rc1.
This bug was of the major reasons for the release.
2014-02-25 16:45:55 -08:00
R David Murray 13cc883aaa 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.
2014-02-25 16:03:14 -05:00
R David Murray 1e923de0bf Fix formatting in NEWS entry. 2014-02-25 14:36:20 -05:00
Antoine Pitrou ef85119618 Issue #20765: Add missing documentation for PurePath.with_name() and PurePath.with_suffix(). 2014-02-25 20:33:02 +01:00
Serhiy Storchaka 5df7dc53dc Null merge 2014-02-25 20:02:05 +02:00
Serhiy Storchaka 270ce7360c Fix typo (issue #19619). 2014-02-25 20:00:48 +02:00
R David Murray 77d73facdc whatsnew: encoding is now optional in PYTHONIOENCODING (#18818) 2014-02-25 10:55:29 -05:00
R David Murray 6c0f707cd1 whatsnew: logging SocketHandler and DatagramHandler support Unix domain sockets. 2014-02-25 10:39:56 -05:00
R David Murray 7cae336890 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.
2014-02-25 10:22:50 -05:00
Guido van Rossum 3e97585b3e Clarify that flow control works for datagrams, except on BSD. 2014-02-24 14:31:25 -08:00