R David Murray [Sun, 9 Mar 2014 21:01:34 +0000 (17:01 -0400)]
whatsnew: SSLContext.verify_flags and constants. (#8813)
Ned Deily [Sun, 9 Mar 2014 21:47:58 +0000 (14:47 -0700)]
Issue #20875: Merge from 3.3
Ned Deily [Sun, 9 Mar 2014 21:44:34 +0000 (14:44 -0700)]
Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa.
R David Murray [Sun, 9 Mar 2014 19:29:24 +0000 (15:29 -0400)]
#20871: improve email policy test coverage.
More tests of the concrete policy methods would probably be
a good idea, but this is a start, and it brings line coverage
up to 100% for the policy module.
Patch by Milan Oberkirch.
R David Murray [Sun, 9 Mar 2014 19:09:04 +0000 (15:09 -0400)]
whatsnew: plistlib new api and deprecations (#14455)
Also fixed the versionchanged/deprecation tags in the docs.
R David Murray [Sun, 9 Mar 2014 16:55:58 +0000 (12:55 -0400)]
whatsnew: SSLSocket.getpeercert new values returned. (#18379)
R David Murray [Sun, 9 Mar 2014 16:03:30 +0000 (12:03 -0400)]
whatsnew: sys.__interactivehook__. (#5845)
I decided to leave the (slightly expanded) Other Improvements
entry as well, since someone looking for command line behavior
changes isn't going to look in the 'sys' module section.
Georg Brandl [Sun, 9 Mar 2014 10:17:23 +0000 (11:17 +0100)]
merge with 3.3.5 release repo
Georg Brandl [Sun, 9 Mar 2014 10:01:14 +0000 (11:01 +0100)]
Post-release update.
Georg Brandl [Sun, 9 Mar 2014 09:22:10 +0000 (10:22 +0100)]
hgtouch: remove meta-variable from option spec
This fifth tuple element is unsupported in an old hg version still used on
one buildbot, and it is not really necessary (only used in touch --help).
Georg Brandl [Sun, 9 Mar 2014 08:37:32 +0000 (09:37 +0100)]
Added tag v3.3.5 for changeset
62cf4e77f785
Georg Brandl [Sun, 9 Mar 2014 08:37:14 +0000 (09:37 +0100)]
Bump to 3.3.5 final.
R David Murray [Sun, 9 Mar 2014 04:19:45 +0000 (23:19 -0500)]
whatsnew: SSLcontext.load_verify_locations cadata argument (#18138)
R David Murray [Sun, 9 Mar 2014 04:18:09 +0000 (23:18 -0500)]
whatsnew: hmac conforms to pep 247. (#18775)
R David Murray [Sun, 9 Mar 2014 03:43:12 +0000 (22:43 -0500)]
whatsnew: hmac *digestmod* accepts strings, and default is deprecated. (#17276)
Georg Brandl [Sun, 9 Mar 2014 10:18:16 +0000 (11:18 +0100)]
merge with 3.3
Georg Brandl [Sun, 9 Mar 2014 09:22:46 +0000 (10:22 +0100)]
merge with 3.3
R David Murray [Sun, 9 Mar 2014 02:40:29 +0000 (21:40 -0500)]
whatsnew: tidy up html notes, add porting note for expand_charrefs.
R David Murray [Sun, 9 Mar 2014 02:23:21 +0000 (21:23 -0500)]
whatsnew: glob.escape.
R David Murray [Sat, 8 Mar 2014 17:53:28 +0000 (12:53 -0500)]
whatsnew: base65 encodings. (#17618)
Also updated the base64 module title and introduction to adjust for
the fact that these new encodings are included.
Also adjusted the wording about the base64 alphabets (see
issue #20837).
R David Murray [Sat, 8 Mar 2014 17:00:52 +0000 (12:00 -0500)]
whatsnew: dbm.open is context manager. (#19282)
R David Murray [Sat, 8 Mar 2014 16:46:05 +0000 (11:46 -0500)]
whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
R David Murray [Sat, 8 Mar 2014 16:14:29 +0000 (11:14 -0500)]
whatsnew: Wave_write handles unseekable files. (#5202)
Also clarify the documentation of this feature.
R David Murray [Sat, 8 Mar 2014 15:06:04 +0000 (10:06 -0500)]
Tweak NEWS so some additional issue numbers become links in html version.
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 02:35:31 +0000 (21:35 -0500)]
whatsnew: audioop accepts any bytes-like, rejects strings.
R David Murray [Sat, 8 Mar 2014 02:22:39 +0000 (21:22 -0500)]
whatsnew: inet_pton/inet_ntop support windows (#7171).
Added versionchanged to docs.
R David Murray [Sat, 8 Mar 2014 02:15:56 +0000 (21:15 -0500)]
whatsnew: sunau supports 24 bit samples.
R David Murray [Sat, 8 Mar 2014 02:00:34 +0000 (21:00 -0500)]
whatsnew: cp273 codec (#
10907797)
Also updated the docs and added the aliases mentioned by the
references.
R David Murray [Sat, 8 Mar 2014 01:06:24 +0000 (20:06 -0500)]
whatsnew: get[status|output] works on windows.
Since 3.3.4.... :(
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" :(
Brett Cannon [Fri, 7 Mar 2014 17:29:24 +0000 (12:29 -0500)]
null merge for issue #20812
Brett Cannon [Fri, 7 Mar 2014 17:28:35 +0000 (12:28 -0500)]
Issue #20813: Backport Python 2/3 HOWTO updates
Brett Cannon [Fri, 7 Mar 2014 17:27:10 +0000 (12:27 -0500)]
Issue #20812: Add a short opener to the Python 2/3 porting HOWTO.
Thanks to Nick Coghlan for the suggestion.
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.
Merge with 3.3.
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.
R David Murray [Thu, 6 Mar 2014 18:40:53 +0000 (13:40 -0500)]
whatsnew: note in deprecation section about html.parser strict.
R David Murray [Thu, 6 Mar 2014 17:58:25 +0000 (12:58 -0500)]
Remove redundant NEWS entry.
R David Murray [Thu, 6 Mar 2014 17:47:31 +0000 (12:47 -0500)]
whatsnew: rewrite resource entry: prlimit and new constants.
R David Murray [Thu, 6 Mar 2014 16:51:37 +0000 (11:51 -0500)]
whatsnew: ipaddress is_global
Also tweaked the docs a bit and added the missing entry for
the ipv6 is_global.
R David Murray [Thu, 6 Mar 2014 16:44:17 +0000 (11:44 -0500)]
#11558: Better message if attach called on non-multipart.
Original patch by Varun Sharma.
Victor Stinner [Thu, 6 Mar 2014 16:06:41 +0000 (17:06 +0100)]
tracemalloc.py: add comments to show the format of tuples
Victor Stinner [Thu, 6 Mar 2014 16:06:04 +0000 (17:06 +0100)]
tracemalloc.py: fix indentation
Serhiy Storchaka [Thu, 6 Mar 2014 09:28:32 +0000 (11:28 +0200)]
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
R David Murray [Wed, 5 Mar 2014 15:48:01 +0000 (10:48 -0500)]
whatsnew: improve PyZipFile filterfuc entry, and its docs (#19274).
Kristján Valur Jónsson [Wed, 5 Mar 2014 13:47:57 +0000 (13:47 +0000)]
Make the various iterators' "setstate" sliently and consistently clip the
index. This avoids the possibility of setting an iterator to an invalid
state.
Kristján Valur Jónsson [Tue, 4 Mar 2014 23:19:24 +0000 (23:19 +0000)]
Fix pickling of rangeiter. rangeiter_setstate would not allow setting it
to the exhausted state.
Serhiy Storchaka [Mon, 3 Mar 2014 19:17:17 +0000 (21:17 +0200)]
Correct comments and improve failure reports in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.
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.
R David Murray [Mon, 3 Mar 2014 13:26:49 +0000 (08:26 -0500)]
whatsnew: Windows build uses ASLR and DEP.
Serhiy Storchaka [Thu, 6 Mar 2014 09:36:15 +0000 (11:36 +0200)]
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 [Thu, 6 Mar 2014 00:00:36 +0000 (01:00 +0100)]
asyncio, Tulip issue 157: Improve test_events.py, avoid run_briefly() which is
not reliable
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
Kristján Valur Jónsson [Wed, 5 Mar 2014 15:23:07 +0000 (15:23 +0000)]
Make the various iterators' "setstate" sliently and consistently clip the
index. This avoids the possibility of setting an iterator to an invalid
state.
Kristján Valur Jónsson [Tue, 4 Mar 2014 23:22:15 +0000 (23:22 +0000)]
Merge with 3.3
Victor Stinner [Tue, 4 Mar 2014 22:07:08 +0000 (23:07 +0100)]
asyncio, Tulip issue 158: Task._step() now also sets self to None if an
exception is raised. self is set to None to break a reference cycle.
Nick Coghlan [Tue, 4 Mar 2014 10:39:42 +0000 (20:39 +1000)]
Close #20839: pkgutil.find_loader now uses importlib.util.find_spec
Ethan Furman [Mon, 3 Mar 2014 23:02:04 +0000 (15:02 -0800)]
Issue20653: fix ReST for Enum
Ethan Furman [Mon, 3 Mar 2014 20:42:52 +0000 (12:42 -0800)]
Close issue20653: improve functional API docs; minor code changes
Serhiy Storchaka [Mon, 3 Mar 2014 19:19:19 +0000 (21:19 +0200)]
Correct comments and improve failure reports in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.
Victor Stinner [Mon, 3 Mar 2014 10:57:57 +0000 (11:57 +0100)]
Close #20814: doc: Fix "Pretty top" example of tracemalloc
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__.
Martin v. Löwis [Sun, 2 Mar 2014 19:29:18 +0000 (20:29 +0100)]
Issue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.
Martin v. Löwis [Sun, 2 Mar 2014 18:42:50 +0000 (19:42 +0100)]
Issue #20465: Update Windows installer to SQLite 3.8.3.1.
Martin v. Löwis [Sun, 2 Mar 2014 18:29:19 +0000 (19:29 +0100)]
Issue #20748: Uninstalling pip does not leave behind the pyc of
the uninstaller anymore.
Martin v. Löwis [Sun, 2 Mar 2014 18:15:47 +0000 (19:15 +0100)]
Issue #20568: Fix typo in pip option.
Yury Selivanov [Sun, 2 Mar 2014 17:25:27 +0000 (12:25 -0500)]
Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__
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.
Georg Brandl [Sun, 2 Mar 2014 08:29:00 +0000 (09:29 +0100)]
Added tag v3.3.5rc2 for changeset
ca5635efe090
Georg Brandl [Sun, 2 Mar 2014 08:28:24 +0000 (09:28 +0100)]
merge with 3.3
Georg Brandl [Sun, 2 Mar 2014 08:19:03 +0000 (09:19 +0100)]
Bump to 3.3.5rc2.
Georg Brandl [Sun, 2 Mar 2014 08:18:41 +0000 (09:18 +0100)]
Update NEWS for 3.3.5rc2.
Georg Brandl [Sun, 2 Mar 2014 08:18:31 +0000 (09:18 +0100)]
Issue #20404: reject non-text encodings early in TextIOWrapper.
Georg Brandl [Sun, 2 Mar 2014 07:54:15 +0000 (08:54 +0100)]
merge 3.3.5rc1 release commits with 3.3 branch
Benjamin Peterson [Sun, 2 Mar 2014 00:16:51 +0000 (19:16 -0500)]
merge 3.3
Benjamin Peterson [Sun, 2 Mar 2014 00:16:12 +0000 (19:16 -0500)]
add Chris Angelico
Benjamin Peterson [Sun, 2 Mar 2014 00:14:48 +0000 (19:14 -0500)]
merge 3.3 (#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)
Ned Deily [Sat, 1 Mar 2014 22:04:48 +0000 (14:04 -0800)]
Issue #20465: fix NEWS typo (it's 3.8.3.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.
R David Murray [Sat, 1 Mar 2014 17:09:55 +0000 (12:09 -0500)]
whatsnew: memoryview is Sequence and supports Reversed.
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.
Benjamin Peterson [Sat, 1 Mar 2014 15:31:36 +0000 (10:31 -0500)]
fix test on debug builds (closes #20731)
Benjamin Peterson [Sat, 1 Mar 2014 07:03:57 +0000 (02:03 -0500)]
merge 3.2
R David Murray [Fri, 28 Feb 2014 18:30:27 +0000 (13:30 -0500)]
whatsnew: give Serhiy credit for audioop 24-bit sample support.
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.
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.
R David Murray [Fri, 28 Feb 2014 01:05:42 +0000 (20:05 -0500)]
whatsnew: compression libraries support 'x' mode.
R David Murray [Thu, 27 Feb 2014 23:55:34 +0000 (18:55 -0500)]
whatsnew: tarfile stat constants removal.
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
R David Murray [Thu, 27 Feb 2014 23:32:32 +0000 (18:32 -0500)]
whatsnew: return types of re functions.
Benjamin Peterson [Sat, 1 Mar 2014 15:34:22 +0000 (10:34 -0500)]
merge 3.3
Andrew Kuchling [Sat, 1 Mar 2014 12:53:28 +0000 (07:53 -0500)]
#16135: remove mentions of OS/2 from the documentation
Benjamin Peterson [Sat, 1 Mar 2014 07:04:10 +0000 (02:04 -0500)]
merge 3.3
Brett Cannon [Fri, 28 Feb 2014 15:50:34 +0000 (10:50 -0500)]
merge for issue #20778
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