]>
granicus.if.org Git - python/log
Larry Hastings [Sun, 19 Apr 2015 20:50:12 +0000 (13:50 -0700)]
Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.
Christian Heimes [Sun, 19 Apr 2015 19:15:02 +0000 (21:15 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:12:14 +0000 (21:12 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:08:42 +0000 (21:08 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
Serhiy Storchaka [Sun, 19 Apr 2015 18:13:00 +0000 (21:13 +0300)]
Fixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 18:11:30 +0000 (21:11 +0300)]
Fixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 17:38:19 +0000 (20:38 +0300)]
Use PyArg_ParseTuple (new API) instead of PyArg_Parse (old API) for parsing tuples.
doko@ubuntu.com [Sun, 19 Apr 2015 12:44:05 +0000 (14:44 +0200)]
- #22980: fix triplet configure test for more targets
Berker Peksag [Sun, 19 Apr 2015 01:38:01 +0000 (04:38 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:37:35 +0000 (04:37 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:32:52 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
Berker Peksag [Sun, 19 Apr 2015 01:32:23 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
Vinay Sajip [Sat, 18 Apr 2015 12:15:10 +0000 (13:15 +0100)]
Closes #23536: Clarified scope of fileConfig()'s API.
Vinay Sajip [Sat, 18 Apr 2015 12:14:10 +0000 (13:14 +0100)]
Issue #23536: Clarified scope of fileConfig()'s API.
Christian Heimes [Sat, 18 Apr 2015 03:54:02 +0000 (05:54 +0200)]
Remove local dead code. In both blocks dir is always greater 0.
Serhiy Storchaka [Fri, 17 Apr 2015 18:18:49 +0000 (21:18 +0300)]
Issue #20181: Converted the unicodedata module to Argument Clinic.
Serhiy Storchaka [Fri, 17 Apr 2015 18:05:18 +0000 (21:05 +0300)]
Issue #20184: Converted _dbm and _gdbm modules to Argument Clinic.
Berker Peksag [Fri, 17 Apr 2015 01:58:45 +0000 (04:58 +0300)]
Fix two typos in AbstractBasicAuthHandler documentation.
R David Murray [Thu, 16 Apr 2015 22:54:56 +0000 (18:54 -0400)]
#16914: fix test errors under -W error::BytesWarning.
There are doubtless other debug messages in smtplib that would trigger an
error if they were tested, but this fixes the things we do now test,
which is good enough for now.
R David Murray [Thu, 16 Apr 2015 21:24:52 +0000 (17:24 -0400)]
#16914: reflow paragraph and add missing versionchanged.
R David Murray [Thu, 16 Apr 2015 21:16:15 +0000 (17:16 -0400)]
News item for #16914.
R David Murray [Thu, 16 Apr 2015 21:14:42 +0000 (17:14 -0400)]
#16914: add timestamps to smtplib debugging output via new debuglevel 2.
Patch by Gavin Chappell and Maciej Szulik.
R David Murray [Thu, 16 Apr 2015 20:36:18 +0000 (16:36 -0400)]
#7159: generalize urllib prior auth support.
This fix is a superset of the functionality introduced by the issue #19494
enhancement, and supersedes that fix. Instead of a new handler, we have a new
password manager that tracks whether we should send the auth for a given uri.
This allows us to say "always send", satisfying #19494, or track that we've
succeeded in auth and send the creds right away on every *subsequent* request.
The support for using the password manager is added to AbstractBasicAuth,
which means the proxy handler also now can handle prior auth if passed
the new password manager.
Patch by Akshit Khurana, docs mostly by me.
Christian Heimes [Thu, 16 Apr 2015 18:26:19 +0000 (20:26 +0200)]
Merge
Christian Heimes [Thu, 16 Apr 2015 18:25:03 +0000 (20:25 +0200)]
Update coverity modeling file to silence datetime warnings
R David Murray [Thu, 16 Apr 2015 16:15:09 +0000 (12:15 -0400)]
#18128: use standard +NNNN timezone format in POT-Creation-Date header.
Patch by Michael McFadden, with a few small style tweaks.
Christian Heimes [Thu, 16 Apr 2015 15:29:11 +0000 (17:29 +0200)]
Remove redundant check fro md5module.
CID
1294331 (#1 of 1): Identical code for different branches (IDENTICAL_BRANCHES)
Christian Heimes [Thu, 16 Apr 2015 15:25:45 +0000 (17:25 +0200)]
Remove redundant check for tb != NULL to shut up Coverity . It has been set to Py_None a couple of lines earlier.
CID
1291697 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking tb suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
Christian Heimes [Thu, 16 Apr 2015 15:21:54 +0000 (17:21 +0200)]
Fix typo in assert statement
Serhiy Storchaka [Thu, 16 Apr 2015 08:58:11 +0000 (11:58 +0300)]
Null merge
Serhiy Storchaka [Thu, 16 Apr 2015 08:54:14 +0000 (11:54 +0300)]
Backported tests from issue #20175.
Serhiy Storchaka [Thu, 16 Apr 2015 08:19:43 +0000 (11:19 +0300)]
Issue #20175: Converted the _io module to Argument Clinic.
Larry Hastings [Thu, 16 Apr 2015 03:02:12 +0000 (23:02 -0400)]
Issue #23935: Argument Clinic's understanding of format units
accepting bytes, bytearrays, and buffers is now consistent with
both the documentation and the implementation.
Ned Deily [Thu, 16 Apr 2015 00:11:47 +0000 (17:11 -0700)]
Issues #22980, 23969: For OS X, use PEP 3149-style file names for extension
module binaries, with a platform triple of just "darwin", resulting in
file names like:
_ssl.cpython-35m-darwin.so
rather than just _ssl.so as previously.
Instead of attempting to encode differences in CPU architecture and OS X
deployment targets in the file name as is done on other platforms,
these continue to be managed by the use of Apple multi-architecture
("fat") files, by the system dynamic loader, and by logic in higher-levels
like sysconfig.get_platform() and pip.
Berker Peksag [Wed, 15 Apr 2015 23:31:14 +0000 (02:31 +0300)]
Issue #23703: Fix a regression in urljoin() introduced in
901e4e52b20a .
Patch by Demian Brecht.
Steve Dower [Wed, 15 Apr 2015 22:06:05 +0000 (18:06 -0400)]
Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari
doko@ubuntu.com [Wed, 15 Apr 2015 21:31:02 +0000 (23:31 +0200)]
#22980: fix triplet configure test for powerpc-linux-gnu
R David Murray [Wed, 15 Apr 2015 21:08:45 +0000 (17:08 -0400)]
#23949: Improve tuple unpacking error messages.
Patch by Arnon Yaari.
Steve Dower [Wed, 15 Apr 2015 20:18:58 +0000 (16:18 -0400)]
Updates layout of some text in the Windows installer.
Steve Dower [Wed, 15 Apr 2015 20:10:59 +0000 (16:10 -0400)]
Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok.
doko@ubuntu.com [Wed, 15 Apr 2015 18:52:39 +0000 (20:52 +0200)]
- #22980: fix typo in Lib/test/test_sysconfig.py triplet test
doko@ubuntu.com [Wed, 15 Apr 2015 18:45:33 +0000 (20:45 +0200)]
- configure.ac: remove duplicate PLATDIR definition
doko@ubuntu.com [Wed, 15 Apr 2015 18:23:14 +0000 (20:23 +0200)]
- Issue #22980: Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include
the architecture triplet in the extension name, to make it easy to test builds
for different ABIs in the same working tree.
Eric V. Smith [Wed, 15 Apr 2015 14:27:58 +0000 (10:27 -0400)]
Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and tarfile.TarFile.extractall().
Benjamin Peterson [Wed, 15 Apr 2015 04:00:41 +0000 (00:00 -0400)]
add Allison Kaptur (#21217)
Benjamin Peterson [Wed, 15 Apr 2015 02:12:14 +0000 (22:12 -0400)]
properly wrap
Gregory P. Smith [Tue, 14 Apr 2015 23:14:25 +0000 (16:14 -0700)]
Add a subprocess.run() function than returns a CalledProcess instance for a
more consistent API than the existing call* functions.
(enhancement from issue 23342)
Antoine Pitrou [Tue, 14 Apr 2015 22:41:29 +0000 (00:41 +0200)]
Issue #21217: inspect.getsourcelines() now tries to compute the start and
end lines from the code object, fixing an issue when a lambda function is
used as decorator argument. Patch by Thomas Ballinger.
Steve Dower [Tue, 14 Apr 2015 22:34:04 +0000 (18:34 -0400)]
Updates Windows installer to promote per-user installs over all-users.
Steve Dower [Tue, 14 Apr 2015 22:34:04 +0000 (18:34 -0400)]
Generates and signs a self-extracting executable containing an embedded Python.
Gregory P. Smith [Tue, 14 Apr 2015 22:25:01 +0000 (15:25 -0700)]
issue9859: add the missing versionadded tag to the documentation.
Larry Hastings [Tue, 14 Apr 2015 22:07:59 +0000 (18:07 -0400)]
Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.
R David Murray [Tue, 14 Apr 2015 21:58:40 +0000 (17:58 -0400)]
Merge: #23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
R David Murray [Tue, 14 Apr 2015 21:57:41 +0000 (17:57 -0400)]
#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
Patch by Jamiel Almeida.
Gregory P. Smith [Tue, 14 Apr 2015 20:54:09 +0000 (13:54 -0700)]
issue9859: Use an expected failure rather than a skip.
Zachary Ware [Tue, 14 Apr 2015 20:46:22 +0000 (15:46 -0500)]
Closes #23956: Merge with 3.4
Zachary Ware [Tue, 14 Apr 2015 20:43:00 +0000 (15:43 -0500)]
Issue #23956: Fix typo in imp.py docstring.
Patch by Jacinda Shelly.
R David Murray [Tue, 14 Apr 2015 20:42:49 +0000 (16:42 -0400)]
Merge: #23957: fix typo.
R David Murray [Tue, 14 Apr 2015 20:42:08 +0000 (16:42 -0400)]
#23957: fix typo.
Gregory P. Smith [Tue, 14 Apr 2015 20:26:06 +0000 (13:26 -0700)]
issue9859: Document test.support.detect_api_mismatch() and simplify its test.
Gregory P. Smith [Tue, 14 Apr 2015 20:24:34 +0000 (13:24 -0700)]
issue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only.
Gregory P. Smith [Tue, 14 Apr 2015 19:58:05 +0000 (12:58 -0700)]
issue9859: Adds a CPyMatchTest test case to compare the exposed APIs
of the Python io module and the C io module. They do not currently
match so the failing test is marked with @unittest.skip.
Gregory P. Smith [Tue, 14 Apr 2015 19:56:53 +0000 (12:56 -0700)]
issue9859: Adds a test.support.detect_api_mismatch function useful to
compare the public APIs of two modules or classes.
Gregory P. Smith [Tue, 14 Apr 2015 18:21:26 +0000 (11:21 -0700)]
issue9014: Include more formatting on :c:type:`PyObject` etc.
Gregory P. Smith [Tue, 14 Apr 2015 18:21:05 +0000 (11:21 -0700)]
issue9014: Include more formatting on :c:type:`PyObject` etc.
Gregory P. Smith [Tue, 14 Apr 2015 18:13:14 +0000 (11:13 -0700)]
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
Gregory P. Smith [Tue, 14 Apr 2015 18:12:53 +0000 (11:12 -0700)]
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
Gregory P. Smith [Tue, 14 Apr 2015 17:05:02 +0000 (10:05 -0700)]
remove trailing space
Gregory P. Smith [Tue, 14 Apr 2015 17:04:30 +0000 (10:04 -0700)]
remove trailing space :)
Gregory P. Smith [Tue, 14 Apr 2015 17:02:49 +0000 (10:02 -0700)]
issue22046: mention that zipfile can raise NotImplementedError on unsupported
compression algorithms.
Gregory P. Smith [Tue, 14 Apr 2015 17:02:20 +0000 (10:02 -0700)]
issue22046: mention that zipfile can raise NotImplementedError on unsupported
compression algorithms.
Zachary Ware [Tue, 14 Apr 2015 16:53:03 +0000 (11:53 -0500)]
Update Tcl/Tk to 8.6.4.
The new version of Tcl/Tk plays nice(r) with VS2015 CTP 6+.
Zachary Ware [Tue, 14 Apr 2015 15:58:06 +0000 (10:58 -0500)]
Actually build Tix.
It's been absent from all alpha releases, which apparently nobody has noticed.
Berker Peksag [Tue, 14 Apr 2015 15:58:45 +0000 (18:58 +0300)]
Issue #23811: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.
Berker Peksag [Tue, 14 Apr 2015 15:57:55 +0000 (18:57 +0300)]
Issue #23811: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.
Andrew Kuchling [Tue, 14 Apr 2015 15:44:40 +0000 (11:44 -0400)]
#21146: give a more efficient recipe in gzip docs
Andrew Kuchling [Tue, 14 Apr 2015 14:35:43 +0000 (10:35 -0400)]
Merge from 3.4
Andrew Kuchling [Tue, 14 Apr 2015 14:18:46 +0000 (10:18 -0400)]
Reword NEWS item a bit
Andrew Kuchling [Tue, 14 Apr 2015 13:59:09 +0000 (09:59 -0400)]
Merge from 3.4
Łukasz Langa [Tue, 14 Apr 2015 07:15:42 +0000 (00:15 -0700)]
Merge 3.4 (#23310)
Łukasz Langa [Tue, 14 Apr 2015 07:12:57 +0000 (00:12 -0700)]
Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
Berker Peksag [Tue, 14 Apr 2015 06:35:51 +0000 (09:35 +0300)]
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
Berker Peksag [Tue, 14 Apr 2015 06:30:01 +0000 (09:30 +0300)]
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
Łukasz Langa [Tue, 14 Apr 2015 06:12:42 +0000 (23:12 -0700)]
Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
Benjamin Peterson [Tue, 14 Apr 2015 00:25:11 +0000 (20:25 -0400)]
merge 3.4 (#23929)
Benjamin Peterson [Tue, 14 Apr 2015 00:24:10 +0000 (20:24 -0400)]
remove useless word (closes #23929)
R David Murray [Tue, 14 Apr 2015 00:04:29 +0000 (20:04 -0400)]
#11754: test contents of string module attributes.
As noted in the comment, while the order of the items in the attributes is not
technically guaranteed, after all this time there is almost certainly user
code out there that relies on it, so we might as well test for it.
Patch by Chalmer Lowe.
Zachary Ware [Mon, 13 Apr 2015 23:34:57 +0000 (18:34 -0500)]
Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 23:33:41 +0000 (18:33 -0500)]
Make Argument Clinic's '--make' option work on Windows.
Zachary Ware [Mon, 13 Apr 2015 23:22:35 +0000 (18:22 -0500)]
Issue #20586: Argument Clinic now ensures signatures on functions without docstrings.
Larry Hastings [Mon, 13 Apr 2015 21:48:40 +0000 (17:48 -0400)]
Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
Patch courtesy of Joe Jevnik.
Zachary Ware [Mon, 13 Apr 2015 21:44:05 +0000 (16:44 -0500)]
Closes #23730: merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 21:40:49 +0000 (16:40 -0500)]
Issue #23730: Document the return value of ZipFile.extract
Patch by Stéphane Wirtel.
Zachary Ware [Mon, 13 Apr 2015 20:51:59 +0000 (15:51 -0500)]
Closes #23938: List Windows XP as an unsupported platform.
Patch by Alex Walters.
Brett Cannon [Mon, 13 Apr 2015 20:32:16 +0000 (16:32 -0400)]
Fix a grammar error in the porting HOWTO as found by Eric Smith.
Brett Cannon [Mon, 13 Apr 2015 20:28:11 +0000 (16:28 -0400)]
Issue #23822: Fix test_py_compile to not fail under -O.
Brett Cannon [Mon, 13 Apr 2015 20:21:07 +0000 (16:21 -0400)]
Issue #23733: Mention bytes.__mod__ in the porting HOWTO.
doko@ubuntu.com [Mon, 13 Apr 2015 20:11:34 +0000 (22:11 +0200)]
merge heads
doko@ubuntu.com [Mon, 13 Apr 2015 20:10:47 +0000 (22:10 +0200)]
merge 3.4
doko@ubuntu.com [Mon, 13 Apr 2015 20:10:21 +0000 (22:10 +0200)]
- Makefile.pre.in (LIBPL): Use the definition from configure.ac