]>
granicus.if.org Git - python/log
Raymond Hettinger [Mon, 8 Aug 2016 03:20:33 +0000 (20:20 -0700)]
Re-linewrap comments
Andrew Svetlov [Mon, 8 Aug 2016 00:11:06 +0000 (03:11 +0300)]
Merge 3.5
Andrew Svetlov [Mon, 8 Aug 2016 00:10:39 +0000 (03:10 +0300)]
Use asyncio.gather instead of asyncio.wait in example.
gather will raise exception in case of problem but wait just returns done and pending lists of futures.
For getting error every future result should be retrieved, which is boring and error prone.
Gregory P. Smith [Sun, 7 Aug 2016 17:19:20 +0000 (10:19 -0700)]
Issue #27664: Add to concurrent.futures.thread.ThreadPoolExecutor()
the ability to specify a thread name prefix.
Gregory P. Smith [Sun, 7 Aug 2016 16:06:27 +0000 (09:06 -0700)]
Issue #26750: unittest.mock.create_autospec() now works properly for
subclasses of property() and other data descriptors. Removes the never
publicly used, never documented unittest.mock.DescriptorTypes tuple.
Gregory P. Smith [Sun, 7 Aug 2016 15:52:26 +0000 (08:52 -0700)]
Issue #26750: unittest.mock.create_autospec() now works properly
for subclasses of property() and other data descriptors.
Guido van Rossum [Sat, 6 Aug 2016 20:48:10 +0000 (13:48 -0700)]
Better docs for typing.Any by Michael Lee. Fixes issue #27688. (Merge 3.5->3.6)
Guido van Rossum [Sat, 6 Aug 2016 20:46:48 +0000 (13:46 -0700)]
Better docs for typing.Any by Michael Lee. Fixes issue #27688.
Serhiy Storchaka [Sat, 6 Aug 2016 20:29:29 +0000 (23:29 +0300)]
Issue #26754: Undocumented support of general bytes-like objects
as path in compile() and similar functions is now deprecated.
Serhiy Storchaka [Sat, 6 Aug 2016 20:22:08 +0000 (23:22 +0300)]
Issue #26800: Undocumented support of general bytes-like objects
as paths in os functions is now deprecated.
Berker Peksag [Sat, 6 Aug 2016 10:37:22 +0000 (13:37 +0300)]
Silence warnings from 'make suspicious' to make the docs buildbot happy
Vinay Sajip [Sat, 6 Aug 2016 09:43:44 +0000 (10:43 +0100)]
Closes #22829: Added --prompt option to venv.
Vinay Sajip [Sat, 6 Aug 2016 09:28:31 +0000 (10:28 +0100)]
Closes #27650: Implemented repr methods for logging objects.
Berker Peksag [Sat, 6 Aug 2016 00:00:30 +0000 (03:00 +0300)]
Issue #18548: Merge from 3.5
Berker Peksag [Sat, 6 Aug 2016 00:00:03 +0000 (03:00 +0300)]
Issue #18548: Fix unittest.TestSuite() example
Initial patch by py.user.
Ethan Furman [Fri, 5 Aug 2016 23:03:16 +0000 (16:03 -0700)]
Add AutoEnum: automatically provides next value if missing. Issue 26988.
Ethan Furman [Fri, 5 Aug 2016 22:10:16 +0000 (15:10 -0700)]
Clarify NotImplemented vs NotImplementedError. Initial patch by Emmanuel Barry. Closes issue 27242.
Vinay Sajip [Fri, 5 Aug 2016 20:44:52 +0000 (21:44 +0100)]
Closes #20160: Merged fix from 3.5.
Vinay Sajip [Fri, 5 Aug 2016 20:44:15 +0000 (21:44 +0100)]
Issue #20160: Merged fix from 3.4.
Vinay Sajip [Fri, 5 Aug 2016 20:43:25 +0000 (21:43 +0100)]
Issue #20160: Merged fix from 3.3.
Vinay Sajip [Fri, 5 Aug 2016 20:24:27 +0000 (21:24 +0100)]
Issue #20160: Handled passing of large structs to callbacks correctly.
Guido van Rossum [Fri, 5 Aug 2016 19:57:38 +0000 (12:57 -0700)]
Add typing.Generator docs, by Michael Lee. (Merge 3.5->3.6)
Guido van Rossum [Fri, 5 Aug 2016 19:56:09 +0000 (12:56 -0700)]
Add typing.Generator docs, by Michael Lee.
Martin Panter [Fri, 5 Aug 2016 01:51:39 +0000 (01:51 +0000)]
Merge spelling and grammar fixes from 3.5
Zachary Ware [Thu, 4 Aug 2016 17:14:51 +0000 (12:14 -0500)]
Merge with 3.5
Zachary Ware [Thu, 4 Aug 2016 17:13:47 +0000 (12:13 -0500)]
Fix half-finished sentence.
Reported by Linda Pescatore on docs@.
Berker Peksag [Thu, 4 Aug 2016 14:26:00 +0000 (17:26 +0300)]
Merge from 3.5
Berker Peksag [Thu, 4 Aug 2016 14:25:40 +0000 (17:25 +0300)]
Fix indentation of versionadded directive in IPv4Address.reverse_pointer docs
Berker Peksag [Thu, 4 Aug 2016 14:22:05 +0000 (17:22 +0300)]
Merge from 3.5
Berker Peksag [Thu, 4 Aug 2016 14:21:46 +0000 (17:21 +0300)]
Indent ipaddress.ip_address() example correctly
Martin Panter [Thu, 4 Aug 2016 13:07:31 +0000 (13:07 +0000)]
Fix spelling and grammar in documentation and code comments
Benjamin Peterson [Thu, 4 Aug 2016 05:02:42 +0000 (22:02 -0700)]
merge 3.5 (#27670)
Benjamin Peterson [Thu, 4 Aug 2016 05:01:32 +0000 (22:01 -0700)]
https link to the bug tracker (closes #27670)
Martin Panter [Thu, 4 Aug 2016 02:38:59 +0000 (02:38 +0000)]
Issue #17599: Use unique _Py_REPARSE_DATA_BUFFER etc names to avoid conflict
The conflict occurs with Min GW, which already defines REPARSE_DATA_BUFFER.
Also, Min GW uses a lowercase <windows.h> filename.
Martin Panter [Thu, 4 Aug 2016 01:53:40 +0000 (01:53 +0000)]
Issue #27641: Merge cross-compiling improvement from 3.5
Martin Panter [Thu, 4 Aug 2016 01:51:32 +0000 (01:51 +0000)]
Issue #24278: Merge argument parsing docs from 3.5
Donald Stufft [Wed, 3 Aug 2016 22:49:46 +0000 (18:49 -0400)]
Merge 3.5
Donald Stufft [Wed, 3 Aug 2016 22:49:19 +0000 (18:49 -0400)]
Merge 3.4
Donald Stufft [Wed, 3 Aug 2016 22:48:17 +0000 (18:48 -0400)]
Merge 3.3
Donald Stufft [Wed, 3 Aug 2016 22:43:38 +0000 (18:43 -0400)]
Switch upload.pypi.io to upload.pypi.org
Martin Panter [Wed, 3 Aug 2016 14:35:05 +0000 (14:35 +0000)]
Issue #24278: Explain how argument parsing output buffers are managed
Berker Peksag [Wed, 3 Aug 2016 09:59:16 +0000 (12:59 +0300)]
Issue #23710: Merge from 3.5
Berker Peksag [Wed, 3 Aug 2016 09:58:49 +0000 (12:58 +0300)]
Issue #23710: Update PyObject_HEAD documentation
Since PEP 3123, PyObject_HEAD only has one field named ob_base.
Users now need to use the Py_TYPE macro instead of self->ob_type.
Initial patch by Ammar Askar.
Stefan Krah [Wed, 3 Aug 2016 09:18:54 +0000 (11:18 +0200)]
Merge 3.5.
Stefan Krah [Wed, 3 Aug 2016 09:18:26 +0000 (11:18 +0200)]
Issue #20767: Fix -R option for FreeBSD/clang.
Berker Peksag [Wed, 3 Aug 2016 07:17:51 +0000 (10:17 +0300)]
Issue #26576: Merge from 3.5
Berker Peksag [Wed, 3 Aug 2016 07:17:21 +0000 (10:17 +0300)]
Issue #26576: Clarify that the @deco syntax is not always an equivalent of f = deco(f)
Patch by Chris Angelico.
Alexander Belopolsky [Tue, 2 Aug 2016 21:49:30 +0000 (17:49 -0400)]
Closes #27661: Added tzinfo keyword argument to datetime.combine.
Stefan Krah [Tue, 2 Aug 2016 20:30:57 +0000 (22:30 +0200)]
Merge 3.5.
Stefan Krah [Tue, 2 Aug 2016 20:30:24 +0000 (22:30 +0200)]
Issue #27241: Catch exception when running pstats as main.
Serhiy Storchaka [Tue, 2 Aug 2016 19:51:21 +0000 (22:51 +0300)]
Issue #22557: Now importing already imported modules is up to 2.5 times faster.
Senthil Kumaran [Sun, 31 Jul 2016 06:51:13 +0000 (23:51 -0700)]
[merge from 3.5] - Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Senthil Kumaran [Sun, 31 Jul 2016 06:48:19 +0000 (23:48 -0700)]
merge heads
Senthil Kumaran [Sun, 31 Jul 2016 06:39:06 +0000 (23:39 -0700)]
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Senthil Kumaran [Sun, 31 Jul 2016 06:34:34 +0000 (23:34 -0700)]
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Senthil Kumaran [Sun, 31 Jul 2016 06:24:16 +0000 (23:24 -0700)]
Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Benjamin Peterson [Sun, 31 Jul 2016 06:22:24 +0000 (23:22 -0700)]
merge 3.5 (#27656)
Benjamin Peterson [Sun, 31 Jul 2016 06:21:50 +0000 (23:21 -0700)]
all SCHED_ constants are optional (closes #27656)
Nick Coghlan [Sun, 31 Jul 2016 02:42:49 +0000 (12:42 +1000)]
Issue 27366: PEP 487 docs updates
- Porting note for type keyword arg handling
- __init_subclass__ note regarding metaclass hint
Alexander Belopolsky [Sat, 30 Jul 2016 15:41:02 +0000 (11:41 -0400)]
Issue 24773: Use the standard Asia/Tehran name in the Iran test.
Berker Peksag [Sat, 30 Jul 2016 11:14:12 +0000 (14:14 +0300)]
Issue #27652: Expose ESHUTDOWN conditionally
ESHUTDOWN is also exposed conditionally in Modules/errnomodule.c.
Patch by Ed Schouten.
Berker Peksag [Sat, 30 Jul 2016 11:06:15 +0000 (14:06 +0300)]
Issue #27366: Tweak PEP 487 documentation
* Added versionadded directives
* Deleted duplicate sentence from __init_subclass__ docstring
* Modernized tests
Xavier de Gaye [Sat, 30 Jul 2016 09:36:32 +0000 (11:36 +0200)]
(merge from 3.5) Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.
Xavier de Gaye [Sat, 30 Jul 2016 09:28:35 +0000 (11:28 +0200)]
Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.
Nick Coghlan [Sat, 30 Jul 2016 06:26:03 +0000 (16:26 +1000)]
Issue #27366: Implement PEP 487
- __init_subclass__ called when new subclasses defined
- __set_name__ called when descriptors are part of a
class definition
Berker Peksag [Sat, 30 Jul 2016 00:48:12 +0000 (03:48 +0300)]
Merge from 3.5
Berker Peksag [Sat, 30 Jul 2016 00:47:52 +0000 (03:47 +0300)]
Silence another "default role used" warning in typing.rst
This should make ware-docs green again.
Berker Peksag [Sat, 30 Jul 2016 00:40:38 +0000 (03:40 +0300)]
Fix "default role used" warning in shlex.rst
Guido van Rossum [Fri, 29 Jul 2016 22:41:35 +0000 (15:41 -0700)]
Fix whitespace.
Guido van Rossum [Fri, 29 Jul 2016 22:41:17 +0000 (15:41 -0700)]
Fix whitespace.
Guido van Rossum [Fri, 29 Jul 2016 22:39:36 +0000 (15:39 -0700)]
Expand documentation about type aliases and NewType in the typing module (merge 3.5 -> 3.6).
By Michael Lee.
Guido van Rossum [Fri, 29 Jul 2016 22:38:14 +0000 (15:38 -0700)]
Expand documentation about type aliases and NewType in the typing module.
By Michael Lee.
Vinay Sajip [Fri, 29 Jul 2016 21:35:03 +0000 (22:35 +0100)]
Closes #
1521950 : Made shlex parsing more shell-like.
Martin Panter [Fri, 29 Jul 2016 05:52:32 +0000 (05:52 +0000)]
Issue #27641: Comment out regeneration rules when cross compiling
Martin Panter [Fri, 29 Jul 2016 04:00:44 +0000 (04:00 +0000)]
Issue #17596: MINGW: add wincrypt.h in Python/random.c
Based on patch by Roumen Petrov.
Martin Panter [Fri, 29 Jul 2016 01:49:37 +0000 (01:49 +0000)]
Issue #26462: Merge code block fixes from 3.5
Zachary Ware [Fri, 29 Jul 2016 00:01:09 +0000 (19:01 -0500)]
Merge with 3.5
Zachary Ware [Fri, 29 Jul 2016 00:00:53 +0000 (19:00 -0500)]
Correct typo in Windows docs.
Found by Jack Copper on docs@
Zachary Ware [Thu, 28 Jul 2016 23:39:11 +0000 (18:39 -0500)]
Issue #27647: Update Windows build to Tcl/Tk 8.6.6
Victor Stinner [Thu, 28 Jul 2016 15:08:52 +0000 (17:08 +0200)]
Merge 3.5 (issue #27404)
Victor Stinner [Thu, 28 Jul 2016 15:06:25 +0000 (17:06 +0200)]
NEWS: tag security related changes with [Security] prefix
Issue #27404.
Martin Panter [Thu, 28 Jul 2016 03:53:59 +0000 (03:53 +0000)]
Issue #23943: Merge spelling fixes from 3.5
Martin Panter [Thu, 28 Jul 2016 03:48:29 +0000 (03:48 +0000)]
Issue #23943: Restore extra fixes lost in merge
4fb2075952a4
Terry Jan Reedy [Thu, 28 Jul 2016 02:17:05 +0000 (22:17 -0400)]
Issue #27620: Make htest box respond to <Return> and <Escape>.
Terry Jan Reedy [Thu, 28 Jul 2016 01:42:54 +0000 (21:42 -0400)]
Issue #27620: Mark the default action button as the default.
Martin Panter [Thu, 28 Jul 2016 01:25:31 +0000 (01:25 +0000)]
Issue #27626: Further spelling fixes for 3.6
Martin Panter [Thu, 28 Jul 2016 01:30:58 +0000 (01:30 +0000)]
Issue #27626: Merge spelling fixes from 3.5
Martin Panter [Thu, 28 Jul 2016 01:30:06 +0000 (01:30 +0000)]
Issue #27490: Merge pgen cross-compile logic from 3.5
Martin Panter [Thu, 28 Jul 2016 01:28:27 +0000 (01:28 +0000)]
Issue #27490: Do not build pgen when cross-compiling
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
Martin Panter [Thu, 28 Jul 2016 01:11:04 +0000 (01:11 +0000)]
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
Victor Stinner [Wed, 27 Jul 2016 14:59:22 +0000 (16:59 +0200)]
Merge 3.5 (issue #11048)
Victor Stinner [Wed, 27 Jul 2016 14:58:47 +0000 (16:58 +0200)]
ctypes: fix CThunkObject_new()
* Initialize restype and flags fields to fix a crash when Python runs on a
read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
initialized
Issue #11048. Initial patch written by Marcin Bachry.
Berker Peksag [Wed, 27 Jul 2016 10:33:28 +0000 (13:33 +0300)]
Issue #27633: Merge from 3.5
Berker Peksag [Wed, 27 Jul 2016 10:32:54 +0000 (13:32 +0300)]
Issue #27633: Fix usage of versionchanged directive in email.parser.rst
Patch by Florian Preinstorfer.
Alexander Belopolsky [Tue, 26 Jul 2016 16:23:16 +0000 (12:23 -0400)]
Issue #24773: Fixed tests failures on systems with 32-bit time_t.
Several 32-bit systems have issues with transitions in the year
2037. This is a bug in the system C library since time_t does not
overflow until 2038, but let's skip tests starting from 2037 to work
around those bugs.
Xavier de Gaye [Tue, 26 Jul 2016 10:55:20 +0000 (12:55 +0200)]
(merge from 3.5) Issue #26662: Set PYTHON_FOR_GEN in configure
as the Python program to be used for file generation during the build.
Xavier de Gaye [Tue, 26 Jul 2016 10:48:08 +0000 (12:48 +0200)]
Issue #26662: Set PYTHON_FOR_GEN in configure
as the Python program to be used for file generation during the build.
Martin Panter [Tue, 26 Jul 2016 09:18:21 +0000 (11:18 +0200)]
Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
Martin Panter [Tue, 26 Jul 2016 06:47:09 +0000 (06:47 +0000)]
Issue #26638: Merge CLI link fix from 3.5
Martin Panter [Tue, 26 Jul 2016 06:46:06 +0000 (06:46 +0000)]
Issue #26638: Don’t link 2to3 -l option to the tarfile -l option