Nick Coghlan [Sat, 8 Mar 2014 06:36:37 +0000 (16:36 +1000)]
Improve descriptions of introspection changes
Several of the introspection changes in Python 3.4 are indirect,
where inspect module changes affected pydoc, and those in turn
affected the help builtin. This update adds versionchanged
notes in the key locations, as well as more coverage in the
What's New document (in particular, a note in the porting
section regarding the expanded domain for inspect.getfullargspec).
R David Murray [Sat, 8 Mar 2014 01:04:41 +0000 (20:04 -0500)]
#10197: Update get[status]output versionchanged with actual version.
This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only. However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.
Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(
R David Murray [Sat, 8 Mar 2014 01:04:17 +0000 (20:04 -0500)]
#10197: Update get[status]output versionchanged with actual version.
This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only. However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.
Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(
Zachary Ware [Thu, 6 Mar 2014 19:28:08 +0000 (13:28 -0600)]
Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel. In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.
Zachary Ware [Thu, 6 Mar 2014 19:21:45 +0000 (13:21 -0600)]
Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel. In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
Make the various iterators' "setstate" sliently and consistently clip the
index. This avoids the possibility of setting an iterator to an invalid
state.
R David Murray [Mon, 3 Mar 2014 13:56:43 +0000 (08:56 -0500)]
whatsnew: tweak a couple importlib porting notes.
I had missed that there was already an entry for the Frozen package change, so
I combined mine with the existing one. Also added the info about the reload
change to the entry for the other changes to reload, but I'm missing an issue
number for the rest of the attribute behavior changes so I left myself an
XXX as a reminder to find it.
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
Victor Stinner [Wed, 5 Mar 2014 23:52:53 +0000 (00:52 +0100)]
asyncio: Synchronize with Tulip
* Issue #159: Fix windows_utils.socketpair()
- Use "127.0.0.1" (IPv4) or "::1" (IPv6) host instead of "localhost", because
"localhost" may be a different IP address
- Reject also invalid arguments: only AF_INET/AF_INET6 with SOCK_STREAM (and
proto=0) are supported
* Reject add/remove reader/writer when event loop is closed.
* Fix ResourceWarning warnings
Make the various iterators' "setstate" sliently and consistently clip the
index. This avoids the possibility of setting an iterator to an invalid
state.
R David Murray [Sun, 2 Mar 2014 22:14:33 +0000 (17:14 -0500)]
whatsnew: add some issue number annotations.
Add issue number to tick_counter, PyOS_ReadlineFunctionPointer, marshal
optimizations (add Antoine's contribution to the entry under the marshal
module), and absolute paths in __file__.
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.
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.
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.